aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/rambi/onboard.h
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2014-01-13 16:37:51 -0800
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-15 05:06:38 +0200
commit469b5205c31eeb7f58e66aaec58ef824f2e090a5 (patch)
treef762a842693b8713888e2f3dd9c5b265ebeedd9b /src/mainboard/google/rambi/onboard.h
parent59d1d87c86ff26142de23fd372fece3977a7330c (diff)
rambi: Add ACPI devices and interrupts for codec and ALS
The Codec and ALS both have interrupt sources that can be configured. The ALS kernel driver currently does not try to use it but the codec driver does for things like jack detect. ACPI Devices are added, but as with other ACPI devices the HID may need to be updated once more official strings are decided. BUG=chrome-os-partner:24380 BRANCH=baytrail TEST=manual: build and boot on rambi and check for functional lightsensor Change-Id: Ib51a2aaf32d5597926fcbe9183947e9ac53e1468 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/182366 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/5049 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/mainboard/google/rambi/onboard.h')
-rw-r--r--src/mainboard/google/rambi/onboard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/rambi/onboard.h b/src/mainboard/google/rambi/onboard.h
index 7f5d88525f..8fb7a3f5cc 100644
--- a/src/mainboard/google/rambi/onboard.h
+++ b/src/mainboard/google/rambi/onboard.h
@@ -35,5 +35,7 @@
#define BOARD_TOUCHSCREEN_I2C_ADDR 0x4a /* TODO(shawnn): Check this */
#define BOARD_I8042_IRQ GPIO_S0_DED_IRQ(I8042_IRQ_OFFSET)
+#define BOARD_CODEC_IRQ GPIO_S5_DED_IRQ(CODEC_IRQ_OFFSET)
+#define BOARD_ALS_IRQ GPIO_S0_DED_IRQ(ALS_IRQ_OFFSET)
#endif