summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsha Priya <harshapriya.n@intel.com>2017-08-24 14:40:04 -0700
committerFurquan Shaikh <furquan@google.com>2017-09-06 19:00:52 +0000
commit130b4a29eb9f3e128183179df5d0f980c6303229 (patch)
tree8b0f1f70bfbfac6ae0d0fa970a0cf5e0b9019995
parent151773571440de1e42e5430a2749ef207008cf26 (diff)
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 <harshapriya.n@intel.com> Reviewed-on: https://review.coreboot.org/21196 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r--src/mainboard/google/eve/devicetree.cb4
-rw-r--r--src/mainboard/google/poppy/variants/baseboard/devicetree.cb4
-rw-r--r--src/mainboard/google/poppy/variants/soraka/devicetree.cb4
3 files changed, 12 insertions, 0 deletions
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""