* [PATCH] dt-bindings: pinctrl: uniphier: add UniPhier pinctrl binding
@ 2017-11-28 7:49 Masahiro Yamada
2017-11-28 15:27 ` Rob Herring
2017-12-02 15:32 ` Linus Walleij
0 siblings, 2 replies; 5+ messages in thread
From: Masahiro Yamada @ 2017-11-28 7:49 UTC (permalink / raw)
To: linux-gpio
Cc: Mark Rutland, devicetree, Greg Kroah-Hartman, Linus Walleij,
Randy Dunlap, linux-kernel, Masahiro Yamada, Rob Herring,
Mauro Carvalho Chehab, David S. Miller, linux-arm-kernel
The driver has been in the tree for a while, but its binding document
is missing. Hence, here it is.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
.../pinctrl/socionext,uniphier-pinctrl.txt | 27 ++++++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 28 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
diff --git a/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
new file mode 100644
index 0000000..8173b12
--- /dev/null
+++ b/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
@@ -0,0 +1,27 @@
+UniPhier SoCs pin controller
+
+Required properties:
+- compatible: should be one of the following:
+ "socionext,uniphier-ld4-pinctrl" - for LD4 SoC
+ "socionext,uniphier-pro4-pinctrl" - for Pro4 SoC
+ "socionext,uniphier-sld8-pinctrl" - for sLD8 SoC
+ "socionext,uniphier-pro5-pinctrl" - for Pro5 SoC
+ "socionext,uniphier-pxs2-pinctrl" - for PXs2 SoC
+ "socionext,uniphier-ld6b-pinctrl" - for LD6b SoC
+ "socionext,uniphier-ld11-pinctrl" - for LD11 SoC
+ "socionext,uniphier-ld20-pinctrl" - for LD20 SoC
+ "socionext,uniphier-pxs3-pinctrl" - for PXs3 SoC
+
+Note:
+The UniPhier pinctrl should be a subnode of a "syscon" compatible node.
+
+Example:
+ soc-glue@5f800000 {
+ compatible = "socionext,uniphier-pro4-soc-glue",
+ "simple-mfd", "syscon";
+ reg = <0x5f800000 0x2000>;
+
+ pinctrl: pinctrl {
+ compatible = "socionext,uniphier-pro4-pinctrl";
+ };
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index aa71ab52f..38b0ddc 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2042,6 +2042,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
T: git git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier.git
S: Maintained
F: Documentation/devicetree/bindings/gpio/gpio-uniphier.txt
+F: Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
F: arch/arm/boot/dts/uniphier*
F: arch/arm/include/asm/hardware/cache-uniphier.h
F: arch/arm/mach-uniphier/
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] dt-bindings: pinctrl: uniphier: add UniPhier pinctrl binding
2017-11-28 7:49 [PATCH] dt-bindings: pinctrl: uniphier: add UniPhier pinctrl binding Masahiro Yamada
@ 2017-11-28 15:27 ` Rob Herring
2017-11-29 3:44 ` Masahiro Yamada
2017-12-02 15:32 ` Linus Walleij
1 sibling, 1 reply; 5+ messages in thread
From: Rob Herring @ 2017-11-28 15:27 UTC (permalink / raw)
To: Masahiro Yamada
Cc: linux-gpio, Mark Rutland, devicetree, Greg Kroah-Hartman,
Linus Walleij, Randy Dunlap, linux-kernel, Mauro Carvalho Chehab,
David S. Miller, linux-arm-kernel
On Tue, Nov 28, 2017 at 04:49:45PM +0900, Masahiro Yamada wrote:
> The driver has been in the tree for a while, but its binding document
> is missing. Hence, here it is.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> .../pinctrl/socionext,uniphier-pinctrl.txt | 27 ++++++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 28 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
> new file mode 100644
> index 0000000..8173b12
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
> @@ -0,0 +1,27 @@
> +UniPhier SoCs pin controller
> +
> +Required properties:
> +- compatible: should be one of the following:
> + "socionext,uniphier-ld4-pinctrl" - for LD4 SoC
> + "socionext,uniphier-pro4-pinctrl" - for Pro4 SoC
> + "socionext,uniphier-sld8-pinctrl" - for sLD8 SoC
> + "socionext,uniphier-pro5-pinctrl" - for Pro5 SoC
> + "socionext,uniphier-pxs2-pinctrl" - for PXs2 SoC
> + "socionext,uniphier-ld6b-pinctrl" - for LD6b SoC
> + "socionext,uniphier-ld11-pinctrl" - for LD11 SoC
> + "socionext,uniphier-ld20-pinctrl" - for LD20 SoC
> + "socionext,uniphier-pxs3-pinctrl" - for PXs3 SoC
> +
> +Note:
> +The UniPhier pinctrl should be a subnode of a "syscon" compatible node.
> +
> +Example:
> + soc-glue@5f800000 {
> + compatible = "socionext,uniphier-pro4-soc-glue",
> + "simple-mfd", "syscon";
> + reg = <0x5f800000 0x2000>;
> +
> + pinctrl: pinctrl {
> + compatible = "socionext,uniphier-pro4-pinctrl";
There's not a contiguous register range that can be put here?
> + };
> + };
> diff --git a/MAINTAINERS b/MAINTAINERS
> index aa71ab52f..38b0ddc 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -2042,6 +2042,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
> T: git git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier.git
> S: Maintained
> F: Documentation/devicetree/bindings/gpio/gpio-uniphier.txt
> +F: Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
> F: arch/arm/boot/dts/uniphier*
> F: arch/arm/include/asm/hardware/cache-uniphier.h
> F: arch/arm/mach-uniphier/
> --
> 2.7.4
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] dt-bindings: pinctrl: uniphier: add UniPhier pinctrl binding
2017-11-28 15:27 ` Rob Herring
@ 2017-11-29 3:44 ` Masahiro Yamada
[not found] ` <CAK7LNAQYBe=x8sOBTrz8zE+5JEhOu+3eQKd8fbSAxi9Zuy18jQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Masahiro Yamada @ 2017-11-29 3:44 UTC (permalink / raw)
To: Rob Herring
Cc: linux-gpio-u79uwXL29TY76Z2rM5mHXA, Mark Rutland,
devicetree-u79uwXL29TY76Z2rM5mHXA, Greg Kroah-Hartman,
Linus Walleij, Randy Dunlap, Linux Kernel Mailing List,
Mauro Carvalho Chehab, David S. Miller, linux-arm-kernel
Hi Rob,
2017-11-29 0:27 GMT+09:00 Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>:
> On Tue, Nov 28, 2017 at 04:49:45PM +0900, Masahiro Yamada wrote:
>> The driver has been in the tree for a while, but its binding document
>> is missing. Hence, here it is.
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro-uWyLwvC0a2jby3iVrkZq2A@public.gmane.org>
>> ---
>>
>> .../pinctrl/socionext,uniphier-pinctrl.txt | 27 ++++++++++++++++++++++
>> MAINTAINERS | 1 +
>> 2 files changed, 28 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
>>
>> diff --git a/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
>> new file mode 100644
>> index 0000000..8173b12
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
>> @@ -0,0 +1,27 @@
>> +UniPhier SoCs pin controller
>> +
>> +Required properties:
>> +- compatible: should be one of the following:
>> + "socionext,uniphier-ld4-pinctrl" - for LD4 SoC
>> + "socionext,uniphier-pro4-pinctrl" - for Pro4 SoC
>> + "socionext,uniphier-sld8-pinctrl" - for sLD8 SoC
>> + "socionext,uniphier-pro5-pinctrl" - for Pro5 SoC
>> + "socionext,uniphier-pxs2-pinctrl" - for PXs2 SoC
>> + "socionext,uniphier-ld6b-pinctrl" - for LD6b SoC
>> + "socionext,uniphier-ld11-pinctrl" - for LD11 SoC
>> + "socionext,uniphier-ld20-pinctrl" - for LD20 SoC
>> + "socionext,uniphier-pxs3-pinctrl" - for PXs3 SoC
>> +
>> +Note:
>> +The UniPhier pinctrl should be a subnode of a "syscon" compatible node.
>> +
>> +Example:
>> + soc-glue@5f800000 {
>> + compatible = "socionext,uniphier-pro4-soc-glue",
>> + "simple-mfd", "syscon";
>> + reg = <0x5f800000 0x2000>;
>> +
>> + pinctrl: pinctrl {
>> + compatible = "socionext,uniphier-pro4-pinctrl";
>
> There's not a contiguous register range that can be put here?
Right.
I saw SATA PHY registers are inserted among the pinctrl registers.
Hardware engineers often make crazy design.
>> + };
>> + };
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index aa71ab52f..38b0ddc 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -2042,6 +2042,7 @@ L: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org (moderated for non-subscribers)
>> T: git git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier.git
>> S: Maintained
>> F: Documentation/devicetree/bindings/gpio/gpio-uniphier.txt
>> +F: Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
>> F: arch/arm/boot/dts/uniphier*
>> F: arch/arm/include/asm/hardware/cache-uniphier.h
>> F: arch/arm/mach-uniphier/
>> --
>> 2.7.4
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> --
> To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best Regards
Masahiro Yamada
--
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] 5+ messages in thread
* Re: [PATCH] dt-bindings: pinctrl: uniphier: add UniPhier pinctrl binding
[not found] ` <CAK7LNAQYBe=x8sOBTrz8zE+5JEhOu+3eQKd8fbSAxi9Zuy18jQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-11-30 20:24 ` Rob Herring
0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2017-11-30 20:24 UTC (permalink / raw)
To: Masahiro Yamada
Cc: linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Mark Rutland,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Greg Kroah-Hartman, Linus Walleij, Randy Dunlap,
Linux Kernel Mailing List, Mauro Carvalho Chehab, David S. Miller,
linux-arm-kernel
On Tue, Nov 28, 2017 at 9:44 PM, Masahiro Yamada
<yamada.masahiro-uWyLwvC0a2jby3iVrkZq2A@public.gmane.org> wrote:
> Hi Rob,
>
>
> 2017-11-29 0:27 GMT+09:00 Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>:
>> On Tue, Nov 28, 2017 at 04:49:45PM +0900, Masahiro Yamada wrote:
>>> The driver has been in the tree for a while, but its binding document
>>> is missing. Hence, here it is.
>>>
>>> Signed-off-by: Masahiro Yamada <yamada.masahiro-uWyLwvC0a2jby3iVrkZq2A@public.gmane.org>
>>> ---
>>>
>>> .../pinctrl/socionext,uniphier-pinctrl.txt | 27 ++++++++++++++++++++++
>>> MAINTAINERS | 1 +
>>> 2 files changed, 28 insertions(+)
>>> create mode 100644 Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
>>>
>>> diff --git a/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
>>> new file mode 100644
>>> index 0000000..8173b12
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.txt
>>> @@ -0,0 +1,27 @@
>>> +UniPhier SoCs pin controller
>>> +
>>> +Required properties:
>>> +- compatible: should be one of the following:
>>> + "socionext,uniphier-ld4-pinctrl" - for LD4 SoC
>>> + "socionext,uniphier-pro4-pinctrl" - for Pro4 SoC
>>> + "socionext,uniphier-sld8-pinctrl" - for sLD8 SoC
>>> + "socionext,uniphier-pro5-pinctrl" - for Pro5 SoC
>>> + "socionext,uniphier-pxs2-pinctrl" - for PXs2 SoC
>>> + "socionext,uniphier-ld6b-pinctrl" - for LD6b SoC
>>> + "socionext,uniphier-ld11-pinctrl" - for LD11 SoC
>>> + "socionext,uniphier-ld20-pinctrl" - for LD20 SoC
>>> + "socionext,uniphier-pxs3-pinctrl" - for PXs3 SoC
>>> +
>>> +Note:
>>> +The UniPhier pinctrl should be a subnode of a "syscon" compatible node.
>>> +
>>> +Example:
>>> + soc-glue@5f800000 {
>>> + compatible = "socionext,uniphier-pro4-soc-glue",
>>> + "simple-mfd", "syscon";
>>> + reg = <0x5f800000 0x2000>;
>>> +
>>> + pinctrl: pinctrl {
>>> + compatible = "socionext,uniphier-pro4-pinctrl";
>>
>> There's not a contiguous register range that can be put here?
>
>
> Right.
>
> I saw SATA PHY registers are inserted among the pinctrl registers.
Okay,
Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> Hardware engineers often make crazy design.
If there's 2 ways to do things, they will find a 3rd way.
Rob
--
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] 5+ messages in thread
* Re: [PATCH] dt-bindings: pinctrl: uniphier: add UniPhier pinctrl binding
2017-11-28 7:49 [PATCH] dt-bindings: pinctrl: uniphier: add UniPhier pinctrl binding Masahiro Yamada
2017-11-28 15:27 ` Rob Herring
@ 2017-12-02 15:32 ` Linus Walleij
1 sibling, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2017-12-02 15:32 UTC (permalink / raw)
To: Masahiro Yamada
Cc: linux-gpio, Mauro Carvalho Chehab,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Randy Dunlap, linux-kernel@vger.kernel.org, David S. Miller,
Rob Herring, Greg Kroah-Hartman, Mark Rutland, Linux ARM
On Tue, Nov 28, 2017 at 8:49 AM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> The driver has been in the tree for a while, but its binding document
> is missing. Hence, here it is.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Patch applied with Rob's ACK.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-12-02 15:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-28 7:49 [PATCH] dt-bindings: pinctrl: uniphier: add UniPhier pinctrl binding Masahiro Yamada
2017-11-28 15:27 ` Rob Herring
2017-11-29 3:44 ` Masahiro Yamada
[not found] ` <CAK7LNAQYBe=x8sOBTrz8zE+5JEhOu+3eQKd8fbSAxi9Zuy18jQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-30 20:24 ` Rob Herring
2017-12-02 15:32 ` 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).