Rizwan Qureshi (rizwan.qureshi@intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18215
-gerrit
commit 3e0a98382022b86c03b8adab1e91ad7e28daf9aa Author: Rizwan Qureshi rizwan.qureshi@intel.com Date: Fri Jan 13 22:22:42 2017 +0530
mainboard/google/poppy: Enable Maxim 98927 codec
Enable Maxim 98927 codec i2c device and add required SSDT parameters.
BUG=None BRANCH=None TEST=with required driver support in kernel verfy audio on poppy on-board speakers.
Change-Id: Id731de42d77204d59f32ac4c33a245837d6e2107 Signed-off-by: Rizwan Qureshi rizwan.qureshi@intel.com --- src/mainboard/google/poppy/Kconfig | 3 +++ src/mainboard/google/poppy/devicetree.cb | 25 ++++++++++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig index e889e01..42fdf25 100644 --- a/src/mainboard/google/poppy/Kconfig +++ b/src/mainboard/google/poppy/Kconfig @@ -20,6 +20,9 @@ config CHROMEOS config DRIVERS_I2C_GENERIC def_bool y
+config DRIVERS_I2C_MAX98927 + def_bool y + config GBB_HWID string depends on CHROMEOS diff --git a/src/mainboard/google/poppy/devicetree.cb b/src/mainboard/google/poppy/devicetree.cb index a9e0cef..25d63ae 100644 --- a/src/mainboard/google/poppy/devicetree.cb +++ b/src/mainboard/google/poppy/devicetree.cb @@ -216,7 +216,30 @@ chip soc/intel/skylake device pci 16.4 off end # Management Engine Interface 3 device pci 17.0 off end # SATA device pci 19.0 on end # UART #2 - device pci 19.1 on end # I2C #5 + device pci 19.1 on + chip drivers/i2c/max98927 + register "interleave_mode" = "1" + register "reg" = "0x3A" + register "sub_reg" = "0x39" + register "regcfg" = "{ + 0, 0x1c, 0xfe, + 0, 0x1e, 0x00, + 0, 0x24, 0x85, + 0, 0x25, 0x85, + 0, 0x36, 0x03, + 0, 0x37, 0x03, + 0, 0x3C, 0x05, + 1, 0x1c, 0xfd, + 1, 0x1e, 0x11, + 1, 0x24, 0x85, + 1, 0x25, 0x40, + 1, 0x36, 0x38, + 1, 0x37, 0x03, + 1, 0x3C, 0x05 + }" + device i2c 3A on end + end + end # I2C #5 device pci 19.2 on end # I2C #4 device pci 1c.0 on chip drivers/intel/wifi