mb/google/volteer: Add SOF chip driver
Add SOF chip driver entries for all variants, so that the correct audio config is passed to the OS drivers. TEST=build, boot Windows on several volteer variants, verify audio functional under Windows using coolstar's SOF drivers. Change-Id: I62a96149cec9eeb7b2da8a2337083969a1b0fce0 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74816 Reviewed-by: CoolStar <coolstarorganization@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
This commit is contained in:
committed by
Matt DeVillier
parent
3f3dc504e9
commit
8e883c11b4
@@ -1,6 +1,7 @@
|
||||
config BOARD_GOOGLE_BASEBOARD_VOLTEER
|
||||
def_bool n
|
||||
select BOARD_ROMSIZE_KB_32768
|
||||
select DRIVERS_AUDIO_SOF
|
||||
select DRIVERS_GENERIC_GPIO_KEYS
|
||||
select DRIVERS_GENERIC_MAX98357A
|
||||
select DRIVERS_GENESYSLOGIC_GL9763E
|
||||
|
@@ -521,5 +521,13 @@ chip soc/intel/tigerlake
|
||||
device pnp 0c09.0 on end
|
||||
end
|
||||
end
|
||||
device ref hda on
|
||||
chip drivers/sof
|
||||
register "spkr_tplg" = "max98373"
|
||||
register "jack_tplg" = "rt5682"
|
||||
register "mic_tplg" = "_2ch_pdm0"
|
||||
device generic 0 on end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@@ -271,6 +271,12 @@ chip soc/intel/tigerlake
|
||||
register "sdmode_delay" = "5"
|
||||
device generic 0 on end
|
||||
end
|
||||
chip drivers/sof
|
||||
register "spkr_tplg" = "max98357a"
|
||||
register "jack_tplg" = "rt5682"
|
||||
register "mic_tplg" = "_2ch_pdm0"
|
||||
device generic 0 on end
|
||||
end
|
||||
end
|
||||
device ref pcie_rp5 on end
|
||||
device ref pmc hidden
|
||||
|
@@ -203,6 +203,12 @@ chip soc/intel/tigerlake
|
||||
register "sdmode_delay" = "5"
|
||||
device generic 0 on end
|
||||
end
|
||||
chip drivers/sof
|
||||
register "spkr_tplg" = "max98357a"
|
||||
register "jack_tplg" = "rt5682"
|
||||
register "mic_tplg" = "_2ch_pdm1"
|
||||
device generic 0 on end
|
||||
end
|
||||
end
|
||||
device ref pmc hidden
|
||||
# The pmc_mux chip driver is a placeholder for the
|
||||
|
@@ -272,6 +272,12 @@ chip soc/intel/tigerlake
|
||||
register "sdmode_delay" = "5"
|
||||
device generic 0 on end
|
||||
end
|
||||
chip drivers/sof
|
||||
register "spkr_tplg" = "max98357a"
|
||||
register "jack_tplg" = "rt5682"
|
||||
register "mic_tplg" = "_2ch_pdm0"
|
||||
device generic 0 on end
|
||||
end
|
||||
end
|
||||
device ref pcie_rp5 on end
|
||||
device ref pmc hidden
|
||||
|
@@ -276,6 +276,12 @@ chip soc/intel/tigerlake
|
||||
probe AUDIO MAX98373_ALC5682I_I2S_UP4
|
||||
probe AUDIO MAX98360_ALC5682I_I2S
|
||||
probe AUDIO RT1011_ALC5682I_I2S
|
||||
chip drivers/sof
|
||||
register "spkr_tplg" = "rt1011"
|
||||
register "jack_tplg" = "rt5682"
|
||||
register "mic_tplg" = "_2ch_pdm0"
|
||||
device generic 0 on end
|
||||
end
|
||||
end
|
||||
device ref pcie_rp9 on
|
||||
chip soc/intel/common/block/pcie/rtd3
|
||||
|
Reference in New Issue
Block a user