Sathya Prakash M R has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33932
Change subject: mb/google/helios: Add ALC1011 in Device tree ......................................................................
mb/google/helios: Add ALC1011 in Device tree
Following changes are done to enable ALC1011 codec on Helios 1. ACL1011 4 devices to I2C4 2. Invert GPIO H3 as required for SPKR_PA_EN 3. GPIO H13 is NC as per recommendation Verified SSDT table and i2cdetect from kernel
Signed-off-by: Naveen Manohar naveen.m@intel.com
Change-Id: I0d71e3bd2d4493d059a33023c1afe1b630181d4f Signed-off-by: Sathya Prakash M R sathya.prakash.m.r@intel.com --- M src/mainboard/google/hatch/variants/helios/gpio.c M src/mainboard/google/hatch/variants/helios/overridetree.cb 2 files changed, 38 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/33932/1
diff --git a/src/mainboard/google/hatch/variants/helios/gpio.c b/src/mainboard/google/hatch/variants/helios/gpio.c index 4353fc0..7a35053 100644 --- a/src/mainboard/google/hatch/variants/helios/gpio.c +++ b/src/mainboard/google/hatch/variants/helios/gpio.c @@ -87,8 +87,8 @@ PAD_NC(GPP_H4, NONE), /* H5 : I2C2_SCL ==> NC */ PAD_NC(GPP_H5, NONE), - /* H13 : M2_SKT2_CFG1 ==> SPKR_RST_L */ - PAD_CFG_GPO(GPP_H13, 0, PLTRST), + /* H13 : M2_SKT2_CFG1 ==> NC*/ + PAD_NC(GPP_H13, NONE), /* H14 : M2_SKT2_CFG2 ==> TOUCHSCREEN_STOP_L */ PAD_CFG_GPO(GPP_H14, 0, PLTRST), /* H19 : TIMESYNC[0] ==> MEM_STRAP_0 */ diff --git a/src/mainboard/google/hatch/variants/helios/overridetree.cb b/src/mainboard/google/hatch/variants/helios/overridetree.cb index 405f85f..2086b7e 100644 --- a/src/mainboard/google/hatch/variants/helios/overridetree.cb +++ b/src/mainboard/google/hatch/variants/helios/overridetree.cb @@ -124,6 +124,42 @@ register "property_list[0].integer" = "1" device i2c 1a on end end + chip drivers/i2c/generic + register "hid" = ""10EC1011"" + register "desc" = ""RT1011 Tweeter Left Speaker Amp"" + register "uid" = "0" + register "name" = ""TL"" + register "device_present_gpio" = "GPP_H3" + register "device_present_gpio_invert" = "1" + device i2c 38 on end + end + chip drivers/i2c/generic + register "hid" = ""10EC1011"" + register "desc" = ""RT1011 Tweeter Right Speaker Amp"" + register "uid" = "1" + register "name" = ""TR"" + register "device_present_gpio" = "GPP_H3" + register "device_present_gpio_invert" = "1" + device i2c 39 on end + end + chip drivers/i2c/generic + register "hid" = ""10EC1011"" + register "desc" = ""RT1011 Woofer Left Speaker Amp"" + register "uid" = "2" + register "name" = ""WL"" + register "device_present_gpio" = "GPP_H3" + register "device_present_gpio_invert" = "1" + device i2c 3a on end + end + chip drivers/i2c/generic + register "hid" = ""10EC1011"" + register "desc" = ""RT1011 Woofer Right Speaker Amp"" + register "uid" = "3" + register "name" = ""WR"" + register "device_present_gpio" = "GPP_H3" + register "device_present_gpio_invert" = "1" + device i2c 3b on end + end end #I2C #4 end end