Unverified Commit 274e6aa0 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

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

linux/common-config: Enable PWM support
parents 866e36b5 7ff48974
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;