* [PATCH 0/3] pinctrl: Add DRA7/AM437x pinctrl compatibility
@ 2014-08-22 14:00 Nishanth Menon
[not found] ` <1408716062-26055-1-git-send-email-nm-l0cyMroinI0@public.gmane.org>
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Nishanth Menon @ 2014-08-22 14:00 UTC (permalink / raw)
To: Linus Walleij, Tony Lindgren, Tero Kristo, Paul Walmsley
Cc: Nishanth Menon, devicetree, Dave Gerlach, Kevin Hilman, Keerthy,
linux-kernel, Santosh Shilimkar, Benoît Cousson, linux-omap,
linux-arm-kernel
The following series are various fixes and improvements for pinctrl
for AM437x and DRA7. It also tries to add documentation for existing
pinctrl bindings for Texas Instruments' OMAP SoCs.
Functionality depends on the dts update (in series 6), PRM fixes and
the pdata quirk changes
This is part 4/6 series which eventually enables framework for
suspend-to-ram and cpuidle for OMAP5 and DRA7
Each of series is based on v3.17-rc1 and this specific series is available:
weblink: https://github.com/nmenon/linux-2.6-playground/commits/push/v3.17/pinctrl-compat
git repo: https://github.com/nmenon/linux-2.6-playground.git push/v3.17/pinctrl-compat
An complete integrated branch is available here: https://github.com/nmenon/linux-2.6-playground/commits/testing/v3.17/cpu-idle-suspend-dra7-omap5-framework
Keerthy (1):
pinctrl: single: AM437x: Add pinctrl compatibility
Nishanth Menon (2):
pinctrl: bindings: Add OMAP pinctrl binding
pinctrl: single: Add DRA7 pinctrl compatibility
.../bindings/pinctrl/ti,omap-pinctrl.txt | 11 +++++++++++
drivers/pinctrl/pinctrl-single.c | 14 ++++++++++++++
2 files changed, 25 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
--
1.7.9.5
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/3] pinctrl: bindings: Add OMAP pinctrl binding
[not found] ` <1408716062-26055-1-git-send-email-nm-l0cyMroinI0@public.gmane.org>
@ 2014-08-22 14:01 ` Nishanth Menon
[not found] ` <1408716062-26055-2-git-send-email-nm-l0cyMroinI0@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Nishanth Menon @ 2014-08-22 14:01 UTC (permalink / raw)
To: Linus Walleij, Tony Lindgren, Tero Kristo, Paul Walmsley
Cc: Kevin Hilman, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Keerthy, Benoît Cousson,
Santosh Shilimkar, devicetree-u79uwXL29TY76Z2rM5mHXA,
Dave Gerlach, Nishanth Menon
Add basic skeleton of OMAP pinctrl bindings. This is compatible with
pinctrl,single bindings and is meant purely as a reference point.
Signed-off-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org>
---
.../bindings/pinctrl/ti,omap-pinctrl.txt | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
diff --git a/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
new file mode 100644
index 0000000..156d964
--- /dev/null
+++ b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
@@ -0,0 +1,9 @@
+OMAP Pinctrl definitions
+
+Required properties:
+- compatible : Should be one of:
+ "ti,omap3-padconf" - OMAP3 compatible pinctrl
+ "ti,omap4-padconf" - OMAP4 compatible pinctrl
+ "ti,omap5-padconf" - OMAP5 compatible pinctrl
+
+See Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt for further details.
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe devicetree" 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 related [flat|nested] 11+ messages in thread
* [PATCH 2/3] pinctrl: single: Add DRA7 pinctrl compatibility
2014-08-22 14:00 [PATCH 0/3] pinctrl: Add DRA7/AM437x pinctrl compatibility Nishanth Menon
[not found] ` <1408716062-26055-1-git-send-email-nm-l0cyMroinI0@public.gmane.org>
@ 2014-08-22 14:01 ` Nishanth Menon
[not found] ` <1408716062-26055-3-git-send-email-nm-l0cyMroinI0@public.gmane.org>
2014-08-29 7:29 ` Linus Walleij
2014-08-22 14:01 ` [PATCH 3/3] pinctrl: single: AM437x: Add " Nishanth Menon
2 siblings, 2 replies; 11+ messages in thread
From: Nishanth Menon @ 2014-08-22 14:01 UTC (permalink / raw)
To: Linus Walleij, Tony Lindgren, Tero Kristo, Paul Walmsley
Cc: Kevin Hilman, linux-arm-kernel, linux-omap, linux-kernel, Keerthy,
Benoît Cousson, Santosh Shilimkar, devicetree, Dave Gerlach,
Nishanth Menon
DRA7 pinctrl definitions now differ from traditional 16 bit OMAP pin
ctrl definitions, in that all 32 bits are used to describe a single pin
Also the location of wakeupenable and event bits have changed.
Signed-off-by: Nishanth Menon <nm@ti.com>
---
.../bindings/pinctrl/ti,omap-pinctrl.txt | 1 +
drivers/pinctrl/pinctrl-single.c | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
index 156d964..d45386d 100644
--- a/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
+++ b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
@@ -5,5 +5,6 @@ Required properties:
"ti,omap3-padconf" - OMAP3 compatible pinctrl
"ti,omap4-padconf" - OMAP4 compatible pinctrl
"ti,omap5-padconf" - OMAP5 compatible pinctrl
+ "ti,dra7-padconf" - DRA7 compatible pinctrl
See Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt for further details.
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index 95dd9cf..598d600 100644
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -1981,6 +1981,12 @@ static const struct pcs_soc_data pinctrl_single_omap_wkup = {
.irq_status_mask = (1 << 15), /* OMAP_WAKEUP_EVENT */
};
+static const struct pcs_soc_data pinctrl_single_dra7 = {
+ .flags = PCS_QUIRK_SHARED_IRQ,
+ .irq_enable_mask = (1 << 24), /* WAKEUPENABLE */
+ .irq_status_mask = (1 << 25), /* WAKEUPEVENT */
+};
+
static const struct pcs_soc_data pinctrl_single = {
};
@@ -1992,6 +1998,7 @@ static struct of_device_id pcs_of_match[] = {
{ .compatible = "ti,omap3-padconf", .data = &pinctrl_single_omap_wkup },
{ .compatible = "ti,omap4-padconf", .data = &pinctrl_single_omap_wkup },
{ .compatible = "ti,omap5-padconf", .data = &pinctrl_single_omap_wkup },
+ { .compatible = "ti,dra7-padconf", .data = &pinctrl_single_dra7 },
{ .compatible = "pinctrl-single", .data = &pinctrl_single },
{ .compatible = "pinconf-single", .data = &pinconf_single },
{ },
--
1.7.9.5
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/3] pinctrl: single: AM437x: Add pinctrl compatibility
2014-08-22 14:00 [PATCH 0/3] pinctrl: Add DRA7/AM437x pinctrl compatibility Nishanth Menon
[not found] ` <1408716062-26055-1-git-send-email-nm-l0cyMroinI0@public.gmane.org>
2014-08-22 14:01 ` [PATCH 2/3] pinctrl: single: Add DRA7 pinctrl compatibility Nishanth Menon
@ 2014-08-22 14:01 ` Nishanth Menon
[not found] ` <1408716062-26055-4-git-send-email-nm-l0cyMroinI0@public.gmane.org>
2014-08-29 7:29 ` Linus Walleij
2 siblings, 2 replies; 11+ messages in thread
From: Nishanth Menon @ 2014-08-22 14:01 UTC (permalink / raw)
To: Linus Walleij, Tony Lindgren, Tero Kristo, Paul Walmsley
Cc: Nishanth Menon, devicetree, Dave Gerlach, Kevin Hilman, Keerthy,
linux-kernel, Santosh Shilimkar, Benoît Cousson, linux-omap,
linux-arm-kernel
From: Keerthy <j-keerthy@ti.com>
AM437x pinctrl definitions now differ from traditional 16 bit OMAP pin
ctrl definitions, in that all 32 bits are used to describe a single pin
Also the location of wakeupenable and event bits have changed.
Signed-off-by: Keerthy <j-keerthy@ti.com>
[nm@ti.com: minor updates]
Signed-off-by: Nishanth Menon <nm@ti.com>
---
.../bindings/pinctrl/ti,omap-pinctrl.txt | 1 +
drivers/pinctrl/pinctrl-single.c | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
index d45386d..af225fe 100644
--- a/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
+++ b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
@@ -6,5 +6,6 @@ Required properties:
"ti,omap4-padconf" - OMAP4 compatible pinctrl
"ti,omap5-padconf" - OMAP5 compatible pinctrl
"ti,dra7-padconf" - DRA7 compatible pinctrl
+ "ti,am437-padconf" - AM437x compatible pinctrl
See Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt for further details.
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index 598d600..784de13 100644
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -1987,6 +1987,12 @@ static const struct pcs_soc_data pinctrl_single_dra7 = {
.irq_status_mask = (1 << 25), /* WAKEUPEVENT */
};
+static const struct pcs_soc_data pinctrl_single_am437x = {
+ .flags = PCS_QUIRK_SHARED_IRQ,
+ .irq_enable_mask = (1 << 29), /* OMAP_WAKEUP_EN */
+ .irq_status_mask = (1 << 30), /* OMAP_WAKEUP_EVENT */
+};
+
static const struct pcs_soc_data pinctrl_single = {
};
@@ -1999,6 +2005,7 @@ static struct of_device_id pcs_of_match[] = {
{ .compatible = "ti,omap4-padconf", .data = &pinctrl_single_omap_wkup },
{ .compatible = "ti,omap5-padconf", .data = &pinctrl_single_omap_wkup },
{ .compatible = "ti,dra7-padconf", .data = &pinctrl_single_dra7 },
+ { .compatible = "ti,am437-padconf", .data = &pinctrl_single_am437x },
{ .compatible = "pinctrl-single", .data = &pinctrl_single },
{ .compatible = "pinconf-single", .data = &pinconf_single },
{ },
--
1.7.9.5
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 1/3] pinctrl: bindings: Add OMAP pinctrl binding
[not found] ` <1408716062-26055-2-git-send-email-nm-l0cyMroinI0@public.gmane.org>
@ 2014-08-25 17:25 ` Tony Lindgren
2014-08-25 19:03 ` Nishanth Menon
0 siblings, 1 reply; 11+ messages in thread
From: Tony Lindgren @ 2014-08-25 17:25 UTC (permalink / raw)
To: Nishanth Menon
Cc: Linus Walleij, Tero Kristo, Paul Walmsley, Kevin Hilman,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Keerthy, Benoît Cousson,
Santosh Shilimkar, devicetree-u79uwXL29TY76Z2rM5mHXA,
Dave Gerlach
* Nishanth Menon <nm-l0cyMroinI0@public.gmane.org> [140822 07:03]:
> Add basic skeleton of OMAP pinctrl bindings. This is compatible with
> pinctrl,single bindings and is meant purely as a reference point.
>
> Signed-off-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org>
Looks like you have ti,omap2420-padconf and ti,omap2430-padconf missing
but after adding those too:
Acked-by: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
> ---
> .../bindings/pinctrl/ti,omap-pinctrl.txt | 9 +++++++++
> 1 file changed, 9 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
> new file mode 100644
> index 0000000..156d964
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
> @@ -0,0 +1,9 @@
> +OMAP Pinctrl definitions
> +
> +Required properties:
> +- compatible : Should be one of:
> + "ti,omap3-padconf" - OMAP3 compatible pinctrl
> + "ti,omap4-padconf" - OMAP4 compatible pinctrl
> + "ti,omap5-padconf" - OMAP5 compatible pinctrl
> +
> +See Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt for further details.
> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" 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] 11+ messages in thread
* Re: [PATCH 2/3] pinctrl: single: Add DRA7 pinctrl compatibility
[not found] ` <1408716062-26055-3-git-send-email-nm-l0cyMroinI0@public.gmane.org>
@ 2014-08-25 17:26 ` Tony Lindgren
0 siblings, 0 replies; 11+ messages in thread
From: Tony Lindgren @ 2014-08-25 17:26 UTC (permalink / raw)
To: Nishanth Menon
Cc: Linus Walleij, Tero Kristo, Paul Walmsley, Kevin Hilman,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Keerthy, Benoît Cousson,
Santosh Shilimkar, devicetree-u79uwXL29TY76Z2rM5mHXA,
Dave Gerlach
* Nishanth Menon <nm-l0cyMroinI0@public.gmane.org> [140822 07:03]:
> DRA7 pinctrl definitions now differ from traditional 16 bit OMAP pin
> ctrl definitions, in that all 32 bits are used to describe a single pin
>
> Also the location of wakeupenable and event bits have changed.
>
> Signed-off-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org>
Acked-by: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
> ---
> .../bindings/pinctrl/ti,omap-pinctrl.txt | 1 +
> drivers/pinctrl/pinctrl-single.c | 7 +++++++
> 2 files changed, 8 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
> index 156d964..d45386d 100644
> --- a/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
> +++ b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
> @@ -5,5 +5,6 @@ Required properties:
> "ti,omap3-padconf" - OMAP3 compatible pinctrl
> "ti,omap4-padconf" - OMAP4 compatible pinctrl
> "ti,omap5-padconf" - OMAP5 compatible pinctrl
> + "ti,dra7-padconf" - DRA7 compatible pinctrl
>
> See Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt for further details.
> diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
> index 95dd9cf..598d600 100644
> --- a/drivers/pinctrl/pinctrl-single.c
> +++ b/drivers/pinctrl/pinctrl-single.c
> @@ -1981,6 +1981,12 @@ static const struct pcs_soc_data pinctrl_single_omap_wkup = {
> .irq_status_mask = (1 << 15), /* OMAP_WAKEUP_EVENT */
> };
>
> +static const struct pcs_soc_data pinctrl_single_dra7 = {
> + .flags = PCS_QUIRK_SHARED_IRQ,
> + .irq_enable_mask = (1 << 24), /* WAKEUPENABLE */
> + .irq_status_mask = (1 << 25), /* WAKEUPEVENT */
> +};
> +
> static const struct pcs_soc_data pinctrl_single = {
> };
>
> @@ -1992,6 +1998,7 @@ static struct of_device_id pcs_of_match[] = {
> { .compatible = "ti,omap3-padconf", .data = &pinctrl_single_omap_wkup },
> { .compatible = "ti,omap4-padconf", .data = &pinctrl_single_omap_wkup },
> { .compatible = "ti,omap5-padconf", .data = &pinctrl_single_omap_wkup },
> + { .compatible = "ti,dra7-padconf", .data = &pinctrl_single_dra7 },
> { .compatible = "pinctrl-single", .data = &pinctrl_single },
> { .compatible = "pinconf-single", .data = &pinconf_single },
> { },
> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" 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] 11+ messages in thread
* Re: [PATCH 3/3] pinctrl: single: AM437x: Add pinctrl compatibility
[not found] ` <1408716062-26055-4-git-send-email-nm-l0cyMroinI0@public.gmane.org>
@ 2014-08-25 17:26 ` Tony Lindgren
0 siblings, 0 replies; 11+ messages in thread
From: Tony Lindgren @ 2014-08-25 17:26 UTC (permalink / raw)
To: Nishanth Menon
Cc: Linus Walleij, Tero Kristo, Paul Walmsley, Kevin Hilman,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Keerthy, Benoît Cousson,
Santosh Shilimkar, devicetree-u79uwXL29TY76Z2rM5mHXA,
Dave Gerlach
* Nishanth Menon <nm-l0cyMroinI0@public.gmane.org> [140822 07:03]:
> From: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
>
> AM437x pinctrl definitions now differ from traditional 16 bit OMAP pin
> ctrl definitions, in that all 32 bits are used to describe a single pin
>
> Also the location of wakeupenable and event bits have changed.
>
> Signed-off-by: Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>
> [nm-l0cyMroinI0@public.gmane.org: minor updates]
> Signed-off-by: Nishanth Menon <nm-l0cyMroinI0@public.gmane.org>
Acked-by: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
> ---
> .../bindings/pinctrl/ti,omap-pinctrl.txt | 1 +
> drivers/pinctrl/pinctrl-single.c | 7 +++++++
> 2 files changed, 8 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
> index d45386d..af225fe 100644
> --- a/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
> +++ b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
> @@ -6,5 +6,6 @@ Required properties:
> "ti,omap4-padconf" - OMAP4 compatible pinctrl
> "ti,omap5-padconf" - OMAP5 compatible pinctrl
> "ti,dra7-padconf" - DRA7 compatible pinctrl
> + "ti,am437-padconf" - AM437x compatible pinctrl
>
> See Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt for further details.
> diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
> index 598d600..784de13 100644
> --- a/drivers/pinctrl/pinctrl-single.c
> +++ b/drivers/pinctrl/pinctrl-single.c
> @@ -1987,6 +1987,12 @@ static const struct pcs_soc_data pinctrl_single_dra7 = {
> .irq_status_mask = (1 << 25), /* WAKEUPEVENT */
> };
>
> +static const struct pcs_soc_data pinctrl_single_am437x = {
> + .flags = PCS_QUIRK_SHARED_IRQ,
> + .irq_enable_mask = (1 << 29), /* OMAP_WAKEUP_EN */
> + .irq_status_mask = (1 << 30), /* OMAP_WAKEUP_EVENT */
> +};
> +
> static const struct pcs_soc_data pinctrl_single = {
> };
>
> @@ -1999,6 +2005,7 @@ static struct of_device_id pcs_of_match[] = {
> { .compatible = "ti,omap4-padconf", .data = &pinctrl_single_omap_wkup },
> { .compatible = "ti,omap5-padconf", .data = &pinctrl_single_omap_wkup },
> { .compatible = "ti,dra7-padconf", .data = &pinctrl_single_dra7 },
> + { .compatible = "ti,am437-padconf", .data = &pinctrl_single_am437x },
> { .compatible = "pinctrl-single", .data = &pinctrl_single },
> { .compatible = "pinconf-single", .data = &pinconf_single },
> { },
> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" 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] 11+ messages in thread
* Re: [PATCH 1/3] pinctrl: bindings: Add OMAP pinctrl binding
2014-08-25 17:25 ` Tony Lindgren
@ 2014-08-25 19:03 ` Nishanth Menon
2014-08-29 7:27 ` Linus Walleij
0 siblings, 1 reply; 11+ messages in thread
From: Nishanth Menon @ 2014-08-25 19:03 UTC (permalink / raw)
To: Tony Lindgren
Cc: Linus Walleij, Tero Kristo, Paul Walmsley, Kevin Hilman,
linux-arm-kernel, linux-omap, linux-kernel, Keerthy,
Benoît Cousson, Santosh Shilimkar, devicetree, Dave Gerlach
On 10:25-20140825, Tony Lindgren wrote:
> * Nishanth Menon <nm@ti.com> [140822 07:03]:
> > Add basic skeleton of OMAP pinctrl bindings. This is compatible with
> > pinctrl,single bindings and is meant purely as a reference point.
> >
> > Signed-off-by: Nishanth Menon <nm@ti.com>
>
> Looks like you have ti,omap2420-padconf and ti,omap2430-padconf missing
> but after adding those too:
>
> Acked-by: Tony Lindgren <tony@atomide.com>
I now see why I missed them:
arch/arm/boot/dts/omap2420.dtsi: compatible = "ti,omap2420-padconf", "pinctrl-single";
arch/arm/boot/dts/omap2430.dtsi: compatible = "ti,omap2430-padconf", "pinctrl-single";
These are the only two references to the compatible, there is no driver
matching being done, had missed it hence :( - Updated revision below
(with your ack). Unless there are anymore review comments OR you'd want
me to explicitly, I dont plan on reposting the following again.
---8<---
>From 74121c6a2524048eb02c3b33a25e13261edd2e99 Mon Sep 17 00:00:00 2001
From: Nishanth Menon <nm@ti.com>
Date: Thu, 22 May 2014 23:32:09 -0500
Subject: [PATCH V2] pinctrl: bindings: Add OMAP pinctrl binding
Add basic skeleton of OMAP pinctrl bindings. This is compatible with
pinctrl,single bindings and is meant purely as a reference point.
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
---
.../bindings/pinctrl/ti,omap-pinctrl.txt | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
diff --git a/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
new file mode 100644
index 0000000..b3b57fc
--- /dev/null
+++ b/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt
@@ -0,0 +1,11 @@
+OMAP Pinctrl definitions
+
+Required properties:
+- compatible : Should be one of:
+ "ti,omap2420-padconf" - OMAP2420 compatible pinctrl
+ "ti,omap2430-padconf" - OMAP2430 compatible pinctrl
+ "ti,omap3-padconf" - OMAP3 compatible pinctrl
+ "ti,omap4-padconf" - OMAP4 compatible pinctrl
+ "ti,omap5-padconf" - OMAP5 compatible pinctrl
+
+See Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt for further details.
--
1.7.9.5
--
Regards,
Nishanth Menon
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 1/3] pinctrl: bindings: Add OMAP pinctrl binding
2014-08-25 19:03 ` Nishanth Menon
@ 2014-08-29 7:27 ` Linus Walleij
0 siblings, 0 replies; 11+ messages in thread
From: Linus Walleij @ 2014-08-29 7:27 UTC (permalink / raw)
To: Nishanth Menon
Cc: Tony Lindgren, Tero Kristo, Paul Walmsley, Kevin Hilman,
linux-arm-kernel@lists.infradead.org, Linux-OMAP,
linux-kernel@vger.kernel.org, Keerthy, Benoît Cousson,
Santosh Shilimkar, devicetree@vger.kernel.org, Dave Gerlach
On Mon, Aug 25, 2014 at 9:03 PM, Nishanth Menon <nm@ti.com> wrote:
> ---8<---
> From 74121c6a2524048eb02c3b33a25e13261edd2e99 Mon Sep 17 00:00:00 2001
> From: Nishanth Menon <nm@ti.com>
> Date: Thu, 22 May 2014 23:32:09 -0500
> Subject: [PATCH V2] pinctrl: bindings: Add OMAP pinctrl binding
>
> Add basic skeleton of OMAP pinctrl bindings. This is compatible with
> pinctrl,single bindings and is meant purely as a reference point.
>
> Acked-by: Tony Lindgren <tony@atomide.com>
> Signed-off-by: Nishanth Menon <nm@ti.com>
Applied this inline v2 version.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 3/3] pinctrl: single: AM437x: Add pinctrl compatibility
2014-08-22 14:01 ` [PATCH 3/3] pinctrl: single: AM437x: Add " Nishanth Menon
[not found] ` <1408716062-26055-4-git-send-email-nm-l0cyMroinI0@public.gmane.org>
@ 2014-08-29 7:29 ` Linus Walleij
1 sibling, 0 replies; 11+ messages in thread
From: Linus Walleij @ 2014-08-29 7:29 UTC (permalink / raw)
To: Nishanth Menon
Cc: Tony Lindgren, Tero Kristo, Paul Walmsley, Kevin Hilman,
linux-arm-kernel@lists.infradead.org, Linux-OMAP,
linux-kernel@vger.kernel.org, Keerthy, Benoît Cousson,
Santosh Shilimkar, devicetree@vger.kernel.org, Dave Gerlach
On Fri, Aug 22, 2014 at 4:01 PM, Nishanth Menon <nm@ti.com> wrote:
> From: Keerthy <j-keerthy@ti.com>
>
> AM437x pinctrl definitions now differ from traditional 16 bit OMAP pin
> ctrl definitions, in that all 32 bits are used to describe a single pin
>
> Also the location of wakeupenable and event bits have changed.
>
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> [nm@ti.com: minor updates]
> Signed-off-by: Nishanth Menon <nm@ti.com>
Patch applied with Tony's ACK.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/3] pinctrl: single: Add DRA7 pinctrl compatibility
2014-08-22 14:01 ` [PATCH 2/3] pinctrl: single: Add DRA7 pinctrl compatibility Nishanth Menon
[not found] ` <1408716062-26055-3-git-send-email-nm-l0cyMroinI0@public.gmane.org>
@ 2014-08-29 7:29 ` Linus Walleij
1 sibling, 0 replies; 11+ messages in thread
From: Linus Walleij @ 2014-08-29 7:29 UTC (permalink / raw)
To: Nishanth Menon
Cc: Tony Lindgren, Tero Kristo, Paul Walmsley, Kevin Hilman,
linux-arm-kernel@lists.infradead.org, Linux-OMAP,
linux-kernel@vger.kernel.org, Keerthy, Benoît Cousson,
Santosh Shilimkar, devicetree@vger.kernel.org, Dave Gerlach
On Fri, Aug 22, 2014 at 4:01 PM, Nishanth Menon <nm@ti.com> wrote:
> DRA7 pinctrl definitions now differ from traditional 16 bit OMAP pin
> ctrl definitions, in that all 32 bits are used to describe a single pin
>
> Also the location of wakeupenable and event bits have changed.
>
> Signed-off-by: Nishanth Menon <nm@ti.com>
Patch applied with Tony's ACK.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-08-29 7:29 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-22 14:00 [PATCH 0/3] pinctrl: Add DRA7/AM437x pinctrl compatibility Nishanth Menon
[not found] ` <1408716062-26055-1-git-send-email-nm-l0cyMroinI0@public.gmane.org>
2014-08-22 14:01 ` [PATCH 1/3] pinctrl: bindings: Add OMAP pinctrl binding Nishanth Menon
[not found] ` <1408716062-26055-2-git-send-email-nm-l0cyMroinI0@public.gmane.org>
2014-08-25 17:25 ` Tony Lindgren
2014-08-25 19:03 ` Nishanth Menon
2014-08-29 7:27 ` Linus Walleij
2014-08-22 14:01 ` [PATCH 2/3] pinctrl: single: Add DRA7 pinctrl compatibility Nishanth Menon
[not found] ` <1408716062-26055-3-git-send-email-nm-l0cyMroinI0@public.gmane.org>
2014-08-25 17:26 ` Tony Lindgren
2014-08-29 7:29 ` Linus Walleij
2014-08-22 14:01 ` [PATCH 3/3] pinctrl: single: AM437x: Add " Nishanth Menon
[not found] ` <1408716062-26055-4-git-send-email-nm-l0cyMroinI0@public.gmane.org>
2014-08-25 17:26 ` Tony Lindgren
2014-08-29 7:29 ` 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).