Commit 7ff48974 authored by Adrian Pistol's avatar Adrian Pistol
Browse files

linux/common-config: Enable PWM support

Necessary to support the backlight on the GPD Pocket, GPD Win and several other devices.
parent 42cebbe5
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;