mirror of
https://github.com/armbian/build.git
synced 2025-09-19 04:31:38 +02:00
* Bump meson and meson64 EDGE kernel to 6.9.y * Rename patch folders * Adjust broken patches, one remaining * Add overlay support * meson64: rename overlays to dtso, update makefile * Update meson-gx-socinfo-sm driver patchset for meson64-6.9: * add SoC ID patches for S905L, A113X * fix memory double free in driver * update dt bindings --------- Signed-off-by: Patrick Yavitz <pyavitz@armbian.com> Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com> Signed-off-by: Viacheslav Bocharov <adeep@lexina.in> Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com> Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com> Co-authored-by: Viacheslav Bocharov <adeep@lexina.in>
30 lines
977 B
Diff
30 lines
977 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Ricardo Pardini <ricardo@pardini.net>
|
|
Date: Sun, 26 Jun 2022 03:47:06 +0200
|
|
Subject: ODROID-HC4: add DT attributes to enable fan1_input
|
|
|
|
- from vendor kernel modified DT
|
|
- this allows userspace fancontrol/pwmconfig to work
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts
|
|
index 846a2d6c20e5..e54832142690 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts
|
|
@@ -21,6 +21,10 @@ fan0: pwm-fan {
|
|
#cooling-cells = <2>;
|
|
cooling-levels = <0 120 170 220>;
|
|
pwms = <&pwm_cd 1 40000 0>;
|
|
+ fan-supply = <&vcc_5v>;
|
|
+ interrupt-parent = <&gpio_intc>;
|
|
+ interrupts = <84 IRQ_TYPE_EDGE_FALLING>;
|
|
+ pulses-per-revolutions = <2>;
|
|
};
|
|
|
|
leds {
|
|
--
|
|
Armbian
|
|
|