diff options
author | David Heidelberg <david@ixit.cz> | 2023-01-26 22:37:32 +0300 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2023-01-27 10:55:36 +0300 |
commit | 527c9552f5f8a99b6c31bfb39e9470cec07faf49 (patch) | |
tree | d0fa505d72f7247fe4d0445cdb4cd255093ab5d1 /arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | |
parent | f1193c5c09b1bb6e214c804c7dd1c7fb07046631 (diff) | |
download | linux-527c9552f5f8a99b6c31bfb39e9470cec07faf49.tar.xz |
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: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20230126193732.69699-1-david@ixit.cz
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts index b21172ece1fa..74897a154891 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts @@ -52,10 +52,11 @@ 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>; }; |