summaryrefslogtreecommitdiff
path: root/lib/semihosting.c
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@collabora.com>2023-05-15 12:59:47 +0300
committerKever Yang <kever.yang@rock-chips.com>2023-05-17 17:36:18 +0800
commitc57e0dcd9384c012b622abc7523cd45a2bf861f0 (patch)
treeaaa4e4fe51fcd22f46c8497f7d3c207bc3f9f4bd /lib/semihosting.c
parentadef6ebc06b6b1f2530c6d08c4c8919a10c96d58 (diff)
phy: add support for phy-supply
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. Reviewed-by: Kever Yang <kever.yang@rock-chips.com> [jonas@kwiboo.se: use regulator_set_enable_if_allowed and disable if power_on ops fails] Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Diffstat (limited to 'lib/semihosting.c')
0 files changed, 0 insertions, 0 deletions