[PATCH v1 04/14] regulator: dt-bindings: tps65219: Add power-button property

Rob Herring robh at kernel.org
Wed Jul 20 16:39:06 PDT 2022


On Tue, Jul 19, 2022 at 11:17:32AM +0200, Jerome Neanne wrote:
> From: Markus Schneider-Pargmann <msp at baylibre.com>
> 
> Add a power-button property to configure the EN/PB/VSENSE pin as a
> powerbutton.

Belongs in the first binding patch.

> 
> Signed-off-by: Markus Schneider-Pargmann <msp at baylibre.com>
> Signed-off-by: Jerome Neanne <jneanne at baylibre.com>
> ---
>  Documentation/devicetree/bindings/regulator/ti,tps65219.yaml | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml b/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml
> index 6a60e62a313c..3f7f4c0280c3 100644
> --- a/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml
> +++ b/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml
> @@ -36,6 +36,11 @@ properties:
>        include/dt-bindings/interrupt-controller/irq.h
>      const: 1
>  
> +  power-button:

ti,power-button

Though doesn't 'system-power-controller' imply this?

> +    type: boolean
> +    description: Optional property that sets the EN/PB/VSENSE pin to be a
> +      power-button.
> +
>  patternProperties:
>    "^buck[1-3]-supply$":
>      description: Input supply phandle of one regulator.
> -- 
> 2.17.1
> 
> 



More information about the linux-arm-kernel mailing list