freebsd-skq/sys/dev/extres
manu 62a17e539a regulator: Add a regnode_set_constraint function
This method check that boot_on or always_on is set to 1 and if it
is it will try to enable the regulator.
The binding docs aren't clear on what to do but Linux enable the regulator
if any of those properties is set so we want to do the same.
The function first check the status to see if the regulator is
already enabled it then get the voltage to check if it is in a acceptable
range and then enables it.
This will be either called from the regnode_init method (if it's needed by the platform)
or by a SYSINIT at SI_SUB_LAST

Reviewed by:	mmel
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D22106
2019-10-23 09:56:53 +00:00
..
clk allwinner: Add a new clock aw_clk_m 2019-08-10 18:50:37 +00:00
hwreset
nvmem
phy
regulator regulator: Add a regnode_set_constraint function 2019-10-23 09:56:53 +00:00
syscon Add method for getting of syscon handle from parent device. 2019-08-18 08:08:56 +00:00