[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqJvOZvw7BKYZRTf3gQwyVOmhva8BFHYF8-rf5uyo_HMUA@mail.gmail.com>
Date: Tue, 28 Mar 2023 08:57:37 -0500
From: Rob Herring <robh+dt@...nel.org>
To: "Peng Fan (OSS)" <peng.fan@....nxp.com>
Cc: linus.walleij@...aro.org, brgl@...ev.pl,
krzysztof.kozlowski+dt@...aro.org, shawnguo@...nel.org,
s.hauer@...gutronix.de, kernel@...gutronix.de, festevam@...il.com,
linux-imx@....com, stefan@...er.ch, linux-gpio@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Peng Fan <peng.fan@....com>
Subject: Re: [PATCH 1/2] dt-bindings: gpio: fsl-imx-gpio: update gpio-ranges
On Tue, Mar 28, 2023 at 12:24 AM Peng Fan (OSS) <peng.fan@....nxp.com> wrote:
>
> From: Peng Fan <peng.fan@....com>
>
> one is not enough for i.MX8, so enlarge it.
But it wasn't 1, it was unbounded. As dtbs_check shows, the new bounds
aren't right either.
>
> Signed-off-by: Peng Fan <peng.fan@....com>
> ---
> Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
> index be56c3faec0f..e303455eadce 100644
> --- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
> +++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
> @@ -66,7 +66,10 @@ properties:
>
> gpio-controller: true
> gpio-line-names: true
> - gpio-ranges: true
> +
> + gpio-ranges:
> + minItems: 1
> + maxItems: 16
>
> power-domains:
> maxItems: 1
> --
> 2.37.1
>
Powered by blists - more mailing lists