From: Christian Marangi Date: Sat, 25 May 2024 10:54:31 +0000 (+0200) Subject: qualcommax: fix RAX120v2 PWM Fan controller wrong definition X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f8cb39183de9d4f14ccb753ea243d66a540269b4;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- 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@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 | \