]> git.baikalelectronics.ru Git - uboot.git/commit
phy: stm32-usbphyc: stm32: usbphyc: add protection on phy sub-node
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 14 Sep 2021 12:31:17 +0000 (14:31 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 8 Oct 2021 06:19:59 +0000 (08:19 +0200)
commit04d17a93a4ce516e8dbc8bacaa09165ad44ce1da
tree2ecea65e8014cbb1670b7617efad4b8d0af2ce65
parent377d3269acfd30a4c57c5dc2c872a3b41fa4290e
phy: stm32-usbphyc: stm32: usbphyc: add protection on phy sub-node

Add protection on presence and order of the phy node sub node
by using the mandatory reg information.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/phy/phy-stm32-usbphyc.c