* [PATCH 1/2] Documentation: dt-bindings: Add aliases information for Exynos7 pin controllers
@ 2014-12-10 8:39 Vivek Gautam
2014-12-10 8:39 ` [PATCH V3 2/2] pinctrl: exynos: Add BUS1 pin controller for exynos7 Vivek Gautam
2015-01-12 9:14 ` [PATCH 1/2] Documentation: dt-bindings: Add aliases information for Exynos7 pin controllers Linus Walleij
0 siblings, 2 replies; 5+ messages in thread
From: Vivek Gautam @ 2014-12-10 8:39 UTC (permalink / raw)
To: linux-kernel, linux-samsung-soc, linux-usb, devicetree
Cc: robh+dt, kgene, alim.akhtar, Vivek Gautam, Tomasz Figa,
Linus Walleij
Adding list of aliases for supported Exynos7 pin controller blocks.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
---
.../devicetree/bindings/pinctrl/samsung-pinctrl.txt | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt
index 8425838..742e472 100644
--- a/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt
+++ b/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt
@@ -171,6 +171,16 @@ Aliases:
All the pin controller nodes should be represented in the aliases node using
the following format 'pinctrl{n}' where n is a unique number for the alias.
+Aliases for controllers compatible with "samsung,exynos7-pinctrl":
+- pinctrl0: pin controller of ALIVE block,
+- pinctrl1: pin controller of BUS0 block,
+- pinctrl2: pin controller of NFC block,
+- pinctrl3: pin controller of TOUCH block,
+- pinctrl4: pin controller of FF block,
+- pinctrl5: pin controller of ESE block,
+- pinctrl6: pin controller of FSYS0 block,
+- pinctrl7: pin controller of FSYS1 block,
+
Example: A pin-controller node with pin banks:
pinctrl_0: pinctrl@11400000 {
--
1.7.10.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH V3 2/2] pinctrl: exynos: Add BUS1 pin controller for exynos7
2014-12-10 8:39 [PATCH 1/2] Documentation: dt-bindings: Add aliases information for Exynos7 pin controllers Vivek Gautam
@ 2014-12-10 8:39 ` Vivek Gautam
2014-12-28 11:23 ` Tomasz Figa
[not found] ` <1418200780-22363-2-git-send-email-gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-01-12 9:14 ` [PATCH 1/2] Documentation: dt-bindings: Add aliases information for Exynos7 pin controllers Linus Walleij
1 sibling, 2 replies; 5+ messages in thread
From: Vivek Gautam @ 2014-12-10 8:39 UTC (permalink / raw)
To: linux-kernel, linux-samsung-soc, linux-usb, devicetree
Cc: robh+dt, kgene, alim.akhtar, Vivek Gautam, Tomasz Figa,
Linus Walleij
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: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
---
Changes since V2:
- Added documentation on alias for BUS1 pin controller block.
Changes since V1:
- Added support for all pin banks which are part of BUS1 pin controller.
.../devicetree/bindings/pinctrl/samsung-pinctrl.txt | 1 +
drivers/pinctrl/samsung/pinctrl-exynos.c | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt
index 742e472..c88ba35 100644
--- a/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt
+++ b/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt
@@ -180,6 +180,7 @@ Aliases for controllers compatible with "samsung,exynos7-pinctrl":
- pinctrl5: pin controller of ESE block,
- pinctrl6: pin controller of FSYS0 block,
- pinctrl7: pin controller of FSYS1 block,
+- pinctrl8: pin controller of BUS1 block,
Example: A pin-controller node with pin banks:
diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.c b/drivers/pinctrl/samsung/pinctrl-exynos.c
index d5d4cfc..44e60dc 100644
--- a/drivers/pinctrl/samsung/pinctrl-exynos.c
+++ b/drivers/pinctrl/samsung/pinctrl-exynos.c
@@ -1300,6 +1300,20 @@ 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, 0x040, "gpf1", 0x04),
+ EXYNOS_PIN_BANK_EINTG(4, 0x060, "gpf2", 0x08),
+ EXYNOS_PIN_BANK_EINTG(5, 0x080, "gpf3", 0x0c),
+ EXYNOS_PIN_BANK_EINTG(8, 0x0a0, "gpf4", 0x10),
+ EXYNOS_PIN_BANK_EINTG(8, 0x0c0, "gpf5", 0x14),
+ EXYNOS_PIN_BANK_EINTG(5, 0x0e0, "gpg1", 0x18),
+ EXYNOS_PIN_BANK_EINTG(5, 0x100, "gpg2", 0x1c),
+ EXYNOS_PIN_BANK_EINTG(6, 0x120, "gph1", 0x20),
+ EXYNOS_PIN_BANK_EINTG(3, 0x140, "gpv6", 0x24),
+};
+
const struct samsung_pin_ctrl exynos7_pin_ctrl[] __initconst = {
{
/* pin-controller instance 0 Alive data */
@@ -1342,5 +1356,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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH V3 2/2] pinctrl: exynos: Add BUS1 pin controller for exynos7
2014-12-10 8:39 ` [PATCH V3 2/2] pinctrl: exynos: Add BUS1 pin controller for exynos7 Vivek Gautam
@ 2014-12-28 11:23 ` Tomasz Figa
[not found] ` <1418200780-22363-2-git-send-email-gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
1 sibling, 0 replies; 5+ messages in thread
From: Tomasz Figa @ 2014-12-28 11:23 UTC (permalink / raw)
To: Vivek Gautam, linux-kernel, linux-samsung-soc, linux-usb,
devicetree
Cc: robh+dt, kgene, alim.akhtar, Linus Walleij
On 10.12.2014 17:39, Vivek Gautam wrote:
> 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: Tomasz Figa <tomasz.figa@gmail.com>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> ---
>
> Changes since V2:
> - Added documentation on alias for BUS1 pin controller block.
>
> Changes since V1:
> - Added support for all pin banks which are part of BUS1 pin controller.
>
> .../devicetree/bindings/pinctrl/samsung-pinctrl.txt | 1 +
> drivers/pinctrl/samsung/pinctrl-exynos.c | 19 +++++++++++++++++++
> 2 files changed, 20 insertions(+)
Acked-by: Tomasz Figa <tomasz.figa@gmail.com>
Best regards,
Tomasz
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] Documentation: dt-bindings: Add aliases information for Exynos7 pin controllers
2014-12-10 8:39 [PATCH 1/2] Documentation: dt-bindings: Add aliases information for Exynos7 pin controllers Vivek Gautam
2014-12-10 8:39 ` [PATCH V3 2/2] pinctrl: exynos: Add BUS1 pin controller for exynos7 Vivek Gautam
@ 2015-01-12 9:14 ` Linus Walleij
1 sibling, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2015-01-12 9:14 UTC (permalink / raw)
To: Vivek Gautam
Cc: linux-kernel@vger.kernel.org, linux-samsung-soc,
linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
Rob Herring, Kukjin Kim, root, Tomasz Figa
On Wed, Dec 10, 2014 at 9:39 AM, Vivek Gautam <gautam.vivek@samsung.com> wrote:
> Adding list of aliases for supported Exynos7 pin controller blocks.
>
> Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
> Cc: Tomasz Figa <tomasz.figa@gmail.com>
> Cc: Linus Walleij <linus.walleij@linaro.org>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH V3 2/2] pinctrl: exynos: Add BUS1 pin controller for exynos7
[not found] ` <1418200780-22363-2-git-send-email-gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
@ 2015-01-12 9:14 ` Linus Walleij
0 siblings, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2015-01-12 9:14 UTC (permalink / raw)
To: Vivek Gautam
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-samsung-soc,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring,
Kukjin Kim, root, Tomasz Figa
On Wed, Dec 10, 2014 at 9:39 AM, Vivek Gautam <gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> wrote:
> 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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Signed-off-by: Vivek Gautam <gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> Cc: Tomasz Figa <tomasz.figa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Cc: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
>
> Changes since V2:
> - Added documentation on alias for BUS1 pin controller block.
Patch applied with Tomasz ACK.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-01-12 9:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10 8:39 [PATCH 1/2] Documentation: dt-bindings: Add aliases information for Exynos7 pin controllers Vivek Gautam
2014-12-10 8:39 ` [PATCH V3 2/2] pinctrl: exynos: Add BUS1 pin controller for exynos7 Vivek Gautam
2014-12-28 11:23 ` Tomasz Figa
[not found] ` <1418200780-22363-2-git-send-email-gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-01-12 9:14 ` Linus Walleij
2015-01-12 9:14 ` [PATCH 1/2] Documentation: dt-bindings: Add aliases information for Exynos7 pin controllers Linus Walleij
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).