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>
This commit is contained in:
Harsha Priya 2017-08-24 14:40:04 -07:00 committed by Furquan Shaikh
parent 1517735714
commit 130b4a29eb
3 changed files with 12 additions and 0 deletions

View File

@ -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""

View File

@ -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""

View File

@ -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""