regulator: dt-bindings: Add TI TPS65219 PMIC bindings
authorJerome Neanne <jneanne@baylibre.com>
Fri, 5 Aug 2022 12:18:46 +0000 (14:18 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 23 Aug 2022 17:13:08 +0000 (18:13 +0100)
commit4d2aed6ee306ccdcae51f550309bfb82ebf31b01
treefb1a806d94f075e4fa29812fe2349a1ec9dd6da1
parent0739ce4c1213a040301bb185cb7a0569417aef87
regulator: dt-bindings: Add TI TPS65219 PMIC bindings

Add TPS65219 PMIC bindings using json-schema.

Describe required properties and regname-supply.
regname-supply is required when bypass mode is used for a regulator.
Describes regulator topology.
Interrupts support.
Add a power-button property to configure the EN/PB/VSENSE pin as a
powerbutton:

TPS65219 has a multipurpose pin called EN/PB/VSENSE that can be either:
- EN in which case it functions as an enable pin.
- VSENSE which compares the voltages and triggers an automatic
on/off request.
- PB in which case it can be configured to trigger an interrupt
to the SoC.
ti,power-button reflects the last one of those options
where the board has a button wired to the pin and triggers
an interrupt on pressing it.

Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
Signed-off-by: Jerome Neanne <jneanne@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220805121852.21254-5-jneanne@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/ti,tps65219.yaml [new file with mode: 0644]