ARM: dts: imx6dl-yapp4: Use reset-gpios property name
authorMichal Vokáč <michal.vokac@ysoft.com>
Fri, 10 Feb 2023 15:48:52 +0000 (16:48 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 13 Mar 2023 08:29:01 +0000 (16:29 +0800)
Use the gpios instead of gpio suffix that is mandated by the binding.
This dtbs_check warning is fixed now:

  touchscreen@5c: Unevaluated properties are not allowed ('reset-gpio' was unexpected)

The reset signal worked correctly as both the "gpio" and "gpios" suffixes
are actually allowed by the gpiolib.

Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl-yapp4-common.dtsi

index aacbf31..c6afc51 100644 (file)
                interrupt-parent = <&gpio4>;
                interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
                attb-gpio = <&gpio4 5 GPIO_ACTIVE_HIGH>;
-               reset-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
+               reset-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
                touchscreen-size-x = <800>;
                touchscreen-size-y = <480>;
                status = "disabled";