Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

native: enable GPIOLIB + Intel pinctrl for MAX98360A amp enable

Audio card now registers (sof-rt5682 + HP-Drawman-rev13-Drawcia) and
ac-native opens hw:0,0 at 48000Hz after the I2C_DESIGNWARE fix — but
the speakers are silent because the MAX98360A amp's SD_MODE enable is
a GPIO, and the kernel had no GPIO framework at all. Without GPIOLIB
the amp driver still loads but it never gets to toggle the pin high,
so the amp stays in power-down mode and nothing reaches the drivers.

Enable GPIOLIB + Intel pinctrl for every Intel generation we might
boot on (Bay/Cherry/Sunrise/Gemini/Elkhart/Jasper/Tiger/Alder/Meteor/
Lunar/Panther). Same story applies to touchpads, rfkill switches,
EC-controlled keyboard backlights, etc. — GPIOs are the connective
tissue of every modern x86 laptop.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+24 -1
+24 -1
fedac/native/kernel/config-minimal
··· 2239 2239 # end of PTP clock support 2240 2240 2241 2241 # CONFIG_PINCTRL is not set 2242 - # CONFIG_GPIOLIB is not set 2242 + # GPIO framework + Intel pinctrl drivers for Jasper Lake / Tiger Lake / Alder 2243 + # Lake / Meteor Lake. Required for MAX98360A speaker amp (its SD_MODE enable 2244 + # is a GPIO — without GPIOLIB the amp stays powered down and speakers are 2245 + # silent even though the sound card registers cleanly). Also needed for 2246 + # ChromeOS EC, touchpads, RF-kill switches, and anything else that uses 2247 + # GPIO-backed ACPI resources, which is most modern laptops. 2248 + CONFIG_GPIOLIB=y 2249 + CONFIG_GPIOLIB_IRQCHIP=y 2250 + CONFIG_GPIO_ACPI=y 2251 + CONFIG_GPIO_SYSFS=y 2252 + CONFIG_PINCTRL=y 2253 + CONFIG_PINCTRL_INTEL=y 2254 + CONFIG_PINCTRL_INTEL_PLATFORM=y 2255 + CONFIG_PINCTRL_BAYTRAIL=y 2256 + CONFIG_PINCTRL_CHERRYVIEW=y 2257 + CONFIG_PINCTRL_SUNRISEPOINT=y 2258 + CONFIG_PINCTRL_GEMINILAKE=y 2259 + CONFIG_PINCTRL_ELKHARTLAKE=y 2260 + CONFIG_PINCTRL_JASPERLAKE=y 2261 + CONFIG_PINCTRL_TIGERLAKE=y 2262 + CONFIG_PINCTRL_ALDERLAKE=y 2263 + CONFIG_PINCTRL_METEORLAKE=y 2264 + CONFIG_PINCTRL_LUNARLAKE=y 2265 + CONFIG_PINCTRL_PANTHERLAKE=y 2243 2266 # CONFIG_W1 is not set 2244 2267 # CONFIG_POWER_RESET is not set 2245 2268 # CONFIG_POWER_SEQUENCING is not set