mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Javier Martinez Canillas <javier@osg.samsung.com>
To: linux-kernel@vger.kernel.org
Cc: linux-samsung-soc@vger.kernel.org, Kukjin Kim <kgene@kernel.org>,
	Krzysztof Kozlowski <k.kozlowski@samsung.com>,
	Javier Martinez Canillas <javier@osg.samsung.com>
Subject: [PATCH 5/5] ARM: dts: Use GPIO constants for flags cells in exynos5440 boards
Date: Wed,  7 Oct 2015 15:14:17 +0200	[thread overview]
Message-ID: <1444223657-7248-6-git-send-email-javier@osg.samsung.com> (raw)
In-Reply-To: <1444223657-7248-1-git-send-email-javier@osg.samsung.com>

The board DTS are using numeric values instead of the defined GPIO
constanst to express polarity, use them to make the DTS more clear.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 arch/arm/boot/dts/exynos5440-ssdk5440.dts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/exynos5440-ssdk5440.dts b/arch/arm/boot/dts/exynos5440-ssdk5440.dts
index e4443f4e6572..6a0d802e87c8 100644
--- a/arch/arm/boot/dts/exynos5440-ssdk5440.dts
+++ b/arch/arm/boot/dts/exynos5440-ssdk5440.dts
@@ -11,6 +11,7 @@
 
 /dts-v1/;
 #include "exynos5440.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
 	model = "SAMSUNG SSDK5440 board based on EXYNOS5440";
@@ -29,12 +30,12 @@
 };
 
 &pcie_0 {
-	reset-gpio = <&pin_ctrl 5 0>;
+	reset-gpio = <&pin_ctrl 5 GPIO_ACTIVE_HIGH>;
 	status = "okay";
 };
 
 &pcie_1 {
-	reset-gpio = <&pin_ctrl 22 0>;
+	reset-gpio = <&pin_ctrl 22 GPIO_ACTIVE_HIGH>;
 	status = "okay";
 };
 
-- 
2.4.3


  parent reply	other threads:[~2015-10-07 13:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-07 13:14 [PATCH 0/5] ARM: dts: Use GPIO constants for flags cells in exynos boards Javier Martinez Canillas
2015-10-07 13:14 ` [PATCH 1/5] ARM: dts: Use GPIO constants for flags cells in exynos3250 boards Javier Martinez Canillas
2015-10-07 13:14 ` [PATCH 2/5] ARM: dts: Use GPIO constants for flags cells in exynos4120 boards Javier Martinez Canillas
2015-10-07 13:14 ` [PATCH 3/5] ARM: dts: Use GPIO constants for flags cells in exynos4412 boards Javier Martinez Canillas
2015-10-07 13:14 ` [PATCH 4/5] ARM: dts: Use GPIO constants for flags cells in exynos5420/5422/5800 boards Javier Martinez Canillas
2015-10-07 13:14 ` Javier Martinez Canillas [this message]
2015-10-07 22:41 ` [PATCH 0/5] ARM: dts: Use GPIO constants for flags cells in exynos boards Kukjin Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444223657-7248-6-git-send-email-javier@osg.samsung.com \
    --to=javier@osg.samsung.com \
    --cc=k.kozlowski@samsung.com \
    --cc=kgene@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®