Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: robh@kernel.org (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] dt-bindings: pinctrl: uniphier: add UniPhier pinctrl binding
Date: Tue, 28 Nov 2017 09:27:06 -0600	[thread overview]
Message-ID: <20171128152706.pg3tndrrne3nhduy@rob-hp-laptop> (raw)
In-Reply-To: <1511855386-10421-1-git-send-email-yamada.masahiro@socionext.com>

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 at 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 at 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2017-11-28 15:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-28  7:49 [PATCH] dt-bindings: pinctrl: uniphier: add UniPhier pinctrl binding Masahiro Yamada
2017-11-28 15:27 ` Rob Herring [this message]
2017-11-29  3:44   ` Masahiro Yamada
2017-11-30 20:24     ` Rob Herring
2017-12-02 15:32 ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171128152706.pg3tndrrne3nhduy@rob-hp-laptop \
    --to=robh@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox