mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
cef49102c1
The fixed regulator driver uses of_get_fixed_voltage_config() to extract fixed_voltage_config structure contents from device tree. Also add documenation for additional bindings for fixed regulators that can be passed through dt. Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
30 lines
830 B
Plaintext
30 lines
830 B
Plaintext
Fixed Voltage regulators
|
|
|
|
Required properties:
|
|
- compatible: Must be "regulator-fixed";
|
|
|
|
Optional properties:
|
|
- gpio: gpio to use for enable control
|
|
- startup-delay-us: startup time in microseconds
|
|
- enable-active-high: Polarity of GPIO is Active high
|
|
If this property is missing, the default assumed is Active low.
|
|
|
|
Any property defined as part of the core regulator
|
|
binding, defined in regulator.txt, can also be used.
|
|
However a fixed voltage regulator is expected to have the
|
|
regulator-min-microvolt and regulator-max-microvolt
|
|
to be the same.
|
|
|
|
Example:
|
|
|
|
abc: fixedregulator@0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "fixed-supply";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
gpio = <&gpio1 16 0>;
|
|
startup-delay-us = <70000>;
|
|
enable-active-high;
|
|
regulator-boot-on
|
|
};
|