diff options
author | Sathyanarayana Nujella <sathyanarayana.nujella@intel.com> | 2018-01-19 10:23:05 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-02-22 09:57:30 +0000 |
commit | 206821ee2f4ecae68fb292d0075bb82acac0c8bb (patch) | |
tree | 7a597f1bf56bd1fee104c0c050efd4d2b0153af2 /src/mainboard/google/zoombini/variants/meowth/devicetree.cb | |
parent | 416ded8dc19ed91440536b4eac0d6fc5af60365a (diff) |
mainboard/google/zoombini: Add config for meowth audio
Add NHLT and dt support for meowth with max98373 amp.
BUG=b:71724897
TEST='emerge-meowth coreboot' compiles correctly
TEST=check SSDT and verify entries for max98373
TEST=check NHLT ACPI tables included blobs for max98373
Change-Id: Ic89bf669c7ab2ef39ce64e4da6a57a7069ee75f9
Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Signed-off-by: Lijian Zhao <lijian.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/23334
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Diffstat (limited to 'src/mainboard/google/zoombini/variants/meowth/devicetree.cb')
-rw-r--r-- | src/mainboard/google/zoombini/variants/meowth/devicetree.cb | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/src/mainboard/google/zoombini/variants/meowth/devicetree.cb b/src/mainboard/google/zoombini/variants/meowth/devicetree.cb index 80bb1379ea..796b816274 100644 --- a/src/mainboard/google/zoombini/variants/meowth/devicetree.cb +++ b/src/mainboard/google/zoombini/variants/meowth/devicetree.cb @@ -60,6 +60,10 @@ chip soc/intel/cannonlake .fall_time_ns = 38, }" + register "PchHdaDspEnable" = "1" + register "PchHdaAudioLinkSsp0" = "1" + register "PchHdaAudioLinkSsp1" = "1" + device domain 0 on device pci 00.0 on end # Host Bridge device pci 02.0 on end # Integrated Graphics Device @@ -81,8 +85,25 @@ chip soc/intel/cannonlake end end # I2C #0 device pci 15.1 on end # I2C #1 - device pci 15.2 on end # I2C #2 - device pci 15.3 on end # I2C #3 + device pci 15.2 on end # I2C #2 + device pci 15.3 on + chip drivers/i2c/max98373 + register "vmon_slot_no" = "4" + register "imon_slot_no" = "5" + register "uid" = "0" + register "desc" = ""RIGHT SPEAKER AMP"" + register "name" = ""MAXR"" + device i2c 31 on end + end + chip drivers/i2c/max98373 + register "vmon_slot_no" = "6" + register "imon_slot_no" = "7" + register "uid" = "1" + register "desc" = ""LEFT SPEAKER AMP"" + register "name" = ""MAXL"" + device i2c 32 on end + end + end # I2C #3 device pci 16.0 on end # Management Engine Interface 1 device pci 16.1 off end # Management Engine Interface 2 device pci 16.2 off end # Management Engine IDE-R |