[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ec6fd9eb-f46d-afa9-b08b-15e202b3a624@linaro.org>
Date: Wed, 10 Aug 2022 17:46:21 +0300
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Shenwei Wang <shenwei.wang@....com>, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, linus.walleij@...aro.org,
brgl@...ev.pl, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com, linux-imx@....com
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
imx@...ts.linux.dev
Subject: Re: [PATCH v3 1/3] dt-bindings: gpio: Add imx scu gpio driver
bindings
On 10/08/2022 16:30, Shenwei Wang wrote:
> Add binding document for the imx scu gpio driver.
>
> Signed-off-by: Shenwei Wang <shenwei.wang@....com>
> ---
> .../bindings/gpio/fsl,imx-sc-gpio.yaml | 40 +++++++++++++++++++
> 1 file changed, 40 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/gpio/fsl,imx-sc-gpio.yaml
>
> diff --git a/Documentation/devicetree/bindings/gpio/fsl,imx-sc-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl,imx-sc-gpio.yaml
> new file mode 100644
> index 000000000000..66abff316c0c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/gpio/fsl,imx-sc-gpio.yaml
> @@ -0,0 +1,40 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/gpio/fsl,imx-sc-gpio.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: GPIO driver over IMX SCU firmware API
> +
> +maintainers:
> + - Shenwei Wang <shenwei.wang@....com>
> +
> +description: |
> + This module provides the standard interface to control the
> + resource pins in SCU domain on i.MX8 platforms.
> +
> +properties:
> + compatible:
> + enum:
> + - fsl,imx8qxp-sc-gpio
> + - fsl,imx-scu-gpio
This is too generic compatible and it even conflicts with the above...
Your driver binds to both without driver data which is even more
confusing. Make the compatible specific for one, given SoC.
Best regards,
Krzysztof
Powered by blists - more mailing lists