regulator: Add support for ramp delay
Changing voltage and enabling regulator might require delays so the regulator stabilizes at expected level. Add support for "regulator-ramp-delay" binding which can introduce required time to both enabling the regulator and to changing the voltage. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
committed by
Minkyu Kang
parent
fce8610060
commit
e66d1cb3c2
@@ -35,6 +35,7 @@ Optional properties:
|
||||
- regulator-max-microamp: a maximum allowed Current value
|
||||
- regulator-always-on: regulator should never be disabled
|
||||
- regulator-boot-on: enabled by bootloader/firmware
|
||||
- regulator-ramp-delay: ramp delay for regulator (in uV/us)
|
||||
|
||||
Note
|
||||
The "regulator-name" constraint is used for setting the device's uclass
|
||||
@@ -60,4 +61,5 @@ ldo0 {
|
||||
regulator-max-microamp = <100000>;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
regulator-ramp-delay = <12000>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user