diff options
author | vsujithk <vsujithk@codeaurora.org> | 2020-01-27 17:47:31 +0530 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2020-05-14 23:29:06 +0000 |
commit | e8ee6f975b255c41102d1549ebdb69cfb2aa7850 (patch) | |
tree | f17bc30af8b92f7bd26ad4030eb664cdda17a86e /src/mainboard/google/trogdor/chromeos.c | |
parent | cd6804cd16630ce672df7d8e52b7b4c628e4a3da (diff) | |
download | coreboot-e8ee6f975b255c41102d1549ebdb69cfb2aa7850.tar.xz |
sc7180: GPIO: Add I2S configuration for sc7180
Configuring GPIO Pins as I2S mode for Audio speaker.
Change-Id: I681aa6d0d57671b0fd9b7bc88de6f2cc202a7af0
Signed-off-by: V Sujith Kumar Reddy <vsujithk@codeaurora.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38593
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/google/trogdor/chromeos.c')
-rw-r--r-- | src/mainboard/google/trogdor/chromeos.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/trogdor/chromeos.c b/src/mainboard/google/trogdor/chromeos.c index 985ba0f85e..324d6ca8b9 100644 --- a/src/mainboard/google/trogdor/chromeos.c +++ b/src/mainboard/google/trogdor/chromeos.c @@ -28,6 +28,10 @@ void fill_lb_gpios(struct lb_gpios *gpios) "EC interrupt"}, {GPIO_H1_AP_INT.addr, ACTIVE_LOW, gpio_get(GPIO_H1_AP_INT), "TPM interrupt"}, + {GPIO_SD_CD_L.addr, ACTIVE_LOW, gpio_get(GPIO_SD_CD_L), + "SD card detect"}, + {GPIO_AMP_ENABLE.addr, ACTIVE_HIGH, gpio_get(GPIO_AMP_ENABLE), + "speaker enable"}, }; lb_add_gpios(gpios, chromeos_gpios, ARRAY_SIZE(chromeos_gpios)); |