[PATCH 3/6] ARM: dts: imx6dl-yapp4: Use reset-gpios property name

Michal Vokáč posted 6 patches 2 years, 7 months ago
There is a newer version of this series
[PATCH 3/6] ARM: dts: imx6dl-yapp4: Use reset-gpios property name
Posted by Michal Vokáč 2 years, 7 months ago
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>
---
 arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
index aacbf317feea..c6afc51bb22b 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
+++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
@@ -313,7 +313,7 @@ touchscreen: touchscreen@5c {
 		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";
-- 
2.25.1

Re: [PATCH 3/6] ARM: dts: imx6dl-yapp4: Use reset-gpios property name
Posted by Shawn Guo 2 years, 6 months ago
On Fri, Feb 10, 2023 at 04:48:52PM +0100, Michal Vokáč wrote:
> 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>

Applied, thanks!