tegrakernel/kernel/kernel-4.9/Documentation/devicetree/bindings/regulator/tps65132.txt

50 lines
1.5 KiB
Plaintext
Raw Normal View History

2022-02-16 09:13:02 -06:00
TPS65132 regulators
Required properties:
- compatible: "ti,tps65132"
- reg: I2C slave address
Optional Subnode:
Device supports two regulators OUTP and OUTN. A sub node within the
device node descrbe the properties of these regulators. The sub-node
names must be as follows:
-For regulator outp, the sub node name should be "outp".
-For regulator outn, the sub node name should be "outn".
-ti,enable-gpio: Regulators are controlled by the input pins. If
it is connected to GPIO through host system then provide the
gpio number as per gpio.txt.
-ti,disable-active-discharge: Boolean, presence of this property
will disable active discharge on the regulator output.
-ti,active-discharge-gpio: Some configurations use delay mechanisms
on the enable pin, to keep the regulator enabled for some time after
the enable signal goes low. This GPIO is used to actively discharge
the delay mechanism. Requires specification of ti,active-discharge-time
-ti,active-discharge-time: how long the active discharge gpio should be
asserted for during active discharge, in microseconds.
Each regulator is defined using the standard binding for regulators.
Example:
tps65132@3e {
compatible = "ti,tps65132";
reg = <0x3e>;
vin-supply = <&some_reg>;
outp {
regulator-name = "outp";
regulator-boot-on;
regulator-always-on;
ti,enable-gpio = <&gpio 23 0>;
};
outn {
regulator-name = "outn";
regulator-boot-on;
regulator-always-on;
ti,enable-gpio = <&gpio 40 0>;
};
};