Re: [PATCH v5 3/6] phy: add support for phy-supply

2023-05-06 Thread Kever Yang
On 2023/4/19 21:40, Eugen Hristev wrote: Some phys require a phy-supply property that is a phandle to a regulator that needs to be enabled for phy operations. Implement basic supply lookup, enable and disabling, if DM_REGULATOR is available. [jo...@kwiboo.se: use

[PATCH v5 3/6] phy: add support for phy-supply

2023-04-19 Thread Eugen Hristev
Some phys require a phy-supply property that is a phandle to a regulator that needs to be enabled for phy operations. Implement basic supply lookup, enable and disabling, if DM_REGULATOR is available. [jo...@kwiboo.se: use regulator_set_enable_if_allowed and disable if power_on ops fails]