]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: ti: k3-am642-evm-nand: Rename pinctrl node and gpio-hog names
authorNishanth Menon <nm@ti.com>
Fri, 30 Aug 2024 11:31:37 +0000 (06:31 -0500)
committerNishanth Menon <nm@ti.com>
Sun, 1 Sep 2024 18:39:00 +0000 (13:39 -0500)
Rename the pin mux and gpio-hog node names to match up with binding
rules. This fixes dtbs_check warnings:
'gpmc0-pins-default' does not match any of the regexes: '-pins(-[0-9]+)?$|-pin$', 'pinctrl-[0-9]+'
'gpio0-36' does not match '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$'

While at it, change the phandle name to be consistent with the pinctrl
naming.

Reviewed-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20240830113137.3986091-1-nm@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso

index f08c0e272b53a6ca0bc34f64c19494de5c79f3ca..92faf762894c8be35191f2f161d0d49bf8f53aac 100644 (file)
@@ -12,7 +12,7 @@
 #include "k3-pinctrl.h"
 
 &main_pmx0 {
-       gpmc0_pins_default: gpmc0-pins-default {
+       gpmc0_default_pins: gpmc0-default-pins {
                bootph-all;
                pinctrl-single,pins = <
                        AM64X_IOPAD(0x0094, PIN_INPUT, 7) /* (T19) GPMC0_BE1n.GPIO0_36 */
@@ -50,7 +50,7 @@
 };
 
 &main_gpio0 {
-       gpio0-36 {
+       gpmc0-hog {
                bootph-all;
                gpio-hog;
                gpios = <36 0>;
@@ -67,7 +67,7 @@
 &gpmc0 {
        status = "okay";
        pinctrl-names = "default";
-       pinctrl-0 = <&gpmc0_pins_default>;
+       pinctrl-0 = <&gpmc0_default_pins>;
        #address-cells = <2>;
        #size-cells = <1>;