Skip to content

Add IMX8 SCU GPIO support

Shenwei Wang imx linux-arm-kernel linux-devicetree linux-gpio lkml 5 versions – Applied

Status from this message: Applied the series, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 5 repliesApplied
  2. v43 patches 5 repliesSuperseded
  3. v33 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches3 repliesSuperseded
v13 patches7 repliesSuperseded

Changes in v5 from the cover letter

- rename the file name from fsl,imx-sc-gpio to fsl,imx8qxp-sc-gpio to match the compatible string

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: gpio: Add imx scu gpio driver bindingsDocumentation/devicetree/bindings/gpio/fsl,imx8qxp-sc-gpio.yaml+39 -01 reply
2/3dt-bindings: firmware: imx: Add imx-scu gpio nodeDocumentation/devicetree/bindings/firmware/fsl,scu.yaml+5 -00 replies
3/3gpio: imx-scu: add imx-scu GPIO driverdrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/gpio-imx-scu.c+144 -02 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKrzysztof KozlowskiLinus Walleij
SeriesR-b
1/3R-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/3] Add IMX8 SCU GPIO support

The system controller (SCU) is the central unit to manage the resources on i.MX8 platforms. The SCU firmware provides a set of APIs to access the GPIO PINs on the SCU domain.

This patch series implements the standard GPIO driver over the SCU firmware APIs, so that the GPIOs on the SCU domain could be accessed like a local GPIO PINs.

Changes in V5:
- rename the file name from fsl,imx-sc-gpio to fsl,imx8qxp-sc-gpio to match the compatible string

Changes in V4:
- remove the generic compatible of "fsl,imx-sc-gpio"
- update the gpio $ref in "fsl,scu.yaml" as the file name is changed
- update the commit comment for 0003 because the driver is moved to the directory of "drivers/gpio"

Changes in V3:
- follow the other imx8 SCU binding rule and rename the compatible string from fsl,imx8-scu-gpio to fsl,imx8qxp-sc-gpio
- rename the doc file from fsl,imx8-scu-gpio.yaml to fsl,imx-sc-gpio.yaml

Changes in V2:
- move the driver into the gpio directory per Krzysztof's feedback
- change the subnode description in file fsl,scu.yaml
- fix the dt_binding_check error

Shenwei Wang (3):
dt-bindings: gpio: Add imx scu gpio driver bindings
dt-bindings: firmware: imx: Add imx-scu gpio node
gpio: imx-scu: add imx-scu GPIO driver

 .../devicetree/bindings/firmware/fsl,scu.yaml |   5 +
 .../bindings/gpio/fsl,imx8qxp-sc-gpio.yaml    |  39 +++++
 drivers/gpio/Kconfig                          |   4 +
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-imx-scu.c                   | 139 ++++++++++++++++++
 5 files changed, 188 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/fsl,imx8qxp-sc-gpio.yaml
 create mode 100644 drivers/gpio/gpio-imx-scu.c

--
2.25.1