linux/common-config: Enable PWM support

Necessary to support the backlight on the GPD Pocket, GPD Win and several other devices.
This commit is contained in:
Adrian Pistol 2024-03-25 13:18:44 +01:00
parent 42cebbe5d8
commit 7ff4897414
1 changed files with 3 additions and 0 deletions

View File

@ -126,6 +126,9 @@ let
# GPIO power management
POWER_RESET_GPIO = option yes;
POWER_RESET_GPIO_RESTART = option yes;
# Enable Pulse-Width-Modulation support, commonly used for fan and backlight.
PWM = yes;
} // optionalAttrs (stdenv.hostPlatform.isx86) {
INTEL_IDLE = yes;
INTEL_RAPL = whenAtLeast "5.3" module;