arm64: dts: mediatek: mt7986: fix reference to PWM in fan node
authorRafał Miłecki <rafal@milecki.pl>
Thu, 16 Nov 2023 13:08:16 +0000 (14:08 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 12 Feb 2024 12:36:52 +0000 (13:36 +0100)
This fixes typo and resolves following validation error:
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: pwm-fan: pwms: [[54, 0, 10000], [0]] is too long
        from schema $id: http://devicetree.org/schemas/hwmon/pwm-fan.yaml#

Fixes: c26f779a2295 ("arm64: dts: mt7986: add pwm-fan and cooling-maps to BPI-R3 dts")
Cc: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20231116130816.4932-1-zajec5@gmail.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts

index d06d4af43cbffba96f5702a133734994a5201120..e04b1c0c0ebbfb59e6e75318ebfaef1dfbe02997 100644 (file)
@@ -43,7 +43,7 @@
                #cooling-cells = <2>;
                /* cooling level (0, 1, 2) - pwm inverted */
                cooling-levels = <255 96 0>;
-               pwms = <&pwm 0 10000 0>;
+               pwms = <&pwm 0 10000>;
                status = "okay";
        };