From: Luis Araneda <luaraneda@gmail.com>
To: Rob Herring <robh+dt@kernel.org>, Michal Simek <michal.simek@xilinx.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Luis Araneda <luaraneda@gmail.com>
Subject: [PATCH 2/3] arm: dts: zynq: Use gpio constants for the Zybo Z7 board
Date: Thu, 12 Jul 2018 01:50:47 -0400 [thread overview]
Message-ID: <20180712055049.5098-3-luaraneda@gmail.com> (raw)
In-Reply-To: <20180712055049.5098-1-luaraneda@gmail.com>
Include GPIO dt-bindings and use GPIO_ACTIVE_* constants
to improve readability
Signed-off-by: Luis Araneda <luaraneda@gmail.com>
---
arch/arm/boot/dts/zynq-zybo-z7.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/zynq-zybo-z7.dts b/arch/arm/boot/dts/zynq-zybo-z7.dts
index bc81ebee50fe..b68a5e921464 100644
--- a/arch/arm/boot/dts/zynq-zybo-z7.dts
+++ b/arch/arm/boot/dts/zynq-zybo-z7.dts
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0+
/dts-v1/;
#include "zynq-7000.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
model = "Zynq ZYBO Z7 Development Board";
@@ -24,7 +25,7 @@
usb_phy0: phy0 {
#phy-cells = <0>;
compatible = "usb-nop-xceiv";
- reset-gpios = <&gpio0 46 1>;
+ reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
};
};
--
2.18.0
next prev parent reply other threads:[~2018-07-12 5:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-12 5:50 [PATCH 0/3] arm: dts: zynq: Improvements to Zybo z7 board Luis Araneda
2018-07-12 5:50 ` [PATCH 1/3] arm: dts: zynq: Fix memory size on the Zybo Z7 board Luis Araneda
2018-07-12 5:50 ` Luis Araneda [this message]
2018-07-12 5:50 ` [PATCH 3/3] arm: dts: zynq: Add LEDs to " Luis Araneda
2018-07-17 14:59 ` [PATCH 0/3] arm: dts: zynq: Improvements to Zybo z7 board Michal Simek
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=20180712055049.5098-3-luaraneda@gmail.com \
--to=luaraneda@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=michal.simek@xilinx.com \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).