Merge pull request #298905 from vifino/kernel-pwm-support

linux/common-config: Enable PWM support
This commit is contained in:
Pol Dellaiera 2024-04-07 20:24:50 +02:00 committed by GitHub
commit 274e6aa01f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;