mbox series

[0/5] Driver support for RZ/V2M PWC

Message ID 20221213224310.543243-1-fabrizio.castro.jz@renesas.com
Headers show
Series Driver support for RZ/V2M PWC | expand

Message

Fabrizio Castro Dec. 13, 2022, 10:43 p.m. UTC
The PWC IP found in the RZ/V2M family of chips fits the Multi-Function
Device (MFD) model quite well, and comes with the below capabilities:
* 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

This series introduces a driver to address GPIO support, and a driver
to address power off support, alongside the corresponding dt-bindings.

Thanks,
Fab

Fabrizio Castro (5):
  dt-bindings: gpio: Add RZ/V2M PWC GPIO driver bindings
  dt-bindings: power: reset: Add RZ/V2M PWC Power OFF bindings
  dt-bindings: mfd: Add RZ/V2M PWC global registers bindings
  gpio: Add support for Renesas RZ/V2M PWC
  power: reset: Add new driver for RZ/V2M PWC poweroff

 .../bindings/gpio/renesas,rzv2m-pwc-gpio.yaml |  62 +++++++++
 .../bindings/mfd/renesas,rzv2m-pwc.yaml       |  70 ++++++++++
 .../reset/renesas,rzv2m-pwc-poweroff.yaml     |  48 +++++++
 drivers/gpio/Kconfig                          |   8 ++
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-rzv2m-pwc.c                 | 123 ++++++++++++++++++
 drivers/power/reset/Kconfig                   |  10 ++
 drivers/power/reset/Makefile                  |   1 +
 drivers/power/reset/rzv2m-pwc-poweroff.c      |  81 ++++++++++++
 9 files changed, 404 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/renesas,rzv2m-pwc-gpio.yaml
 create mode 100644 Documentation/devicetree/bindings/mfd/renesas,rzv2m-pwc.yaml
 create mode 100644 Documentation/devicetree/bindings/power/reset/renesas,rzv2m-pwc-poweroff.yaml
 create mode 100644 drivers/gpio/gpio-rzv2m-pwc.c
 create mode 100644 drivers/power/reset/rzv2m-pwc-poweroff.c