]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: nuvoton: Align GPIO hog name with bindings
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 16 Jan 2025 09:00:47 +0000 (10:00 +0100)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Tue, 8 Apr 2025 01:59:37 +0000 (11:29 +0930)
Bindings expect GPIO hog names to end with 'hog' suffix, so correct it
to fix dtbs_check warnings like:

  nuvoton-npcm750-runbmc-olympus.dtb: G1A_P0_0: $nodename:0: 'G1A_P0_0' does not match '^.+-hog(-[0-9]+)?$'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250116090047.87499-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/nuvoton/nuvoton-npcm730-gbs.dts
arch/arm/boot/dts/nuvoton/nuvoton-npcm750-runbmc-olympus.dts

index c3501786d600c8a2abd8dc6bc43d1f95cd4d2e79..231228842e630d08991ee243b27916729722a5b9 100644 (file)
                "","","","SIO_POWER_GOOD","","","","";
        };
        gpio2: gpio@f0012000 {
-               bmc_usb_mux_oe_n {
+               bmc-usb-mux-oe-n-hog {
                        gpio-hog;
                        gpios = <25 GPIO_ACTIVE_HIGH>;
                        output-low;
                        line-name = "bmc-usb-mux-oe-n";
                };
-               bmc_usb_mux_sel {
+               bmc-usb-mux-sel-hog {
                        gpio-hog;
                        gpios = <26 GPIO_ACTIVE_HIGH>;
                        output-low;
                        line-name = "bmc-usb-mux-sel";
                };
-               bmc_usb2517_reset_n {
+               bmc-usb2517-reset-n-hog {
                        gpio-hog;
                        gpios = <27 GPIO_ACTIVE_LOW>;
                        output-low;
                };
        };
        gpio3: gpio@f0013000 {
-               assert_cpu0_reset {
+               assert-cpu0-reset-hog {
                        gpio-hog;
                        gpios = <14 GPIO_ACTIVE_HIGH>;
                        output-low;
                        line-name = "assert-cpu0-reset";
                };
-               assert_pwrok_cpu0_n {
+               assert-pwrok-cpu0-n-hog {
                        gpio-hog;
                        gpios = <15 GPIO_ACTIVE_HIGH>;
                        output-low;
                        line-name = "assert-pwrok-cpu0-n";
                };
-               assert_cpu0_prochot {
+               assert-cpu0-prochot-hog {
                        gpio-hog;
                        gpios = <16 GPIO_ACTIVE_HIGH>;
                        output-low;
index f67ede14820926199b119bbebe0ac0477ad1c5aa..0c94e14d40e83ef03fb182085ef982fed0d99323 100644 (file)
                gpio-controller;
                #gpio-cells = <2>;
                reset-gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
-               G1A_P0_0 {
+               g1a-p0-0-hog {
                        gpio-hog;
                        gpios = <0 0>;
                        output-high;
                        line-name = "TPM_BMC_ALERT_N";
                };
-               G1A_P0_1 {
+               g1a-p0-1-hog {
                        gpio-hog;
                        gpios = <1 0>;
                        input;
                        line-name = "FM_BIOS_TOP_SWAP";
                };
-               G1A_P0_2 {
+               g1a-p0-2-hog {
                        gpio-hog;
                        gpios = <2 0>;
                        input;
                        line-name = "FM_BIOS_PREFRB2_GOOD";
                };
-               G1A_P0_3 {
+               g1a-p0-3-hog {
                        gpio-hog;
                        gpios = <3 0>;
                        input;
                        line-name = "BMC_SATAXPCIE_0TO3_SEL";
                };
-               G1A_P0_4 {
+               g1a-p0-4-hog {
                        gpio-hog;
                        gpios = <4 0>;
                        input;
                        line-name = "BMC_SATAXPCIE_4TO7_SEL";
                };
-               G1A_P0_5 {
+               g1a-p0-5-hog {
                        gpio-hog;
                        gpios = <5 0>;
                        output-low;
                        line-name = "FM_UV_ADR_TRIGGER_EN_N";
                };
-               G1A_P0_6 {
+               g1a-p0-6-hog {
                        gpio-hog;
                        gpios = <6 0>;
                        input;
                        line-name = "RM_THROTTLE_EN_N";
                };
-               G1A_P1_0 {
+               g1a-p1-0-hog {
                        gpio-hog;
                        gpios = <8 0>;
                        input;
                        line-name = "FM_BMC_TPM_PRES_N";
                };
-               G1A_P1_1 {
+               g1a-p1-1-hog {
                        gpio-hog;
                        gpios = <9 0>;
                        input;
                        line-name = "FM_CPU0_SKTOCC_LVT3_N";
                };
-               G1A_P1_2 {
+               g1a-p1-2-hog {
                        gpio-hog;
                        gpios = <10 0>;
                        input;
                        line-name = "FM_CPU1_SKTOCC_LVT3_N";
                };
-               G1A_P1_3 {
+               g1a-p1-3-hog {
                        gpio-hog;
                        gpios = <11 0>;
                        input;
                        line-name = "PSU1_ALERT_N";
                };
-               G1A_P1_4 {
+               g1a-p1-4-hog {
                        gpio-hog;
                        gpios = <12 0>;
                        input;
                        line-name = "PSU2_ALERT_N";
                };
-               G1A_P1_5 {
+               g1a-p1-5-hog {
                        gpio-hog;
                        gpios = <13 0>;
                        input;
                        line-name = "H_CPU0_FAST_WAKE_LVT3_N";
                };
-               G1A_P1_6 {
+               g1a-p1-6-hog {
                        gpio-hog;
                        gpios = <14 0>;
                        output-high;
                        line-name = "I2C_MUX1_RESET_N";
                };
-               G1A_P1_7 {
+               g1a-p1-7-hog {
                        gpio-hog;
                        gpios = <15 0>;
                        input;
                reg = <0x75>;
                gpio-controller;
                #gpio-cells = <2>;
-               G1B_P0_0 {
+               g1b-p0-0-hog {
                        gpio-hog;
                        gpios = <0 0>;
                        input;
                        line-name = "PVDDQ_ABC_PINALERT_N";
                };
-               G1B_P0_1 {
+               g1b-p0-1-hog {
                        gpio-hog;
                        gpios = <1 0>;
                        input;
                        line-name = "PVDDQ_DEF_PINALERT_N";
                };
-               G1B_P0_2 {
+               g1b-p0-2-hog {
                        gpio-hog;
                        gpios = <2 0>;
                        input;
                        line-name = "PVDDQ_GHJ_PINALERT_N";
                };
-               G1B_P0_3 {
+               g1b-p0-3-hog {
                        gpio-hog;
                        gpios = <3 0>;
                        input;
                        line-name = "PVDDQ_KLM_PINALERT_N";
                };
-               G1B_P0_5 {
+               g1b-p0-5-hog {
                        gpio-hog;
                        gpios = <5 0>;
                        input;
                        line-name = "FM_BOARD_REV_ID0";
                };
-               G1B_P0_6 {
+               g1b-p0-6-hog {
                        gpio-hog;
                        gpios = <6 0>;
                        input;
                        line-name = "FM_BOARD_REV_ID1";
                };
-               G1B_P0_7 {
+               g1b-p0-7-hog {
                        gpio-hog;
                        gpios = <7 0>;
                        input;
                        line-name = "FM_BOARD_REV_ID2";
                };
-               G1B_P1_0 {
+               g1b-p1-0-hog {
                        gpio-hog;
                        gpios = <8 0>;
                        input;
                        line-name = "FM_OC_DETECT_EN_N";
                };
-               G1B_P1_1 {
+               g1b-p1-1-hog {
                        gpio-hog;
                        gpios = <9 0>;
                        input;
                        line-name = "FM_FLASH_DESC_OVERRIDE";
                };
-               G1B_P1_2 {
+               g1b-p1-2-hog {
                        gpio-hog;
                        gpios = <10 0>;
                        output-low;
                        line-name = "FP_PWR_ID_LED_N";
                };
-               G1B_P1_3 {
+               g1b-p1-3-hog {
                        gpio-hog;
                        gpios = <11 0>;
                        output-low;
                        line-name = "BMC_LED_PWR_GRN";
                };
-               G1B_P1_4 {
+               g1b-p1-4-hog {
                        gpio-hog;
                        gpios = <12 0>;
                        output-low;
                        line-name = "BMC_LED_PWR_AMBER";
                };
-               G1B_P1_5 {
+               g1b-p1-5-hog {
                        gpio-hog;
                        gpios = <13 0>;
                        output-high;
                        line-name = "FM_BMC_FAULT_LED_N";
                };
-               G1B_P1_6 {
+               g1b-p1-6-hog {
                        gpio-hog;
                        gpios = <14 0>;
                        output-high;
                        line-name = "FM_CPLD_BMC_PWRDN_N";
                };
-               G1B_P1_7 {
+               g1b-p1-7-hog {
                        gpio-hog;
                        gpios = <15 0>;
                        output-high;
                gpio-controller;
                #gpio-cells = <2>;
                reset-gpios = <&gpio5 28 GPIO_ACTIVE_LOW>;
-               G2A_P0_0 {
+               g2a-p0-0-hog {
                        gpio-hog;
                        gpios = <0 0>;
                        output-high;
                        line-name = "BMC_PON_RST_REQ_N";
                };
-               G2A_P0_1 {
+               g2a-p0-1-hog {
                        gpio-hog;
                        gpios = <1 0>;
                        output-high;
                        line-name = "BMC_RST_IND_REQ_N";
                };
-               G2A_P0_2 {
+               g2a-p0-2-hog {
                        gpio-hog;
                        gpios = <2 0>;
                        input;
                        line-name = "RST_BMC_RTCRST";
                };
-               G2A_P0_3 {
+               g2a-p0-3-hog {
                        gpio-hog;
                        gpios = <3 0>;
                        output-high;
                        line-name = "FM_BMC_PWRBTN_OUT_N";
                };
-               G2A_P0_4 {
+               g2a-p0-4-hog {
                        gpio-hog;
                        gpios = <4 0>;
                        output-high;
                        line-name = "RST_BMC_SYSRST_BTN_OUT_N";
                };
-               G2A_P0_5 {
+               g2a-p0-5-hog {
                        gpio-hog;
                        gpios = <5 0>;
                        output-high;
                        line-name = "FM_BATTERY_SENSE_EN_N";
                };
-               G2A_P0_6 {
+               g2a-p0-6-hog {
                        gpio-hog;
                        gpios = <6 0>;
                        output-high;
                        line-name = "FM_BMC_READY_N";
                };
-               G2A_P0_7 {
+               g2a-p0-7-hog {
                        gpio-hog;
                        gpios = <7 0>;
                        input;
                        line-name = "IRQ_BMC_PCH_SMI_LPC_N";
                };
-               G2A_P1_0 {
+               g2a-p1-0-hog {
                        gpio-hog;
                        gpios = <8 0>;
                        input;
                        line-name = "FM_SLOT4_CFG0";
                };
-               G2A_P1_1 {
+               g2a-p1-1-hog {
                        gpio-hog;
                        gpios = <9 0>;
                        input;
                        line-name = "FM_SLOT4_CFG1";
                };
-               G2A_P1_2 {
+               g2a-p1-2-hog {
                        gpio-hog;
                        gpios = <10 0>;
                        input;
                        line-name = "FM_NVDIMM_EVENT_N";
                };
-               G2A_P1_3 {
+               g2a-p1-3-hog {
                        gpio-hog;
                        gpios = <11 0>;
                        input;
                        line-name = "PSU1_BLADE_EN_N";
                };
-               G2A_P1_4 {
+               g2a-p1-4-hog {
                        gpio-hog;
                        gpios = <12 0>;
                        input;
                        line-name = "BMC_PCH_FNM";
                };
-               G2A_P1_5 {
+               g2a-p1-5-hog {
                        gpio-hog;
                        gpios = <13 0>;
                        input;
                        line-name = "FM_SOL_UART_CH_SEL";
                };
-               G2A_P1_6 {
+               g2a-p1-6-hog {
                        gpio-hog;
                        gpios = <14 0>;
                        input;
                reg = <0x75>;
                gpio-controller;
                #gpio-cells = <2>;
-               G2B_P0_0 {
+               g2b-p0-0-hog {
                        gpio-hog;
                        gpios = <0 0>;
                        input;
                        line-name = "FM_CPU_MSMI_LVT3_N";
                };
-               G2B_P0_1 {
+               g2b-p0-1-hog {
                        gpio-hog;
                        gpios = <1 0>;
                        input;
                        line-name = "FM_BIOS_MRC_DEBUG_MSG_DIS";
                };
-               G2B_P0_2 {
+               g2b-p0-2-hog {
                        gpio-hog;
                        gpios = <2 0>;
                        input;
                        line-name = "FM_CPU1_DISABLE_BMC_N";
                };
-               G2B_P0_3 {
+               g2b-p0-3-hog {
                        gpio-hog;
                        gpios = <3 0>;
                        output-low;
                        line-name = "BMC_JTAG_SELECT";
                };
-               G2B_P0_4 {
+               g2b-p0-4-hog {
                        gpio-hog;
                        gpios = <4 0>;
                        output-high;
                        line-name = "PECI_MUX_SELECT";
                };
-               G2B_P0_5 {
+               g2b-p0-5-hog {
                        gpio-hog;
                        gpios = <5 0>;
                        output-high;
                        line-name = "I2C_MUX2_RESET_N";
                };
-               G2B_P0_6 {
+               g2b-p0-6-hog {
                        gpio-hog;
                        gpios = <6 0>;
                        input;
                        line-name = "FM_BMC_CPLD_PSU2_ON";
                };
-               G2B_P0_7 {
+               g2b-p0-7-hog {
                        gpio-hog;
                        gpios = <7 0>;
                        output-high;
                        line-name = "PSU2_ALERT_EN_N";
                };
-               G2B_P1_0 {
+               g2b-p1-0-hog {
                        gpio-hog;
                        gpios = <8 0>;
                        output-high;
                        line-name = "FM_CPU_BMC_INIT";
                };
-               G2B_P1_1 {
+               g2b-p1-1-hog {
                        gpio-hog;
                        gpios = <9 0>;
                        output-high;
                        line-name = "IRQ_BMC_PCH_SCI_LPC_N";
                };
-               G2B_P1_2 {
+               g2b-p1-2-hog {
                        gpio-hog;
                        gpios = <10 0>;
                        output-low;
                        line-name = "PMB_ALERT_EN_N";
                };
-               G2B_P1_3 {
+               g2b-p1-3-hog {
                        gpio-hog;
                        gpios = <11 0>;
                        output-high;
                        line-name = "FM_FAST_PROCHOT_EN_N";
                };
-               G2B_P1_4 {
+               g2b-p1-4-hog {
                        gpio-hog;
                        gpios = <12 0>;
                        output-high;
                        line-name = "BMC_NVDIMM_PRSNT_N";
                };
-               G2B_P1_5 {
+               g2b-p1-5-hog {
                        gpio-hog;
                        gpios = <13 0>;
                        output-low;
                        line-name = "FM_BACKUP_BIOS_SEL_H_BMC";
                };
-               G2B_P1_6 {
+               g2b-p1-6-hog {
                        gpio-hog;
                        gpios = <14 0>;
                        output-high;