aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-07-09 20:34:38 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-07-24 00:27:49 +0300
commit8c6e724686ac37ff7955b97d9bfd03176b14d82a (patch)
tree66b65cb2f65f9ed0c07b466a449406a00c934085 /gnu
parent56395b12f628c4b49e4df718cd333a6bd222f099 (diff)
downloadguix-8c6e724686ac37ff7955b97d9bfd03176b14d82a.tar.gz
guix-8c6e724686ac37ff7955b97d9bfd03176b14d82a.zip
gnu: Add linux-libre-lts-arm64-generic.
* gnu/packages/linux.scm (linux-libre-lts-arm64-generic): New variable. Change-Id: I85b0c318850cf984ec9dbfc272278ba80eb39b30
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/linux.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 4bd5f9c902..f36d0fc9ee 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1300,6 +1300,34 @@ Linux kernel. It has been modified to remove all non-free binary blobs.")
("CONFIG_SND_SOC_ES8316" . m))
(default-extra-linux-options linux-libre-version))))
+(define-public linux-libre-lts-arm64-generic
+ (make-linux-libre* linux-libre-lts-version
+ linux-libre-lts-gnu-revision
+ linux-libre-lts-source
+ '("aarch64-linux")
+ #:defconfig "defconfig"
+ #:extra-version "arm64-generic"
+ #:extra-options
+ (append
+ `(;; Provide support for ath9k wireless
+ ("CONFIG_ATH9K_HTC" . m)
+ ;; needed to fix the RTC on rockchip platforms
+ ("CONFIG_RTC_DRV_RK808" . #t)
+ ;; Pinebook display, battery, charger and usb
+ ("CONFIG_DRM_ANALOGIX_ANX6345" . m)
+ ("CONFIG_CHARGER_AXP20X" . m)
+ ("CONFIG_INPUT_AXP20X_PEK" . m)
+ ("CONFIG_CHARGER_AXP20X" . m)
+ ("CONFIG_BATTERY_AXP20X" . m)
+ ("CONFIG_PINCTRL_AXP209" . m)
+ ("CONFIG_AXP20X_POWER" . 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 linux-libre-lts-version))))
+
(define-public linux-libre-arm64-generic-5.10
(make-linux-libre* linux-libre-5.10-version
linux-libre-5.10-gnu-revision