mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 00:47:11 +07:00
b0fc1da4d0
Support for loading twl4030-power module via devicetree. For now, when booting with a DT, only the poweroff callback feature is supported through the ti,use_poweroff property. Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
29 lines
769 B
Plaintext
29 lines
769 B
Plaintext
Texas Instruments TWL family (twl4030) reset and power management module
|
|
|
|
The power management module inside the TWL family provides several facilities
|
|
to control the power resources, including power scripts. For now, the
|
|
binding only supports the complete shutdown of the system after poweroff.
|
|
|
|
Required properties:
|
|
- compatible : must be "ti,twl4030-power"
|
|
|
|
Optional properties:
|
|
- ti,use_poweroff: With this flag, the chip will initiates an ACTIVE-to-OFF or
|
|
SLEEP-to-OFF transition when the system poweroffs.
|
|
|
|
Example:
|
|
&i2c1 {
|
|
clock-frequency = <2600000>;
|
|
|
|
twl: twl@48 {
|
|
reg = <0x48>;
|
|
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
|
|
interrupt-parent = <&intc>;
|
|
|
|
twl_power: power {
|
|
compatible = "ti,twl4030-power";
|
|
ti,use_poweroff;
|
|
};
|
|
};
|
|
};
|