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: <20250527-k230-binding-fix-v1-1-3c18ae5221ab@whut.edu.cn>
Date: Tue, 27 May 2025 00:23:35 +0800
From: Ze Huang <huangze@...t.edu.cn>
To: Linus Walleij <linus.walleij@...aro.org>, Rob Herring <robh@...nel.org>, 
 Krzysztof Kozlowski <krzk+dt@...nel.org>, 
 Conor Dooley <conor+dt@...nel.org>, Chen Wang <unicorn_wang@...look.com>, 
 Inochi Amaoto <inochiama@...il.com>
Cc: linux-gpio@...r.kernel.org, devicetree@...r.kernel.org, 
 linux-kernel@...r.kernel.org, sophgo@...ts.linux.dev, 
 Ze Huang <huangze@...t.edu.cn>
Subject: [PATCH] dt-bindings: pinctrl: k230: fix child node name patterns

Rename child node name patterns to align with conventions.

    uart0-pins      =>   uart0-cfg
        uart0-cfg            uart0-pins

This avoids potential confusion and improves consistency with existing
bindings like sophgo,sg2042-pinctrl and starfive,jh7110-aon-pinctrl.

Fixes: 561f3e9d21a1 ("dt-bindings: pinctrl: Add support for canaan,k230 SoC")
Signed-off-by: Ze Huang <huangze@...t.edu.cn>
---
 .../devicetree/bindings/pinctrl/canaan,k230-pinctrl.yaml          | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/canaan,k230-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/canaan,k230-pinctrl.yaml
index 0b462eb6dfe169a292bf716503c03d029f1ac7ee..f4e0da0bf7fa30af5132644109dbd371ddfc0228 100644
--- a/Documentation/devicetree/bindings/pinctrl/canaan,k230-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/canaan,k230-pinctrl.yaml
@@ -22,7 +22,7 @@ properties:
     maxItems: 1
 
 patternProperties:
-  '-pins$':
+  '-cfg$':
     type: object
     additionalProperties: false
     description:
@@ -30,7 +30,7 @@ patternProperties:
       pinctrl groups available on the machine.
 
     patternProperties:
-      '-cfg$':
+      '-pins$':
         type: object
         allOf:
           - $ref: /schemas/pinctrl/pincfg-node.yaml
@@ -112,8 +112,8 @@ examples:
         compatible = "canaan,k230-pinctrl";
         reg = <0x91105000 0x100>;
 
-        uart2-pins {
-            uart2-pins-cfg {
+        uart2-cfg {
+            uart2-pins {
                 pinmux = <0x503>, /* uart2 txd */
                          <0x603>; /* uart2 rxd */
                 slew-rate = <0>;

---
base-commit: 0a4b866d08c6adaea2f4592d31edac6deeb4dcbd
change-id: 20250526-k230-binding-fix-3125ff43f930

Best regards,
-- 
Ze Huang <huangze@...t.edu.cn>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ