aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2021-04-28 11:24:18 -0700
committerVagrant Cascadian <vagrant@debian.org>2021-04-28 16:56:58 -0700
commitd018a11ee065e0f6bafb33fcc1a130aa7900b5a3 (patch)
tree70466e2f8dd6aa8cea7d5fb7d5b34fb6030b4434 /gnu
parente7fbf10066e3634ec2d284c07afb4fa625d18574 (diff)
downloadguix-d018a11ee065e0f6bafb33fcc1a130aa7900b5a3.tar
guix-d018a11ee065e0f6bafb33fcc1a130aa7900b5a3.tar.gz
gnu: linux-libre-arm64-generic@5.10: Add eDP panel, audio and battery
support for Pinebook Pro. * gnu/packages/linux.scm (linux-libre-5.10-source): Add pinebook pro lcd patch. (linux-libre-arm64-generic-5.10): Add audio and battery modules.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/linux.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a155c29f8b..ac70bdf4f0 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -489,7 +489,9 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
(define-public linux-libre-5.10-source
(source-with-patches linux-libre-5.10-pristine-source
(list %boot-logo-patch
- %linux-libre-arm-export-__sync_icache_dcache-patch)))
+ %linux-libre-arm-export-__sync_icache_dcache-patch
+ (search-patch
+ "linux-libre-arm64-generic-pinebook-lcd.patch"))))
(define-public linux-libre-5.4-source
(source-with-patches linux-libre-5.4-pristine-source
@@ -1072,7 +1074,11 @@ It has been modified to remove all non-free binary blobs.")
("CONFIG_BATTERY_AXP20X" . m)
("CONFIG_PINCTRL_AXP209" . m)
("CONFIG_AXP20X_POWER" . m)
- ("CONFIG_AXP20X_ADC" . m))
+ ("CONFIG_AXP20X_ADC" . m)
+ ;; Pinebook PRO battery and sound support
+ ("CONFIG_BATTERY_CW2015" . m)
+ ("CONFIG_CHARGER_GPIO" . m)
+ ("CONFIG_SND_SOC_ES8316" . m))
%default-extra-linux-options)))
(define-public linux-libre-arm64-generic-5.4