]> git.baikalelectronics.ru Git - uboot.git/commit
phy: stm32-usbphyc: add counter of PLL consumer
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 26 Apr 2022 12:37:47 +0000 (14:37 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 6 Sep 2022 11:54:50 +0000 (13:54 +0200)
commitb5b749f2590ebeae465943f36ad34e0470dd7ba9
tree7e091fac99a84c7c8f6b24d041cc9569df7262b7
parent36b7f3402879d4d636b0a547ddf5e02cdc51e109
phy: stm32-usbphyc: add counter of PLL consumer

Add the counter of the PLL user n_pll_cons managed by the 2 functions
stm32_usbphyc_pll_enable / stm32_usbphyc_pll_disable.

This counter allow to remove the function stm32_usbphyc_is_init
and it is a preliminary step for ck_usbo_48m introduction.

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