lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230330100550.2049687-1-peng.fan@oss.nxp.com>
Date:   Thu, 30 Mar 2023 18:05:49 +0800
From:   "Peng Fan (OSS)" <peng.fan@....nxp.com>
To:     linus.walleij@...aro.org, brgl@...ev.pl, robh+dt@...nel.org,
        krzysztof.kozlowski+dt@...aro.org
Cc:     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>,
        Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: [PATCH V2 1/2] dt-bindings: gpio: fsl-imx-gpio: update gpio-ranges

From: Peng Fan <peng.fan@....com>

And bounds for gpio-ranges to address dtbs_error.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Signed-off-by: Peng Fan <peng.fan@....com>
---
V2:
 Enlarge bounds to 32, since it max supports 32 pins
 Add A-b

 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..bb9b40ef3112 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: 32
 
   power-domains:
     maxItems: 1
-- 
2.37.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ