lkml.org 
[lkml]   [2023]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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@oss.nxp.com> wrote:
>
> From: Peng Fan <peng.fan@nxp.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@nxp.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
>

\
 
 \ /
  Last update: 2023-03-28 15:58    [W:0.100 / U:1.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site