about summary refs log tree commit diff
path: root/modules/hardware/t100ha/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hardware/t100ha/default.nix')
-rw-r--r--modules/hardware/t100ha/default.nix23
1 files changed, 10 insertions, 13 deletions
diff --git a/modules/hardware/t100ha/default.nix b/modules/hardware/t100ha/default.nix
index 00c8a096..8d8756f4 100644
--- a/modules/hardware/t100ha/default.nix
+++ b/modules/hardware/t100ha/default.nix
@@ -19,18 +19,9 @@ in {
       $install "$params" "$out/lib/firmware/brcm/brcmfmac43340-sdio.txt"
     '');
 
-    boot.kernelPatches = [
-      { name = "backlight";
-        patch = ./backlight.patch;
-      }
-      { name = "meta-keys";
-        patch = ./meta-keys.patch;
-      }
-    ];
-
     boot.kernelPackages = let
       nixpkgs = import ../../../nixpkgs-path.nix;
-      t100haKernel = pkgs.vuizvui.linux_4_12.override {
+      t100haKernel = pkgs.linux_testing.override {
         # Missing device drivers:
         #
         #   808622B8 -> Intel(R) Imaging Signal Processor 2401
@@ -55,14 +46,20 @@ in {
           MFD_AXP20X y
           MFD_AXP20X_I2C y
 
+          # Backlight
+          PWM y
+          PWM_SYSFS y
+          PWM_CRC y
+          GPIO_CRYSTAL_COVE y
+
           # GPU
           AGP n
           DRM y
-          DRM_I915 y
+          DRM_I915 m
 
           # Thermal
-          INT3406_THERMAL y
-          INT340X_THERMAL y
+          INT3406_THERMAL m
+          INT340X_THERMAL m
 
           # GPIO
           PINCTRL_CHERRYVIEW y