]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: ti: davinci: Align GPIO hog name with bindings
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 16 Jan 2025 09:00:30 +0000 (10:00 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 3 Feb 2025 08:11:33 +0000 (09:11 +0100)
Bindings expect GPIO hog names to end with 'hog' suffix, so correct it
to fix dtbs_check warnings like:

  da850-lego-ev3.dtb: batt_volt_en: $nodename:0: 'batt_volt_en' does not match '^.+-hog(-[0-9]+)?$'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: David Lechner <david@lechnology.com>
Link: https://lore.kernel.org/r/20250116090030.87452-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
arch/arm/boot/dts/ti/davinci/da850-lego-ev3.dts

index 4df10379ff2215794f5c2e2e8c817adad5cacd43..173401c58d534f9e326c91ebb49d712eb00ee9f5 100644 (file)
        status = "okay";
 
        /* Don't pull down battery voltage adc io channel */
-       batt_volt_en {
+       batt-volt-en-hog {
                gpio-hog;
                gpios = <6 GPIO_ACTIVE_HIGH>;
                output-high;
        };
 
        /* Don't impede Bluetooth clock signal */
-       bt_clock_en {
+       bt-clock-en-hog {
                gpio-hog;
                gpios = <5 GPIO_ACTIVE_HIGH>;
                input;
         * anything, but they are present in the source code from LEGO.
         */
 
-       bt_pic_en {
+       bt-pic-en-hog {
                gpio-hog;
                gpios = <51 GPIO_ACTIVE_HIGH>;
                output-low;
        };
 
-       bt_pic_rst {
+       bt-pic-rst-hog {
                gpio-hog;
                gpios = <78 GPIO_ACTIVE_HIGH>;
                output-high;
        };
 
-       bt_pic_cts {
+       bt-pic-cts-hog {
                gpio-hog;
                gpios = <87 GPIO_ACTIVE_HIGH>;
                input;