summarylogtreecommitdiffstats
path: root/config-neptune
blob: ced3ba616e13a0a347db975984f1d1c909cfbdd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
##
## Neptune stuff
##

#
# Disable Radeon, SI and CIK support since not required for Vangogh GPU
#
# CONFIG_DRM_AMDGPU_CIK is not set
# CONFIG_DRM_AMDGPU_SI is not set
# CONFIG_DRM_RADEON is not set

# Doesn't build on latest tag, not used in neptune hardware (?)
CONFIG_SND_SOC_CS35L36=n
# Update this to =y to workaround initialization issues and deadlocks when loaded as module
# The cs35l41 / acp5x drivers in EV2 fail IRQ initialization with this set to =y, changed back
CONFIG_SPI_AMD=m
CONFIG_I2C_AMD=m

# Works around issues with the touchscreen driver
CONFIG_PINCTRL_AMD=y
CONFIG_SND_SOC_AMD_ACP5x=m
CONFIG_SND_SOC_AMD_VANGOGH_MACH=m
CONFIG_SND_SOC_WM_ADSP=m
CONFIG_SND_SOC_CS35L41=m
CONFIG_SND_SOC_CS35L41_SPI=m
CONFIG_SND_SOC_NAU8821=m
CONFIG_SND_SOC_MAX98388=m

CONFIG_SND_SOC_AMD_ACP3x=n
CONFIG_SND_SOC_AMD_RV_RT5682_MACH=n
CONFIG_SND_SOC_AMD_RENOIR=n
CONFIG_SND_SOC_AMD_RENOIR_MACH=n

CONFIG_SND_SOC_AMD_ACP6x=n
CONFIG_SND_SOC_AMD_YC_MACH=n
CONFIG_SND_AMD_ACP_CONFIG=m
CONFIG_SND_SOC_AMD_ACP_COMMON=m
CONFIG_SND_SOC_AMD_ACP_PDM=n
CONFIG_SND_SOC_AMD_ACP_I2S=n
CONFIG_SND_SOC_AMD_ACP_PCM=n
CONFIG_SND_SOC_AMD_ACP_PCI=n
CONFIG_SND_AMD_ASOC_RENOIR=n
CONFIG_SND_AMD_ASOC_REMBRANDT=n
CONFIG_SND_SOC_AMD_MACH_COMMON=m
CONFIG_SND_SOC_AMD_LEGACY_MACH=n

CONFIG_SND_SOC_AMD_SOF_MACH=m
CONFIG_SND_SOC_AMD_RPL_ACP6x=n
CONFIG_SND_SOC_AMD_PS=n
CONFIG_SND_SOC_AMD_PS_MACH=n

CONFIG_SND_SOC_SOF=m
CONFIG_SND_SOC_SOF_PROBE_WORK_QUEUE=y
CONFIG_SND_SOC_SOF_IPC3=y
CONFIG_SND_SOC_SOF_INTEL_IPC4=y

CONFIG_SND_SOC_SOF_AMD_TOPLEVEL=m
CONFIG_SND_SOC_SOF_AMD_COMMON=m
CONFIG_SND_SOC_SOF_AMD_RENOIR=n
CONFIG_SND_SOC_SOF_AMD_REMBRANDT=n
CONFIG_SND_SOC_SOF_AMD_VANGOGH=m

# SOF sound debugging
#CONFIG_SND_SOC_SOF_DEBUG=y
#CONFIG_SND_SOC_SOF_DEBUG_ENABLE_FIRMWARE_TRACE=y
#CONFIG_SND_SOC_SOF_DEVELOPER_SUPPORT=y

# Steam Deck HID driver
CONFIG_HID_STEAM=m
CONFIG_STEAM_FF=y

# Enable Ambient Light Sensor
CONFIG_LTRF216A=m

# Enable Steam Deck MFD driver, replaces Jupiter ACPI platform driver (CONFIG_JUPITER)
CONFIG_MFD_STEAMDECK=m
CONFIG_EXTCON_STEAMDECK=m
CONFIG_LEDS_STEAMDECK=m
CONFIG_SENSORS_STEAMDECK=m

# Enable support for AMDGPU color calibration features
CONFIG_DRM_AMD_COLOR_STEAMDECK=y

# PARAVIRT options have overhead, even on bare metal boots. They can cause
# spinlocks to not be inlined as well. Either way, we don't intend to run this
# kernel as a guest, so this also clears out a whole bunch of
# virtualization-specific drivers.
CONFIG_HYPERVISOR_GUEST=n

# Disable some options enabled in ArchLinux 6.1.12-arch1 config
CONFIG_X86_AMD_PSTATE=n
CONFIG_HAVE_RUST=n

# Build as module to experiment with toggling
CONFIG_TCG_TPM=m

# Per Colin at Quectel
CONFIG_CFG80211_CERTIFICATION_ONUS=y
CONFIG_ATH_REG_DYNAMIC_USER_REG_HINTS=y

# Enable support for AMDGPU color calibration features
CONFIG_DRM_AMD_COLOR_STEAMDECK=y

# Enable ath11k tracing for wifi debugging
CONFIG_ATH11K_TRACING=y

# Disable simple-framebuffer to fix logo regression
CONFIG_SYSFB_SIMPLEFB=n

# Disable call depth tracking speculative execution vulnerability mitigation
CONFIG_CALL_DEPTH_TRACKING=n