From 130b4a29eb9f3e128183179df5d0f980c6303229 Mon Sep 17 00:00:00 2001 From: Harsha Priya Date: Thu, 24 Aug 2017 14:40:04 -0700 Subject: mb/google/{poppy,soraka,eve}: Add imon and vmon params for Max98927 codec This patch adds imon and vmon slot numbers for Maxim 98927 driver. These values are used to confiure IV feedback for audio playback on speakers. BUG=b:36724448 TEST=After boot, the register dump for Max98927 codecs should have imon and vmon slots numbers set in 0x1e register. Change-Id: I4382da4f984507d147751c168e8177b58c88a70f Signed-off-by: Harsha Priya Reviewed-on: https://review.coreboot.org/21196 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh --- src/mainboard/google/eve/devicetree.cb | 4 ++++ src/mainboard/google/poppy/variants/baseboard/devicetree.cb | 4 ++++ src/mainboard/google/poppy/variants/soraka/devicetree.cb | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'src') diff --git a/src/mainboard/google/eve/devicetree.cb b/src/mainboard/google/eve/devicetree.cb index 37e3b1e4f9..2890e52ceb 100644 --- a/src/mainboard/google/eve/devicetree.cb +++ b/src/mainboard/google/eve/devicetree.cb @@ -277,6 +277,8 @@ chip soc/intel/skylake device pci 19.2 on chip drivers/i2c/max98927 register "interleave_mode" = "1" + register "vmon_slot_no" = "4" + register "imon_slot_no" = "5" register "uid" = "0" register "desc" = ""Right Speaker Amp"" register "name" = ""MAXR"" @@ -284,6 +286,8 @@ chip soc/intel/skylake end chip drivers/i2c/max98927 register "interleave_mode" = "1" + register "vmon_slot_no" = "6" + register "imon_slot_no" = "7" register "uid" = "1" register "desc" = ""Left Speaker Amp"" register "name" = ""MAXL"" diff --git a/src/mainboard/google/poppy/variants/baseboard/devicetree.cb b/src/mainboard/google/poppy/variants/baseboard/devicetree.cb index 6aba677ea2..5b81fc0d49 100644 --- a/src/mainboard/google/poppy/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/poppy/variants/baseboard/devicetree.cb @@ -325,6 +325,8 @@ chip soc/intel/skylake device pci 19.1 on chip drivers/i2c/max98927 register "interleave_mode" = "1" + register "vmon_slot_no" = "4" + register "imon_slot_no" = "5" register "uid" = "0" register "desc" = ""SSM4567 Right Speaker Amp"" register "name" = ""MAXR"" @@ -332,6 +334,8 @@ chip soc/intel/skylake end chip drivers/i2c/max98927 register "interleave_mode" = "1" + register "vmon_slot_no" = "6" + register "imon_slot_no" = "7" register "uid" = "1" register "desc" = ""SSM4567 Left Speaker Amp"" register "name" = ""MAXL"" diff --git a/src/mainboard/google/poppy/variants/soraka/devicetree.cb b/src/mainboard/google/poppy/variants/soraka/devicetree.cb index 87e4b836e7..de3b231061 100644 --- a/src/mainboard/google/poppy/variants/soraka/devicetree.cb +++ b/src/mainboard/google/poppy/variants/soraka/devicetree.cb @@ -308,6 +308,8 @@ chip soc/intel/skylake device pci 19.1 on chip drivers/i2c/max98927 register "interleave_mode" = "1" + register "vmon_slot_no" = "4" + register "imon_slot_no" = "5" register "uid" = "0" register "desc" = ""SSM4567 Right Speaker Amp"" register "name" = ""MAXR"" @@ -315,6 +317,8 @@ chip soc/intel/skylake end chip drivers/i2c/max98927 register "interleave_mode" = "1" + register "vmon_slot_no" = "6" + register "imon_slot_no" = "7" register "uid" = "1" register "desc" = ""SSM4567 Left Speaker Amp"" register "name" = ""MAXL"" -- cgit v1.2.3