[openwrt/openwrt] qualcommax: fix RAX120v2 PWM Fan controller wrong definition

LEDE Commits lede-commits at lists.infradead.org
Tue Jun 25 03:53:09 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f8cb39183de9d4f14ccb753ea243d66a540269b4

commit f8cb39183de9d4f14ccb753ea243d66a540269b4
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Sat May 25 12:54:31 2024 +0200

    qualcommax: fix RAX120v2 PWM Fan controller wrong definition
    
    Fix RAX120v2 PWM Fan controller wrong definition by using a non-existant
    kmod and using the wrong compatible for it enabling an external clock
    while actually the device use an internal one.
    
    Link: https://github.com/openwrt/openwrt/pull/15796
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 .../qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rax120v2.dts     | 3 +--
 target/linux/qualcommax/image/ipq807x.mk                               | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rax120v2.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rax120v2.dts
index ceb47f14fd..36e315cc80 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rax120v2.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rax120v2.dts
@@ -289,9 +289,8 @@
 	status = "okay";
 
 	g761 at 3e {
-		compatible = "gmt,g763";
+		compatible = "gmt,g761";
 		reg = <0x3e>;
-		clocks =<&sleep_clk>;
 		fan_gear_mode = <0>;
 		fan_start = <1>;
 		pwm_polarity = <0>;
diff --git a/target/linux/qualcommax/image/ipq807x.mk b/target/linux/qualcommax/image/ipq807x.mk
index b305c9dbaa..d75cf3dd3c 100644
--- a/target/linux/qualcommax/image/ipq807x.mk
+++ b/target/linux/qualcommax/image/ipq807x.mk
@@ -161,7 +161,7 @@ define Device/netgear_rax120v2
 	NETGEAR_BOARD_ID := RAX120
 	NETGEAR_HW_ID := 29765589+0+512+1024+4x4+8x8
 	DEVICE_PACKAGES := ipq-wifi-netgear_rax120v2 kmod-spi-gpio \
-		kmod-spi-bitbang kmod-gpio-nxp-74hc164 kmod-hwmon-g761
+		kmod-spi-bitbang kmod-gpio-nxp-74hc164 kmod-hwmon-g762
 	IMAGES += web-ui-factory.img
 	IMAGE/web-ui-factory.img := append-image initramfs-uImage.itb | \
 		pad-offset $$$$(BLOCKSIZE) 64 | append-uImage-fakehdr filesystem | \




More information about the lede-commits mailing list