]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun4i: lime: Fix the USB PHY ID detect GPIO properties
authorMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 16 Apr 2019 08:57:42 +0000 (10:57 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 17 Apr 2019 14:56:39 +0000 (16:56 +0200)
While the USB PHY Device Tree mandates that the name of the ID detect pin
should be usb0_id_det-gpios, a significant number of device tree use
usb0_id_det-gpio instead.

This was functional because the GPIO framework falls back to the gpio
suffix that is legacy, but we should fix this. Commit 2c515b0d05a9
("ARM: sunxi: Fix the USB PHY ID detect GPIO properties") was supposed to
fix this, but one fell through the cracks.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts

index 7c1f379c3aede6a86b1c0e01bbdccef01f5c731d..a8e537fd4bd612637229c8221d5edb8926543fe6 100644 (file)
@@ -217,7 +217,7 @@ &usb_otg {
 };
 
 &usbphy {
-       usb0_id_det-gpio   = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */
+       usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */
        usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH5 */
        usb0_vbus-supply   = <&reg_usb0_vbus>;
        usb1_vbus-supply = <&reg_usb1_vbus>;