Re: [PATCH v2 1/2] dt-bindings: Update iProc GPIO bindings

From: Rob Herring
Date: Wed May 04 2016 - 09:20:34 EST


On Mon, May 02, 2016 at 01:51:47PM -0700, Ray Jui wrote:
> Update the iProc GPIO binding document to add new compatible strings
> "brcm,iproc-gpio-v2" and "brcm,iproc-gpio-v3" for the 2nd and 3rd
> generation of the iProc GPIO controllers
>
> Signed-off-by: Ray Jui <ray.jui@xxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/pinctrl/brcm,iproc-gpio.txt | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/brcm,iproc-gpio.txt b/Documentation/devicetree/bindings/pinctrl/brcm,iproc-gpio.txt
> index e427792..3a56649 100644
> --- a/Documentation/devicetree/bindings/pinctrl/brcm,iproc-gpio.txt
> +++ b/Documentation/devicetree/bindings/pinctrl/brcm,iproc-gpio.txt
> @@ -4,7 +4,16 @@ Required properties:
>
> - compatible:
> Must be "brcm,cygnus-ccm-gpio", "brcm,cygnus-asiu-gpio",
> - "brcm,cygnus-crmu-gpio" or "brcm,iproc-gpio"
> + or "brcm,cygnus-crmu-gpio" for Cygnus SoCs
> +
> + "brcm,iproc-gpio" for the first generation of the GPIO controller that
> + supports full-featured pinctrl and GPIO functions used in iProc based SoCs
> +
> + "brcm,iproc-gpio-v2" for the second generation of the GPIO controller that
> + has the drive strength pinctrl support disabled, e.g., in the iProc NSP SoC
> +
> + "brcm,iproc-gpio-v3" for the third generation of the GPIO controller that
> + has the general pinctrl support completely disabled

You can have these for driver matching, but you still need SoC specific
compatible strings.

Rob