Commit 1095ad0e authored by Neil Armstrong's avatar Neil Armstrong
Browse files

arm64: dts: amlogic: meson-g12b-bananapi: remove invalid fan on wrong pwm_cd controller

The fan is connected to the GPIOAO_10 pin, which can be connected to the pwm_AO_cd
controller, but this one is already used for the vddcpu_b regulator.

The fan was wrongly described as using the pwm_cd with the invalid "pwm-gpios"
property, both are wrong so remove the fan until we find an acceptable solution.

This fixes the following error:
pwm@1a000: 'pwm-gpios' does not match any of the regexes: 'pinctrl-[0-9]+'
        from schema $id: http://devicetree.org/schemas/pwm/pwm-amlogic.yaml#



Tested-by: default avatarChristian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20240606-topic-amlogic-upstream-bindings-fixes-dts-v1-1-62e812729541@linaro.org


Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
parent c830ead0
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -44,13 +44,6 @@ emmc_pwrseq: emmc-pwrseq {
		reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
	};

	fan0: pwm-fan {
		compatible = "pwm-fan";
		#cooling-cells = <2>;
		cooling-levels = <0 120 170 220>;
		pwms = <&pwm_cd 1 40000 0>;
	};

	hdmi-connector {
		compatible = "hdmi-connector";
		type = "a";
@@ -374,13 +367,6 @@ &pwm_ab {
	clock-names = "clkin0";
};

&pwm_cd {
	status = "okay";
	pinctrl-0 = <&pwm_d_x6_pins>;
	pinctrl-names = "default";
	pwm-gpios = <&gpio GPIOAO_10 GPIO_ACTIVE_HIGH>;
};

&pwm_ef {
	status = "okay";
	pinctrl-0 = <&pwm_e_pins>;