gl-fan: improveed for general

Signed-off-by: Jianhui Zhao <jianhui.zhao@gl-inet.com>
This commit is contained in:
Jianhui Zhao 2022-07-28 11:13:07 +08:00
parent c8ed11d220
commit b2d4c3d0ee
5 changed files with 61 additions and 3 deletions

View File

@ -0,0 +1,29 @@
From 91e02eb9d2b509a1f8ffc272544e840954a0e848 Mon Sep 17 00:00:00 2001
From: Jianhui Zhao <jianhui.zhao@gl-inet.com>
Date: Thu, 28 Jul 2022 11:10:54 +0800
Subject: [PATCH] gl-axt1800: fix gl-fan dts
Signed-off-by: Jianhui Zhao <jianhui.zhao@gl-inet.com>
---
.../arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-axt1800.dts | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-axt1800.dts b/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-axt1800.dts
index 483a6559..8bedb393 100644
--- a/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-axt1800.dts
+++ b/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-axt1800.dts
@@ -27,9 +27,8 @@
gl_fan {
compatible = "gl-fan";
- #address-cells = <1>;
- #size-cells = <0>;
- fan_speed_gpio = <31>;
+ interrupt-parent = <&tlmm>;
+ interrupts = <31 IRQ_TYPE_EDGE_RISING>;
};
};
--
2.25.1

View File

@ -0,0 +1,29 @@
From 33db9f43ff1b3391757ec800f4c22b5674bb6589 Mon Sep 17 00:00:00 2001
From: Jianhui Zhao <jianhui.zhao@gl-inet.com>
Date: Thu, 28 Jul 2022 11:07:12 +0800
Subject: [PATCH] gl-axt1800: fix gl-fan dts
Signed-off-by: Jianhui Zhao <jianhui.zhao@gl-inet.com>
---
.../arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-axt1800.dts | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-axt1800.dts b/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-axt1800.dts
index 4da836cf..55e8d622 100644
--- a/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-axt1800.dts
+++ b/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq6018-gl-axt1800.dts
@@ -27,9 +27,8 @@
gl_fan {
compatible = "gl-fan";
- #address-cells = <1>;
- #size-cells = <0>;
- fan_speed_gpio = <31>;
+ interrupt-parent = <&tlmm>;
+ interrupts = <31 IRQ_TYPE_EDGE_RISING>;
};
};
--
2.25.1

View File

@ -10,7 +10,7 @@ feeds:
revision: 4c6b600
- name: gl_feed_common
uri: https://github.com/gl-inet/gl-feeds.git
revision: de64c6042bc6b0849abab616ba2351c919326860
revision: a4bf20662b3e2233590b1258346989c1c5ec0430
- name: gl_feed_21_02
uri: https://github.com/gl-inet/gl-feeds.git
revision: 032786d5ff300ebdd83fb1b5fec5344b3da04953

View File

@ -6,7 +6,7 @@ feeds:
path: ../../feeds/ipq807x
- name: gl_feeds_common
uri: https://github.com/gl-inet/gl-feeds.git
revision: de64c6042bc6b0849abab616ba2351c919326860
revision: a4bf20662b3e2233590b1258346989c1c5ec0430
- name: luci
uri: https://github.com/openwrt/luci.git
revision: 1c3b32dc1bec15e3076a447762b1c4f94eb75fb7

View File

@ -8,7 +8,7 @@ feeds:
path: ../../feeds/wifi-ax
- name: gl_feeds_common
uri: https://github.com/gl-inet/gl-feeds.git
revision: de64c6042bc6b0849abab616ba2351c919326860
revision: a4bf20662b3e2233590b1258346989c1c5ec0430
- name: luci
uri: https://github.com/openwrt/luci.git
revision: 1c3b32dc1bec15e3076a447762b1c4f94eb75fb7