2014-04-22 13:38:16

by Boris Brezillon

[permalink] [raw]
Subject: [PATCH] ARM: sunxi: dt: list all pinctrl compatible strings

List all sunxi pinctrl compatible strings in order to be able to grep for
those values.

Signed-off-by: Boris BREZILLON <[email protected]>
---
.../devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
index dff0e5f..d8d0656 100644
--- a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
+++ b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
@@ -6,8 +6,13 @@ the first two functions being GPIO in and out. The configuration on
the pins includes drive strength and pull-up.

Required properties:
-- compatible: "allwinner,<soc>-pinctrl". Supported SoCs for now are:
- sun5i-a13.
+- compatible: Should be one of the followings (depending on you SoC):
+ "allwinner,sun4i-a10-pinctrl"
+ "allwinner,sun5i-a10s-pinctrl"
+ "allwinner,sun5i-a13-pinctrl"
+ "allwinner,sun6i-a31-pinctrl"
+ "allwinner,sun6i-a31-r-pinctrl"
+ "allwinner,sun7i-a20-pinctrl"
- reg: Should contain the register physical address and length for the
pin controller.

--
1.8.3.2


2014-04-23 13:48:11

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] ARM: sunxi: dt: list all pinctrl compatible strings

On Tue, Apr 22, 2014 at 3:38 PM, Boris BREZILLON
<[email protected]> wrote:

> List all sunxi pinctrl compatible strings in order to be able to grep for
> those values.
>
> Signed-off-by: Boris BREZILLON <[email protected]>

Patch applied, but I edited the subject to pinctrl:
as this is arch neutral and has nothing to do with ARM really.

Yours,
Linus Walleij

2014-04-23 14:06:17

by Boris Brezillon

[permalink] [raw]
Subject: Re: [PATCH] ARM: sunxi: dt: list all pinctrl compatible strings


On 23/04/2014 15:48, Linus Walleij wrote:
> On Tue, Apr 22, 2014 at 3:38 PM, Boris BREZILLON
> <[email protected]> wrote:
>
>> List all sunxi pinctrl compatible strings in order to be able to grep for
>> those values.
>>
>> Signed-off-by: Boris BREZILLON <[email protected]>
> Patch applied, but I edited the subject to pinctrl:
> as this is arch neutral and has nothing to do with ARM really.

Thanks.

> Yours,
> Linus Walleij

--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

2014-04-23 14:20:21

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] ARM: sunxi: dt: list all pinctrl compatible strings

On Tue, Apr 22, 2014 at 8:38 AM, Boris BREZILLON
<[email protected]> wrote:
> List all sunxi pinctrl compatible strings in order to be able to grep for
> those values.

If you were fixing this to please checkpatch.pl, that issue has been
fixed in checkpatch. I think it is only in linux-next ATM.

Rob

>
> Signed-off-by: Boris BREZILLON <[email protected]>
> ---
> .../devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
> index dff0e5f..d8d0656 100644
> --- a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
> +++ b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
> @@ -6,8 +6,13 @@ the first two functions being GPIO in and out. The configuration on
> the pins includes drive strength and pull-up.
>
> Required properties:
> -- compatible: "allwinner,<soc>-pinctrl". Supported SoCs for now are:
> - sun5i-a13.
> +- compatible: Should be one of the followings (depending on you SoC):
> + "allwinner,sun4i-a10-pinctrl"
> + "allwinner,sun5i-a10s-pinctrl"
> + "allwinner,sun5i-a13-pinctrl"
> + "allwinner,sun6i-a31-pinctrl"
> + "allwinner,sun6i-a31-r-pinctrl"
> + "allwinner,sun7i-a20-pinctrl"
> - reg: Should contain the register physical address and length for the
> pin controller.
>
> --
> 1.8.3.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html