[d-kernel] [PATCH] Enabling support of sound chip in Steam Deck

Vitaly Chikunov vt на altlinux.org
Пт Июн 16 18:20:34 MSK 2023


From: Artyom Bystrov <arbars at altlinux.org>

Details of device: https://www.steamdeck.com/en/tech

Details of audio module ("Hardware notes" > "Audio"):
https://open-sd.gitlab.io/opensd-docs/opensd-docs/latest/hardware_notes/audio.html

This patch enabling:

 - support of Rembrandt Radeon High Definition
   Audio Controller used in Steam Deck handheld
   (https://linux-hardware.org/?id=pci:1002-1640-1e44-1776);
   
 - CPU Performance Scaling Driver for modern
   custom AMD APU in Steam Deck
   (https://github.com/torvalds/linux/blob/master/
   Documentation/admin-guide/pm/amd-pstate.rst)

Changes tested on 
Signed-off-by: Artyom Bystrov <arbars at altlinux.org>

diff --git a/config b/config
index 2ac4e729c08a..872ab6fac5c4 100644
--- a/config
+++ b/config
@@ -636,11 +636,12 @@ CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
 #
 CONFIG_X86_INTEL_PSTATE=y
 CONFIG_X86_PCC_CPUFREQ=m
+CONFIG_X86_AMD_PSTATE=y
 CONFIG_X86_ACPI_CPUFREQ=m
 CONFIG_X86_ACPI_CPUFREQ_CPB=y
 CONFIG_X86_POWERNOW_K8=m
 CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-CONFIG_X86_AMD_PSTATE=m
+# CONFIG_X86_AMD_PSTATE=m
 CONFIG_X86_SPEEDSTEP_CENTRINO=m
 CONFIG_X86_P4_CLOCKMOD=m
 
@@ -6841,6 +6842,14 @@ CONFIG_SND_SOC_AMD_RV_RT5682_MACH=m
 CONFIG_SND_SOC_AMD_RENOIR=m
 CONFIG_SND_SOC_AMD_RENOIR_MACH=m
 CONFIG_SND_SOC_AMD_ACP5x=m
+CONFIG_SND_SOC_AMD_VANGOGH_MACH=m
+CONFIG_SND_SOC_AMD_ACP6x=m
+CONFIG_SND_SOC_AMD_YC_MACH=m
+CONFIG_SND_AMD_ACP_CONFIG=m
+# CONFIG_SND_SOC_AMD_ACP_COMMON is not set
+# CONFIG_SND_SOC_AMD_RPL_ACP6x is not set
+CONFIG_SND_SOC_AMD_PS=m
+CONFIG_SND_SOC_AMD_PS_MACH=m
 # CONFIG_SND_ATMEL_SOC is not set
 CONFIG_SND_BCM63XX_I2S_WHISTLER=m
 CONFIG_SND_DESIGNWARE_I2S=m


Подробная информация о списке рассылки devel-kernel