rambi: Add ACPI devices and interrupts for codec and ALS

Hardware / Coreboot - Duncan Laurie [chromium.org] - 14 May 2014 22:06 UTC

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

469b520 rambi: Add ACPI devices and interrupts for codec and ALS
src/mainboard/google/rambi/acpi/mainboard.asl | 80 +++++++++++++++++++++++++
src/mainboard/google/rambi/gpio.c | 6 +-
src/mainboard/google/rambi/irqroute.h | 7 +++
src/mainboard/google/rambi/onboard.h | 2 +
4 files changed, 93 insertions(+), 2 deletions(-)

Upstream: review.coreboot.org


  • Share