mbox series

[v2,0/4] Driver support for RZ/V2M PWC

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

Message

Fabrizio Castro Dec. 21, 2022, 9:09 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

With this new version I have changed model for the DT/dt-bindings.
I have dropped syscon, simple-mfd, regmap, offset, and the child nodes.

Thanks,
Fab

Fabrizio Castro (4):
  dt-bindings: mfd: Add RZ/V2M PWC
  mfd: Add RZ/V2M PWC core driver
  gpio: Add support for the Renesas RZ/V2M PWC GPIOs
  power: reset: Add new driver for RZ/V2M PWC poweroff

 .../bindings/mfd/renesas,rzv2m-pwc.yaml       |  56 ++++++++++
 drivers/gpio/Kconfig                          |  10 ++
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-rzv2m-pwc.c                 | 105 ++++++++++++++++++
 drivers/mfd/Kconfig                           |  14 +++
 drivers/mfd/Makefile                          |   1 +
 drivers/mfd/rzv2m-pwc.c                       |  70 ++++++++++++
 drivers/mfd/rzv2m-pwc.h                       |  18 +++
 drivers/power/reset/Kconfig                   |   9 ++
 drivers/power/reset/Makefile                  |   1 +
 drivers/power/reset/rzv2m-pwc-poweroff.c      |  67 +++++++++++
 11 files changed, 352 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/renesas,rzv2m-pwc.yaml
 create mode 100644 drivers/gpio/gpio-rzv2m-pwc.c
 create mode 100644 drivers/mfd/rzv2m-pwc.c
 create mode 100644 drivers/mfd/rzv2m-pwc.h
 create mode 100644 drivers/power/reset/rzv2m-pwc-poweroff.c