From: Vivek Gautam <gautam.vivek@samsung.com>
To: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
linux-usb@vger.kernel.org, devicetree@vger.kernel.org
Cc: tomasz.figa@gmail.com, s.nawrocki@samsung.com,
robh+dt@kernel.org, linus.walleij@linaro.org, kgene@kernel.org,
alim.akhtar@samsung.com, Vivek Gautam <gautam.vivek@samsung.com>
Subject: [PATCH V2 2/2] arm64: exynos: Add bus1 pinctrl node on exynos7
Date: Mon, 24 Nov 2014 18:36:21 +0530 [thread overview]
Message-ID: <1416834381-11314-1-git-send-email-gautam.vivek@samsung.com> (raw)
In-Reply-To: <CAGOxZ53TUvZhSDLfeCuyvBwVcrkQhFnftQzk1DbkU_krdoFbZA@mail.gmail.com>
BUS1 pinctrl provides gpios for usb and power regulator
available on exynos7-espresso board. So add relevant device
node for pinctrl-bus1.
Signed-off-by: Naveen Krishna Ch <naveenkrishna.ch@gmail.com>
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
---
This patch was part of series:
"[PATCH 00/11] Exynos7: Adding USB 3.0 support"
https://lkml.org/lkml/2014/11/21/247
Changes since V1:
- Added support for all pin banks which are part of BUS1 pin controller.
arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi | 82 +++++++++++++++++++++++
arch/arm64/boot/dts/exynos/exynos7.dtsi | 7 ++
2 files changed, 89 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi
index 2eef4a2..c367f0a 100644
--- a/arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi
@@ -335,6 +335,88 @@
};
};
+&pinctrl_bus1 {
+ gpf0: gpf0 {
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ gpf1: gpf1 {
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ gpf2: gpf2 {
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ gpf3: gpf3 {
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ gpf4: gpf4 {
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ gpf5: gpf5 {
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ gpg1: gpg1 {
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ gpg2: gpg2 {
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ gph1: gph1 {
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
+ gpv6: gpv6 {
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+};
+
&pinctrl_nfc {
gpj0: gpj0 {
gpio-controller;
diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi
index 1d9e4c9..e633b02 100644
--- a/arch/arm64/boot/dts/exynos/exynos7.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi
@@ -26,6 +26,7 @@
pinctrl5 = &pinctrl_ese;
pinctrl6 = &pinctrl_fsys0;
pinctrl7 = &pinctrl_fsys1;
+ pinctrl8 = &pinctrl_bus1;
};
cpus {
@@ -242,6 +243,12 @@
interrupts = <0 383 0>;
};
+ pinctrl_bus1: pinctrl@14870000 {
+ compatible = "samsung,exynos7-pinctrl";
+ reg = <0x14870000 0x1000>;
+ interrupts = <0 384 0>;
+ };
+
pinctrl_nfc: pinctrl@14cd0000 {
compatible = "samsung,exynos7-pinctrl";
reg = <0x14cd0000 0x1000>;
--
1.7.10.4
next prev parent reply other threads:[~2014-11-24 13:13 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-21 13:35 [PATCH 00/11] Exynos7: Adding USB 3.0 support Vivek Gautam
2014-11-21 13:35 ` [PATCH 01/11] pinctrl: exynos: Add BUS1 pin controller for exynos7 Vivek Gautam
2014-11-22 13:37 ` Alim Akhtar
2014-11-24 5:00 ` Vivek Gautam
2014-11-24 13:02 ` [PATCH V2 1/2] " Vivek Gautam
2014-11-26 13:33 ` Alim Akhtar
2014-11-28 3:35 ` Vivek Gautam
2014-11-28 3:39 ` Vivek Gautam
2014-11-28 15:45 ` Linus Walleij
2014-12-01 14:21 ` Vivek Gautam
2014-12-03 13:41 ` Linus Walleij
2014-12-01 16:07 ` Tomasz Figa
2014-12-10 8:21 ` Vivek Gautam
2014-11-21 13:35 ` [PATCH 02/11] dwc3: exynos: Remove local variable for clock from probe Vivek Gautam
2014-11-21 13:35 ` [PATCH 03/11] dwc3: exynos: Add provision for suspend clock Vivek Gautam
2014-11-21 13:35 ` [PATCH 04/11] dwc3: exynos: Add provision for AXI UpScaler clock on exynos7 Vivek Gautam
2014-11-21 13:35 ` [PATCH 05/11] phy: exynos5-usbdrd: Add pipe-clk, utmi-clk and itp-clk support Vivek Gautam
2014-11-21 13:35 ` [PATCH 06/11] phy: exynos5-usbdrd: Add facility for VBUS-BOOST-5V supply Vivek Gautam
2014-11-21 13:35 ` [PATCH 07/11] phy: exynos7-usbdrd: Update dependency for ARCH_EXYNOS Vivek Gautam
2014-11-21 13:35 ` [PATCH 08/11] clk: exynos7: Add required clock tree for USB Vivek Gautam
2014-11-21 13:35 ` [PATCH 09/11] arm64: exynos: Add bus1 pinctrl node on exynos7 Vivek Gautam
2014-11-22 13:41 ` Alim Akhtar
2014-11-24 13:06 ` Vivek Gautam [this message]
2014-11-26 13:29 ` [PATCH V2 2/2] " Alim Akhtar
2014-11-28 3:40 ` Vivek Gautam
2014-11-21 13:35 ` [PATCH 10/11] arm64: dts: Enable USB 3.0 controller " Vivek Gautam
2014-11-21 13:35 ` [PATCH 11/11] arm64: dts: exynos7-espresso: Add regulators for Vbus and Vbus-Boost Vivek Gautam
2014-11-21 15:11 ` [PATCH 00/11] Exynos7: Adding USB 3.0 support Felipe Balbi
2014-11-22 8:40 ` Kishon Vijay Abraham I
2014-11-22 15:12 ` Kukjin Kim
2014-11-25 11:48 ` Vivek Gautam
2014-12-22 14:47 ` Sylwester Nawrocki
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=1416834381-11314-1-git-send-email-gautam.vivek@samsung.com \
--to=gautam.vivek@samsung.com \
--cc=alim.akhtar@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=kgene@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=s.nawrocki@samsung.com \
--cc=tomasz.figa@gmail.com \
/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).