Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
31 lines
780 B
Plaintext
31 lines
780 B
Plaintext
Texas Instruments TPS65217 and TPS65218 power button
|
|
|
|
This module is part of the TPS65217/TPS65218. For more details about the whole
|
|
TPS65217 chip see Documentation/devicetree/bindings/regulator/tps65217.txt.
|
|
|
|
This driver provides a simple power button event via an Interrupt.
|
|
|
|
Required properties:
|
|
- compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton"
|
|
|
|
Required properties:
|
|
- interrupts: should be one of the following
|
|
- <2>: For controllers compatible with tps65217
|
|
- <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218
|
|
|
|
Examples:
|
|
|
|
&tps {
|
|
tps65217-pwrbutton {
|
|
compatible = "ti,tps65217-pwrbutton";
|
|
interrupts = <2>;
|
|
};
|
|
};
|
|
|
|
&tps {
|
|
power-button {
|
|
compatible = "ti,tps65218-pwrbutton";
|
|
interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
|
|
};
|
|
};
|