All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add IMX8 SCU GPIO support
@ 2022-08-09 14:31 ` Shenwei Wang
  0 siblings, 0 replies; 14+ messages in thread
From: Shenwei Wang @ 2022-08-09 14:31 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, linus.walleij, brgl, shawnguo,
	s.hauer, kernel, festevam, linux-imx
  Cc: devicetree, linux-kernel, linux-gpio, linux-arm-kernel, imx,
	Shenwei Wang

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 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
  firmware: imx: add imx-scu GPIO driver

 .../devicetree/bindings/firmware/fsl,scu.yaml |   5 +
 .../bindings/gpio/fsl,imx8-scu-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,imx8-scu-gpio.yaml
 create mode 100644 drivers/gpio/gpio-imx-scu.c

--
2.25.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-08-09 19:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09 14:31 [PATCH v2 0/3] Add IMX8 SCU GPIO support Shenwei Wang
2022-08-09 14:31 ` Shenwei Wang
2022-08-09 14:31 ` [PATCH v2 1/3] dt-bindings: gpio: Add imx-scu gpio driver bindings Shenwei Wang
2022-08-09 14:31   ` Shenwei Wang
2022-08-09 16:05   ` Krzysztof Kozlowski
2022-08-09 16:05     ` Krzysztof Kozlowski
2022-08-09 19:10     ` [EXT] " Shenwei Wang
2022-08-09 19:10       ` Shenwei Wang
2022-08-09 14:31 ` [PATCH v2 2/3] dt-bindings: firmware: imx: Add imx-scu gpio node Shenwei Wang
2022-08-09 14:31   ` Shenwei Wang
2022-08-09 16:05   ` Krzysztof Kozlowski
2022-08-09 16:05     ` Krzysztof Kozlowski
2022-08-09 14:31 ` [PATCH v2 3/3] firmware: imx: add imx-scu GPIO driver Shenwei Wang
2022-08-09 14:31   ` Shenwei Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.