summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/common-config.nix
diff options
context:
space:
mode:
authorJustin Sleep <justin@midnightmechanism.com>2021-10-27 18:36:36 -0500
committerJustin Sleep <justin@midnightmechanism.com>2021-10-28 11:53:14 -0500
commit64ae39682976c0d3816a5678a7a7a08591ec4292 (patch)
treec8c2e9563c2e85920ab56219e144053c300f4f75 /pkgs/os-specific/linux/kernel/common-config.nix
parent850251213a9df6a2f645de43e7e9b4cc6f376cf6 (diff)
downloadnixpkgs-64ae39682976c0d3816a5678a7a7a08591ec4292.tar
nixpkgs-64ae39682976c0d3816a5678a7a7a08591ec4292.tar.gz
nixpkgs-64ae39682976c0d3816a5678a7a7a08591ec4292.tar.bz2
nixpkgs-64ae39682976c0d3816a5678a7a7a08591ec4292.tar.lz
nixpkgs-64ae39682976c0d3816a5678a7a7a08591ec4292.tar.xz
nixpkgs-64ae39682976c0d3816a5678a7a7a08591ec4292.tar.zst
nixpkgs-64ae39682976c0d3816a5678a7a7a08591ec4292.zip
linux: build in Cherryview pinctrl driver
This allows integrated keyboards on Braswell and Cherryview devices to function properly.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 0e48b2460bc..f591910f560 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -802,6 +802,9 @@ let
       NET_FC             = yes; # Fibre Channel driver support
       # GPIO on Intel Bay Trail, for some Chromebook internal eMMC disks
       PINCTRL_BAYTRAIL   = yes;
+      # GPIO for Braswell and Cherryview devices
+      # Needs to be built-in to for integrated keyboards to function properly
+      PINCTRL_CHERRYVIEW = yes;
       # 8 is default. Modern gpt tables on eMMC may go far beyond 8.
       MMC_BLOCK_MINORS   = freeform "32";