diff mbox

ARM: sunxi: dt: list all pinctrl compatible strings

Message ID 1398173886-9376-1-git-send-email-boris.brezillon@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Boris BREZILLON April 22, 2014, 1:38 p.m. UTC
List all sunxi pinctrl compatible strings in order to be able to grep for
those values.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
---
 .../devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt      | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Comments

Linus Walleij April 23, 2014, 1:48 p.m. UTC | #1
On Tue, Apr 22, 2014 at 3:38 PM, Boris BREZILLON
<boris.brezillon@free-electrons.com> wrote:

> List all sunxi pinctrl compatible strings in order to be able to grep for
> those values.
>
> Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>

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
Boris BREZILLON April 23, 2014, 2:06 p.m. UTC | #2
On 23/04/2014 15:48, Linus Walleij wrote:
> On Tue, Apr 22, 2014 at 3:38 PM, Boris BREZILLON
> <boris.brezillon@free-electrons.com> wrote:
>
>> List all sunxi pinctrl compatible strings in order to be able to grep for
>> those values.
>>
>> Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
> 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
Rob Herring April 23, 2014, 2:20 p.m. UTC | #3
On Tue, Apr 22, 2014 at 8:38 AM, Boris BREZILLON
<boris.brezillon@free-electrons.com> 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 <boris.brezillon@free-electrons.com>
> ---
>  .../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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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.