u-boot/drivers
Patrice Chotard a1b2faed7c phy: Be able to get phy from PHY provider
In case of phy are provided from a PHY provider nodes as following:

usbphyc: usb-phy@5a006000 {
	compatible = "st,stm32mp1-usbphyc";
	reg = <0x5a006000 0x1000>;
	clocks = <&rcc_clk USBPHY_K>;
	resets = <&rcc_rst USBPHY_R>;
	#address-cells = <1>;
	#size-cells = <0>;

	usbphyc_port0: usb-phy@0 {
		reg = <0>;
		phy-supply = <&vdd_usb>;
		vdda1v1-supply = <&reg11>;
		vdda1v8-supply = <&reg18>
		#phy-cells = <0>;
	};

	usbphyc_port1: usb-phy@1 {
		reg = <1>;
		phy-supply = <&vdd_usb>;
		vdda1v1-supply = <&reg11>;
		vdda1v8-supply = <&reg18>
		#phy-cells = <1>;
	};
};

and PHY are called as following:

usbh_ehci: usbh-ehci@5800d000 {
	compatible = "generic-ehci";
	reg = <0x5800d000 0x1000>;
	clocks = <&rcc_clk USBH>;
	resets = <&rcc_rst USBH_R>;
	interrupts = <GIC_SPI 75 IRQ_TYPE_NONE>;
	companion = <&usbh_ohci>;
	phys = <&usbphyc_port0>;
	phy-names = "usb";
	status = "okay";
};

generic_phy_get_by_index() must be updated to first look for
PHY phandle as previously and in case of error looks for PHY
provider by finding the parent's current node which is the PHY
provider.
args (ofnode_phandle_args struct) must also be updated by inserting
the phy index into the PHY provider as args[0].

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
2018-07-19 16:31:35 -04:00
..
adc adc: meson-saradc: fix regmap_init_mem call 2018-06-19 07:31:46 -04:00
ata ata: ahci_mvebu: add scsi support 2018-05-29 08:33:05 +02:00
bios_emulator SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
block block: Add SPL_BLOCK_CACHE and default n 2018-06-18 14:43:13 -04:00
bootcount SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk clk: zynqmp: Fixed the same if/else part error reported by coverity 2018-07-19 10:49:53 +02:00
core dm: core: Add logging of some common errors 2018-07-09 09:11:00 -06:00
cpu cpu: bmips: fix probe to get the address 2018-07-11 14:23:55 +02:00
crypto SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr ddr: altera: Add ECC DRAM scrubbing support for Arria10 2018-07-12 09:22:12 +02:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dma SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fastboot usb: fastboot: Convert USB f_fastboot to shared fastboot 2018-05-30 11:59:21 +02:00
firmware SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fpga drivers: fpga: zynqpl: fix compilation with SPL 2018-07-19 10:49:57 +02:00
gpio microblaze: Convert generic platform to DM gpio 2018-07-19 10:49:55 +02:00
i2c lpi2c: Add bus busy error handling 2018-07-12 11:09:42 +02:00
input SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
led led: bcm6328: read base address in the parent node 2018-07-11 14:23:55 +02:00
mailbox SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc dm: core: Update of_read_fmap_entry() for livetree 2018-07-09 09:11:00 -06:00
mmc mmc: stm32_sdmmc2: update pwron management 2018-07-19 16:31:35 -04:00
mtd sf: add paired dev info for winbond w25q16jv 2018-07-16 14:17:13 +05:30
net net: sun8i-emac: support R40 GMAC 2018-07-16 12:27:27 +05:30
nvme SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pch SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci dm: pci: Use a 1:1 mapping for bus <-> phy addresses 2018-06-13 09:50:57 +08:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy phy: Be able to get phy from PHY provider 2018-07-19 16:31:35 -04:00
pinctrl pinctrl: renesas: Fix register usage in sh_pfc_{read,write} 2018-06-19 06:15:55 +02:00
power power: pmic: Let PFUZE3000 see all 256 registers 2018-06-27 09:47:46 +02:00
pwm pwm: sunxi: add support for PWM found on Allwinner A64 2018-05-15 08:18:09 +02:00
qe SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ram ram: bmips: convert to use live dt 2018-06-01 15:56:02 +02:00
remoteproc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reset reset: uniphier: sync reset data with Linux 4.18-rc1 2018-06-23 01:28:08 +09:00
rtc drivers/rtc: convert mvrtc to DM 2018-06-05 20:19:09 -04:00
scsi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial serial: zynq: Use platdata for storing static data instead of priv 2018-07-19 10:49:54 +02:00
soc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sound SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spi spi: zynqmp_gqspi: Add support for ZynqMP qspi driver 2018-07-16 14:01:47 +05:30
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset sysreset: Add support for Microblaze soft reset jump 2018-07-19 10:49:55 +02:00
thermal SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer x86: timer: tsc: Allow specifying clock rate from device tree again 2018-07-02 09:23:28 +08:00
tpm tpm: add a Sandbox TPMv2.x driver 2018-05-25 20:13:00 -04:00
usb sunxi: A64: OHCI: prevent turning off shared USB clock 2018-07-05 11:25:50 +02:00
video video: arm: rpi: Add brcm,bcm2708-fb compatible 2018-07-02 15:23:50 +02:00
watchdog watchdog: cadence: Do not stop wdt in probe 2018-07-19 10:49:56 +02:00
Kconfig Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2018-06-04 08:55:00 -04:00
Makefile reset: Rename CONFIG_SPL_RESET_SUPPORT to CONFIG_SPL_DM_RESET 2018-07-09 15:25:43 -04:00