mbox series

[v2,0/2] pinctrl: Add RZ/V2M pin and gpio driver

Message ID 20220624084833.22605-1-phil.edworthy@renesas.com (mailing list archive)
Headers show
Series pinctrl: Add RZ/V2M pin and gpio driver | expand

Message

Phil Edworthy June 24, 2022, 8:48 a.m. UTC
Hi All,

RZ/V2M has a simple pin and GPIO controller combined similar to RZ/G2L.
However, the differences are enough that I don't think it makes sense
to try to add support for RZ/V2M into the existing RZ/G2L driver.
GPIO interrupt support has been omitted from this driver, to be added
at a later date.

v2:
 dt bindings:
 - Remove power-source as it is not supported
 - Add enum and description for slew-rate
 - Remove 'oneOf' and 'items' for compatible string
 - Add description for the interrupts
 - Remove input-enable property as it is not appropriate
 driver:
 - Lots of small fixes based on Geert's review
 - Remove PIN_CONFIG_INPUT_ENABLE as it is not appropriate

Phil Edworthy (2):
  dt-bindings: pinctrl: renesas: Add DT bindings for RZ/V2M pinctrl
  pinctrl: renesas: Add RZ/V2M pin and gpio controller driver

 .../pinctrl/renesas,rzv2m-pinctrl.yaml        |  170 +++
 drivers/pinctrl/renesas/Kconfig               |   13 +
 drivers/pinctrl/renesas/Makefile              |    1 +
 drivers/pinctrl/renesas/pinctrl-rzv2m.c       | 1118 +++++++++++++++++
 include/dt-bindings/pinctrl/rzv2m-pinctrl.h   |   23 +
 5 files changed, 1325 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/renesas,rzv2m-pinctrl.yaml
 create mode 100644 drivers/pinctrl/renesas/pinctrl-rzv2m.c
 create mode 100644 include/dt-bindings/pinctrl/rzv2m-pinctrl.h