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:
Matt DeVillier 2023-01-17 12:20:38 -06:00 committed by Matt DeVillier
parent 3f3dc504e9
commit 8e883c11b4
6 changed files with 33 additions and 0 deletions

View file

@ -1,6 +1,7 @@
config BOARD_GOOGLE_BASEBOARD_VOLTEER config BOARD_GOOGLE_BASEBOARD_VOLTEER
def_bool n def_bool n
select BOARD_ROMSIZE_KB_32768 select BOARD_ROMSIZE_KB_32768
select DRIVERS_AUDIO_SOF
select DRIVERS_GENERIC_GPIO_KEYS select DRIVERS_GENERIC_GPIO_KEYS
select DRIVERS_GENERIC_MAX98357A select DRIVERS_GENERIC_MAX98357A
select DRIVERS_GENESYSLOGIC_GL9763E select DRIVERS_GENESYSLOGIC_GL9763E

View file

@ -521,5 +521,13 @@ chip soc/intel/tigerlake
device pnp 0c09.0 on end device pnp 0c09.0 on end
end 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
end end

View file

@ -271,6 +271,12 @@ chip soc/intel/tigerlake
register "sdmode_delay" = "5" register "sdmode_delay" = "5"
device generic 0 on end device generic 0 on end
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 end
device ref pcie_rp5 on end device ref pcie_rp5 on end
device ref pmc hidden device ref pmc hidden

View file

@ -203,6 +203,12 @@ chip soc/intel/tigerlake
register "sdmode_delay" = "5" register "sdmode_delay" = "5"
device generic 0 on end device generic 0 on end
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 end
device ref pmc hidden device ref pmc hidden
# The pmc_mux chip driver is a placeholder for the # The pmc_mux chip driver is a placeholder for the

View file

@ -272,6 +272,12 @@ chip soc/intel/tigerlake
register "sdmode_delay" = "5" register "sdmode_delay" = "5"
device generic 0 on end device generic 0 on end
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 end
device ref pcie_rp5 on end device ref pcie_rp5 on end
device ref pmc hidden device ref pmc hidden

View file

@ -276,6 +276,12 @@ chip soc/intel/tigerlake
probe AUDIO MAX98373_ALC5682I_I2S_UP4 probe AUDIO MAX98373_ALC5682I_I2S_UP4
probe AUDIO MAX98360_ALC5682I_I2S probe AUDIO MAX98360_ALC5682I_I2S
probe AUDIO RT1011_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 end
device ref pcie_rp9 on device ref pcie_rp9 on
chip soc/intel/common/block/pcie/rtd3 chip soc/intel/common/block/pcie/rtd3