mb/google/brya: 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 banshee and osiris variants, verify audio functional under Windows using coolstar's SOF drivers. Change-Id: I12614b85f9779cc40d83a9c868cc46b110f26af6 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74817 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:
parent
35470e1604
commit
3f3dc504e9
@ -42,6 +42,7 @@ config BOARD_GOOGLE_BASEBOARD_BRYA
|
|||||||
def_bool n
|
def_bool n
|
||||||
select BOARD_GOOGLE_BRYA_COMMON
|
select BOARD_GOOGLE_BRYA_COMMON
|
||||||
select BOARD_ROMSIZE_KB_32768
|
select BOARD_ROMSIZE_KB_32768
|
||||||
|
select DRIVERS_AUDIO_SOF
|
||||||
select HAVE_SLP_S0_GATE
|
select HAVE_SLP_S0_GATE
|
||||||
select MEMORY_SOLDERDOWN if !BOARD_GOOGLE_BANSHEE
|
select MEMORY_SOLDERDOWN if !BOARD_GOOGLE_BANSHEE
|
||||||
select SOC_INTEL_ALDERLAKE_PCH_P
|
select SOC_INTEL_ALDERLAKE_PCH_P
|
||||||
|
@ -275,6 +275,12 @@ chip soc/intel/alderlake
|
|||||||
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" = "max98360a"
|
||||||
|
register "jack_tplg" = "rt5682"
|
||||||
|
register "mic_tplg" = "_2ch_pdm1"
|
||||||
|
device generic 0 on end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
device ref gspi1 off end
|
device ref gspi1 off end
|
||||||
device ref pch_espi on
|
device ref pch_espi on
|
||||||
|
@ -196,6 +196,13 @@ chip soc/intel/alderlake
|
|||||||
device pnp 0c09.0 on end
|
device pnp 0c09.0 on end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
device ref hda on end
|
device ref hda on
|
||||||
|
chip drivers/sof
|
||||||
|
register "spkr_tplg" = "max98360a"
|
||||||
|
register "jack_tplg" = "rt5682"
|
||||||
|
register "mic_tplg" = "_2ch_pdm0"
|
||||||
|
device generic 0 on end
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -316,6 +316,12 @@ chip soc/intel/alderlake
|
|||||||
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" = "max98360a"
|
||||||
|
register "jack_tplg" = "rt5682"
|
||||||
|
register "mic_tplg" = "_2ch_pdm1"
|
||||||
|
device generic 0 on end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
device ref pch_espi on
|
device ref pch_espi on
|
||||||
chip ec/google/chromeec
|
chip ec/google/chromeec
|
||||||
|
@ -558,5 +558,13 @@ chip soc/intel/alderlake
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
device ref hda on
|
||||||
|
chip drivers/sof
|
||||||
|
register "spkr_tplg" = "max98373"
|
||||||
|
register "jack_tplg" = "nau8825"
|
||||||
|
register "mic_tplg" = "_2ch_pdm0"
|
||||||
|
device generic 0 on end
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -243,6 +243,12 @@ chip soc/intel/alderlake
|
|||||||
probe AUDIO MAX98360_NAU88L25B_I2S
|
probe AUDIO MAX98360_NAU88L25B_I2S
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
chip drivers/sof
|
||||||
|
register "spkr_tplg" = "max98360a"
|
||||||
|
register "jack_tplg" = "nau8825"
|
||||||
|
register "mic_tplg" = "_2ch_pdm0"
|
||||||
|
device generic 0 on end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
device ref pcie_rp6 off end # PCIE6 WWAN
|
device ref pcie_rp6 off end # PCIE6 WWAN
|
||||||
device ref pcie_rp7 on
|
device ref pcie_rp7 on
|
||||||
|
@ -506,6 +506,12 @@ chip soc/intel/alderlake
|
|||||||
probe AUDIO AUDIO_MAX98357_ALC5682I_VS_I2S
|
probe AUDIO AUDIO_MAX98357_ALC5682I_VS_I2S
|
||||||
end
|
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
|
device ref pcie_rp5 on
|
||||||
chip soc/intel/common/block/pcie/rtd3
|
chip soc/intel/common/block/pcie/rtd3
|
||||||
|
@ -368,6 +368,12 @@ chip soc/intel/alderlake
|
|||||||
probe AUDIO AUDIO_MAX98357_ALC5682I_VS_I2S
|
probe AUDIO AUDIO_MAX98357_ALC5682I_VS_I2S
|
||||||
end
|
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
|
device ref pcie_rp5 on
|
||||||
chip soc/intel/common/block/pcie/rtd3
|
chip soc/intel/common/block/pcie/rtd3
|
||||||
|
@ -322,6 +322,12 @@ chip soc/intel/alderlake
|
|||||||
probe AUDIO AUDIO_MAX98357_ALC5682I_I2S_2WAY
|
probe AUDIO AUDIO_MAX98357_ALC5682I_I2S_2WAY
|
||||||
end
|
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
|
device ref pcie_rp5 on
|
||||||
chip soc/intel/common/block/pcie/rtd3
|
chip soc/intel/common/block/pcie/rtd3
|
||||||
|
@ -420,5 +420,13 @@ chip soc/intel/alderlake
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
device ref hda on
|
||||||
|
chip drivers/sof
|
||||||
|
register "spkr_tplg" = "max98373"
|
||||||
|
register "jack_tplg" = "nau8825"
|
||||||
|
register "mic_tplg" = "_2ch_pdm0"
|
||||||
|
device generic 0 on end
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user