summaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorArjan Adriaanse <arjan@adriaan.se>2025-09-28 18:31:28 +0200
committerLeo Famulari <leo@famulari.name>2025-10-18 14:04:42 -0400
commit0a50d94a933a4df4292f6fbd3aa8109e0ec7c252 (patch)
treef74ec6a2a69abfe1b699e72b2b5a95203e23c867 /gnu/packages/linux.scm
parent10c517924d07f77f1a885e7ba127846c96ad2c94 (diff)
gnu: Add reform2-lpc-module.
* gnu/packages/linux.scm (reform2-lpc-module): New variable. Change-Id: I02d97a43293a90f4ce23964441f27d6693bd3fc7
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 5842a518edf..49dfdb2153e 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -85,6 +85,7 @@
;;; Copyright © 2025 Nigko Yerden <nigko.yerden@gmail.com>
;;; Copyright © 2025 Mathieu Laparie <mlaparie@disr.it>
;;; Copyright © 2025 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2025 Arjan Adriaanse <arjan@adriaan.se>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2768,6 +2769,32 @@ module allows the control of the backlight level or luminance property when
supported under @file{/sys/class/backlight/}.")
(license license:gpl2+))))
+(define-public reform2-lpc-module
+ (package
+ (name "reform2-lpc-module")
+ (version "1.79")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://source.mnt.re/reform/reform-tools.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16xzdygf14zksvqjbp5gwiqsn0mb7kphvzrmqbl9db4kvyj4ajqa"))))
+ (build-system linux-module-build-system)
+ (arguments
+ '(#:tests? #f ;no tests
+ #:source-directory "lpc"))
+ (synopsis "Linux kernel module for the Reform 2 system controller")
+ (description
+ "The reform2_lpc module allows for interaction with the NXP LPC11U24
+Cortex-M0 MCU system controller in the Reform 2 open hardware laptop. It
+provides battery status information and is necessary to completely shut down
+the system when powering it off via userspace.")
+ (home-page "https://source.mnt.re/reform/reform-tools/")
+ (license license:gpl3+)))
+
(define-public v4l2loopback-linux-module
(package
(name "v4l2loopback-linux-module")