From 8c6e724686ac37ff7955b97d9bfd03176b14d82a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 9 Jul 2024 20:34:38 +0300 Subject: gnu: Add linux-libre-lts-arm64-generic. * gnu/packages/linux.scm (linux-libre-lts-arm64-generic): New variable. Change-Id: I85b0c318850cf984ec9dbfc272278ba80eb39b30 --- gnu/packages/linux.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu') 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 -- cgit v1.2.3 ss='left'>Author