Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1728060

[PATCH 2/9] ARM: dts: TQma53: define GPIO's active level by macro instead of anonymous number

From Juergen Borleis <jbe@pengutronix.de>
Newsgroups linux.kernel
Subject [PATCH 2/9] ARM: dts: TQma53: define GPIO's active level by macro instead of anonymous number
Date 2017-09-07 11:10 +0200
Message-ID <un0YX-6kj-35@gated-at.bofh.it> (permalink)
References <un0YV-6kj-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
---
 arch/arm/boot/dts/imx53-mba53.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx53-mba53.dts b/arch/arm/boot/dts/imx53-mba53.dts
index 11c61844d5d85..5a21562a2dc1b 100644
--- a/arch/arm/boot/dts/imx53-mba53.dts
+++ b/arch/arm/boot/dts/imx53-mba53.dts
@@ -48,7 +48,7 @@
 	reg_backlight: backlight {
 		compatible = "regulator-fixed";
 		regulator-name = "lcd-supply";
-		gpio = <&gpio2 5 0>;
+		gpio = <&gpio2 5 GPIO_ACTIVE_HIGH>;
 		startup-delay-us = <5000>;
 	};
 
-- 
2.11.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 2/9] ARM: dts: TQma53: define GPIO's active level by macro instead of anonymous number Juergen Borleis <jbe@pengutronix.de> - 2017-09-07 11:10 +0200

csiph-web