u-boot/drivers/phy
Andre Przywara ab4c636484 phy: sun4i-usb: Determine USB OTG detection pin from devicetree
So far Allwinner boards controlled the USB OTG ID detection via the
respective GPIO pin specified in Kconfig, as a string. All boards should
have the same GPIO already specified in the devicetree, in the
usb0_id_det-gpios property.

Convert the usage of the Kconfig configured GPIO over to query that
information from the devicetree, then use the existing DM GPIO
infrastructure to request the GPIO.
Only PHY0 supports USB-OTG, so limit the GPIO request to that PHY, to
avoid claiming it multiple times.

This removes the need to name that GPIO in the defconfig file.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
2025-04-28 12:45:44 -06:00
..
allwinner phy: sun4i-usb: Determine USB OTG detection pin from devicetree 2025-04-28 12:45:44 -06:00
cadence Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
marvell drivers: phy: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
qcom phy: phy-qcom-qusb2: Fix USB PHY power on sequence 2025-04-10 15:43:12 +02:00
renesas Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
rockchip phy: rockchip-inno-usb2: Add support for RK3528 2025-04-23 22:12:04 +08:00
socionext Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
starfive usb: cdns: starfive: Get dr mode from wrapper device dts node 2025-03-17 01:55:19 +01:00
ti Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
bcm6318-usbh-phy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcm6348-usbh-phy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcm6358-usbh-phy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcm6368-usbh-phy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig phy: rcar: Support RZ/G2L USB PHY 2025-03-19 03:36:19 +01:00
keystone-usb-phy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Makefile Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
meson-axg-mipi-dphy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
meson-axg-mipi-pcie-analog.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
meson-g12a-usb2.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
meson-g12a-usb3-pcie.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
meson-gxbb-usb2.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
meson-gxl-usb2.c phy: meson-gxl-usb2: remove phy_meson_gxl_usb2_set_mode 2024-06-25 15:25:10 +02:00
mt76x8-usb-phy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mt7620-usb-phy.c phy: add USB PHY driver for MediaTek MT7620 SoC 2021-01-24 21:39:26 +01:00
nop-phy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
omap-usb2-phy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
phy-ab8500-usb.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
phy-apple-atc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
phy-bcm-sr-pcie.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
phy-core-mipi-dphy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
phy-da8xx-usb.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
phy-imx8m-pcie.c phy: phy-imx8m-pcie: Add support for i.MX8M{M/P} PCIe PHY 2024-03-24 13:35:59 -03:00
phy-imx8mq-usb.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
phy-mtk-tphy.c phy: phy-mtk-tphy: add support for phy type switch 2024-07-08 11:45:50 -06:00
phy-npcm-usb.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
phy-rcar-gen2.c phy: renesas: Fix R-Car spelling 2024-12-11 08:36:24 +01:00
phy-rcar-gen3.c phy: rcar: Support RZ/G2L USB PHY 2025-03-19 03:36:19 +01:00
phy-stm32-usbphyc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
phy-ti-am654.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
phy-uclass.c phy: don't spam console if phys property is absent in device node 2024-12-18 18:58:59 -06:00
phy-zynqmp.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sandbox-phy.c phy: test: Implement sandbox PHY .set_mode and DM test 2024-09-09 17:18:04 +02:00
sti_usb_phy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ti-pipe3-phy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00