Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun8i-s3: impetus: Fix the USB PHY ID detect GPIO properties

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.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Jernej Skrabec <jernej.skrabec@siol.net>
Link: https://lore.kernel.org/r/20210114113538.1233933-12-maxime@cerno.tech

+1 -1
+1 -1
arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi
··· 39 39 }; 40 40 41 41 &usbphy { 42 - usb0_id_det-gpio = <&pio 5 6 GPIO_ACTIVE_HIGH>; 42 + usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; 43 43 status = "okay"; 44 44 };