arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node names
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 25 Oct 2023 09:38:15 +0000 (11:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2023 17:45:27 +0000 (18:45 +0100)
commit 24165c5dad7ba7c7624d05575a5e0cc851396c71 upstream.

Fix a unit_address_vs_reg warning for the USB VBUS fixed regulators
by renaming the regulator nodes from regulator@{0,1} to regulator-usb-p0
and regulator-usb-p1.

Cc: stable@vger.kernel.org
Fixes: c0891284a74a ("arm64: dts: mediatek: add USB3 DRD driver")
Link: https://lore.kernel.org/r/20231025093816.44327-8-angelogioacchino.delregno@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/mediatek/mt8173-evb.dts

index 5122963..d258c80 100644 (file)
@@ -44,7 +44,7 @@
                id-gpio = <&pio 16 GPIO_ACTIVE_HIGH>;
        };
 
-       usb_p1_vbus: regulator@0 {
+       usb_p1_vbus: regulator-usb-p1 {
                compatible = "regulator-fixed";
                regulator-name = "usb_vbus";
                regulator-min-microvolt = <5000000>;
@@ -53,7 +53,7 @@
                enable-active-high;
        };
 
-       usb_p0_vbus: regulator@1 {
+       usb_p0_vbus: regulator-usb-p0 {
                compatible = "regulator-fixed";
                regulator-name = "vbus";
                regulator-min-microvolt = <5000000>;