Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: soc: renesas: Add RZ/V2M PWC

The Renesas RZ/V2M External Power Sequence Controller (PWC) IP
is capable of:
* external power supply on/off sequence generation
* on/off signal generation for the LPDDR4 core power supply (LPVDD)
* key input signals processing
* general-purpose output pins

Add the corresponding dt-bindings.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230106125816.10600-2-fabrizio.castro.jz@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

authored by

Fabrizio Castro and committed by
Geert Uytterhoeven
6e1456f9 1b929c02

+56
+56
Documentation/devicetree/bindings/soc/renesas/renesas,rzv2m-pwc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/soc/renesas/renesas,rzv2m-pwc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Renesas RZ/V2M External Power Sequence Controller (PWC) 8 + 9 + description: |+ 10 + The PWC IP found in the RZ/V2M family of chips comes with the below 11 + capabilities 12 + - external power supply on/off sequence generation 13 + - on/off signal generation for the LPDDR4 core power supply (LPVDD) 14 + - key input signals processing 15 + - general-purpose output pins 16 + 17 + maintainers: 18 + - Fabrizio Castro <fabrizio.castro.jz@renesas.com> 19 + 20 + properties: 21 + compatible: 22 + items: 23 + - enum: 24 + - renesas,r9a09g011-pwc # RZ/V2M 25 + - renesas,r9a09g055-pwc # RZ/V2MA 26 + - const: renesas,rzv2m-pwc 27 + 28 + reg: 29 + maxItems: 1 30 + 31 + gpio-controller: true 32 + 33 + '#gpio-cells': 34 + const: 2 35 + 36 + renesas,rzv2m-pwc-power: 37 + description: The PWC is used to control the system power supplies. 38 + type: boolean 39 + 40 + required: 41 + - compatible 42 + - reg 43 + - gpio-controller 44 + - '#gpio-cells' 45 + 46 + additionalProperties: false 47 + 48 + examples: 49 + - | 50 + pwc: pwc@a3700000 { 51 + compatible = "renesas,r9a09g011-pwc", "renesas,rzv2m-pwc"; 52 + reg = <0xa3700000 0x800>; 53 + gpio-controller; 54 + #gpio-cells = <2>; 55 + renesas,rzv2m-pwc-power; 56 + };