Browse Source

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 <[email protected]>
Christian Marangi 1 year ago
parent
commit
f8cb39183d

+ 1 - 2
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>;

+ 1 - 1
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 | \