mbox series

[v3,0/5] pinctrl/GPIO driver for Apple SoCs

Message ID 20211016141839.45460-1-joey.gouly@arm.com
Headers show
Series pinctrl/GPIO driver for Apple SoCs | expand

Message

Joey Gouly Oct. 16, 2021, 2:18 p.m. UTC
Hi all,

Here is the v3 patchset for the Apple pinctrl/GPIO driver.

Changes since v2: [1]
  - Document apple,npins property (passes dt_binding_check)
  - Add #interrupt-cells to bindings, asked for by Sven
  - Redo macro defines, add register bits (that aren't currently used)
  - use regmap-mmio, to remove NIH shadowing
  - remove weird INPUT_ENABLE dance in apple_gpio_set_reg

I split the MAINTAINERS change into a separate commit, Hector Martin has been
collecting those in his tree, to avoid merge conflicts.

There is a branch here with the driver:
  https://gitlab.arm.com/linux-arm/jg-open/-/tree/pinctrl_apple_v3

Thanks,
Joey

note: For those that have been testing this with PCIe etc, you will
probably want to also include the last commit in the following branch, as I
dropped the clock references in the code (due to the switch to power domains):
https://gitlab.arm.com/linux-arm/jg-open/-/commits/pinctrl_apple_v3_clock

[1]
https://lore.kernel.org/linux-gpio/20211001191209.29988-1-joey.gouly@arm.com/

Joey Gouly (4):
  dt-bindings: pinctrl: add #interrupt-cells to apple,pinctrl
  dt-bindings: pinctrl: Add apple,npins property to apple,pinctrl
  pinctrl: add pinctrl/GPIO driver for Apple SoCs
  MAINTAINERS: add pinctrl-apple-gpio to ARM/APPLE MACHINE

Marc Zyngier (1):
  gpio: Allow per-parent interrupt data

 .../bindings/pinctrl/apple,pinctrl.yaml       |   9 +
 MAINTAINERS                                   |   1 +
 drivers/gpio/gpiolib.c                        |   9 +-
 drivers/pinctrl/Kconfig                       |  16 +
 drivers/pinctrl/Makefile                      |   1 +
 drivers/pinctrl/pinctrl-apple-gpio.c          | 564 ++++++++++++++++++
 include/linux/gpio/driver.h                   |  19 +-
 7 files changed, 615 insertions(+), 4 deletions(-)
 create mode 100644 drivers/pinctrl/pinctrl-apple-gpio.c