Commit 527c9552 authored by David Heidelberg's avatar David Heidelberg Committed by Neil Armstrong
Browse files

arm64: dts: meson-gxm-khadas-vim2: use gpio-fan matrix instead of an array



No functional changes.

Adjust to comply with dt-schema requirements
and make it possible to validate values.

Acked-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarDavid Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20230126193732.69699-1-david@ixit.cz


Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
parent f1193c5c
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -52,10 +52,11 @@ gpio_fan: gpio-fan {
		gpios = <&gpio GPIODV_14 GPIO_ACTIVE_HIGH
			 &gpio GPIODV_15 GPIO_ACTIVE_HIGH>;
		/* Dummy RPM values since fan is optional */
		gpio-fan,speed-map = <0 0
				      1 1
				      2 2
				      3 3>;
		gpio-fan,speed-map =
				<0 0>,
				<1 1>,
				<2 2>,
				<3 3>;
		#cooling-cells = <2>;
	};