All of lore.kernel.org
 help / color / mirror / Atom feed
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,
	balbi@ti.com, kishon@ti.com
Cc: linux-omap@vger.kernel.org, gregkh@linuxfoundation.org,
	tomasz.figa@gmail.com, s.nawrocki@samsung.com,
	robh+dt@kernel.org, stern@rowland.harvard.edu,
	kgene.kim@samsung.com, Vivek Gautam <gautam.vivek@samsung.com>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH 01/11] pinctrl: exynos: Add BUS1 pin controller for exynos7
Date: Fri, 21 Nov 2014 19:05:44 +0530	[thread overview]
Message-ID: <1416576954-11997-2-git-send-email-gautam.vivek@samsung.com> (raw)
In-Reply-To: <1416576954-11997-1-git-send-email-gautam.vivek@samsung.com>

USB and Power regulator on Exynos7 require gpios available
in BUS1 pin controller block.
So adding the BUS1 pinctrl support.

Signed-off-by: Naveen Krishna Ch <naveenkrishna.ch@gmail.com>
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/pinctrl/samsung/pinctrl-exynos.c |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.c b/drivers/pinctrl/samsung/pinctrl-exynos.c
index d5d4cfc..caca5b5 100644
--- a/drivers/pinctrl/samsung/pinctrl-exynos.c
+++ b/drivers/pinctrl/samsung/pinctrl-exynos.c
@@ -1300,6 +1300,13 @@ static const struct samsung_pin_bank_data exynos7_pin_banks7[] __initconst = {
 	EXYNOS_PIN_BANK_EINTG(8, 0x060, "gpr3", 0x0c),
 };
 
+/* pin banks of exynos7 pin-controller - BUS1 */
+static const struct samsung_pin_bank_data exynos7_pin_banks8[] __initconst = {
+	EXYNOS_PIN_BANK_EINTG(8, 0x020, "gpf0", 0x00),
+	EXYNOS_PIN_BANK_EINTG(8, 0x0a0, "gpf4", 0x10),
+	EXYNOS_PIN_BANK_EINTG(6, 0x120, "gph1", 0x20),
+};
+
 const struct samsung_pin_ctrl exynos7_pin_ctrl[] __initconst = {
 	{
 		/* pin-controller instance 0 Alive data */
@@ -1342,5 +1349,10 @@ const struct samsung_pin_ctrl exynos7_pin_ctrl[] __initconst = {
 		.pin_banks	= exynos7_pin_banks7,
 		.nr_banks	= ARRAY_SIZE(exynos7_pin_banks7),
 		.eint_gpio_init = exynos_eint_gpio_init,
+	}, {
+		/* pin-controller instance 8 BUS1 data */
+		.pin_banks	= exynos7_pin_banks8,
+		.nr_banks	= ARRAY_SIZE(exynos7_pin_banks8),
+		.eint_gpio_init = exynos_eint_gpio_init,
 	},
 };
-- 
1.7.10.4


  reply	other threads:[~2014-11-21 13:44 UTC|newest]

Thread overview: 53+ 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 ` Vivek Gautam
2014-11-21 13:35 ` Vivek Gautam [this message]
2014-11-22 13:37   ` [PATCH 01/11] pinctrl: exynos: Add BUS1 pin controller for exynos7 Alim Akhtar
2014-11-22 13:37     ` Alim Akhtar
2014-11-24  5:00     ` Vivek Gautam
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-26 13:33           ` Alim Akhtar
2014-11-28  3:35           ` Vivek Gautam
2014-11-28  3:35             ` Vivek Gautam
2014-11-28  3:39             ` Vivek Gautam
2014-11-28  3:39               ` Vivek Gautam
2014-11-28 15:45               ` Linus Walleij
2014-11-28 15:45                 ` Linus Walleij
2014-12-01 14:21                 ` Vivek Gautam
2014-12-01 14:21                   ` Vivek Gautam
2014-12-03 13:41                   ` Linus Walleij
2014-12-03 13:41                     ` Linus Walleij
2014-12-01 16:07         ` Tomasz Figa
2014-12-01 16:07           ` Tomasz Figa
2014-12-10  8:21           ` Vivek Gautam
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   ` 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   ` 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   ` 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-22 13:41     ` Alim Akhtar
2014-11-24 13:06     ` [PATCH V2 2/2] " Vivek Gautam
2014-11-26 13:29       ` Alim Akhtar
2014-11-26 13:29         ` Alim Akhtar
2014-11-28  3:40         ` Vivek Gautam
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-21 15:11   ` Felipe Balbi
2014-11-22  8:40   ` Kishon Vijay Abraham I
2014-11-22  8:40     ` Kishon Vijay Abraham I
2014-11-22 15:12     ` Kukjin Kim
2014-11-25 11:48       ` Vivek Gautam
2014-11-25 11:48         ` Vivek Gautam
2014-12-22 14:47         ` Sylwester Nawrocki
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=1416576954-11997-2-git-send-email-gautam.vivek@samsung.com \
    --to=gautam.vivek@samsung.com \
    --cc=balbi@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kgene.kim@samsung.com \
    --cc=kishon@ti.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@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=stern@rowland.harvard.edu \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.