pinctrl: add BCM63XX pincontrol support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest22 patches 9 repliesIn review
- v822 patches 13 repliesSuperseded
- v722 patches 9 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 15 patches | 22 replies | Superseded | |
| v5 | 15 patches | 7 replies | Superseded | |
| v4 | 15 patches | 28 replies | Superseded | |
| v3 | 14 patches | 9 replies | Superseded | |
| v2 | 12 patches | 3 replies | Superseded | |
| v1 | 12 patches | 15 replies | Superseded |
Patches in v9 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIPinclude/ | +9 | 2 replies | |
| 2/22 | gpio: regmap: set gpio_chip of_nodedrivers/ include/ | +9 | 1 reply | |
| 3/22 | dt-bindings: improve BCM6345 GPIO binding documentationDocumentation/ Documentation/ | +86 | 1 reply | |
| 4/22 | pinctrl: bcm: add bcm63xx base codedrivers/ drivers/ drivers/ +1 more | +160 | 0 replies | |
| 5/22 | dt-bindings: add BCM6328 pincontroller binding documentationDocumentation/ | +127 | 0 replies | |
| 6/22 | dt-bindings: add BCM6328 GPIO sysctl binding documentationDocumentation/ | +162 | 0 replies | |
| 7/22 | pinctrl: add a pincontrol driver for BCM6328drivers/ drivers/ drivers/ | +413 | 0 replies | |
| 8/22 | dt-bindings: add BCM6358 pincontroller binding documentationDocumentation/ | +93 | 0 replies | |
| 9/22 | dt-bindings: add BCM6358 GPIO sysctl binding documentationDocumentation/ | +130 | 0 replies | |
| 10/22 | pinctrl: add a pincontrol driver for BCM6358drivers/ drivers/ drivers/ | +378 | 0 replies | |
| 11/22 | dt-bindings: add BCM6362 pincontroller binding documentationDocumentation/ | +206 | 0 replies | |
| 12/22 | dt-bindings: add BCM6362 GPIO sysctl binding documentationDocumentation/ | +236 | 0 replies | |
| 13/22 | pinctrl: add a pincontrol driver for BCM6362drivers/ drivers/ drivers/ | +626 | 0 replies | |
| 14/22 | dt-bindings: add BCM6368 pincontroller binding documentationDocumentation/ | +217 | 0 replies | |
| 15/22 | dt-bindings: add BCM6368 GPIO sysctl binding documentationDocumentation/ | +246 | 0 replies | |
| 16/22 | pinctrl: add a pincontrol driver for BCM6368drivers/ drivers/ drivers/ | +532 | 0 replies | |
| 17/22 | dt-bindings: add BCM63268 pincontroller binding documentationDocumentation/ | +164 | 1 reply | |
| 18/22 | dt-bindings: add BCM63268 GPIO sysctl binding documentationDocumentation/ | +194 | 0 replies | |
| 19/22 | pinctrl: add a pincontrol driver for BCM63268drivers/ drivers/ drivers/ | +652 | 0 replies | |
| 20/22 | dt-bindings: add BCM6318 pincontroller binding documentationDocumentation/ | +143 | 1 reply | |
| 21/22 | dt-bindings: add BCM6318 GPIO sysctl binding documentationDocumentation/ | +177 | 0 replies | |
| 22/22 | pinctrl: add a pincontrol driver for BCM6318drivers/ drivers/ drivers/ | +507 | 0 replies |
Reviews trailers per patch
15 of 22 patches have a Reviewed-by or Acked-by.
| Patch | Linus Walleij | Michael Walle | Andy Shevchenko | Rob Herring | Bartosz Golaszewski |
|---|---|---|---|---|---|
| 1/22 | R-b | R-b | A-b | ||
| 2/22 | R-b | R-b | A-b | ||
| 3/22 | R-b | ||||
| 4/22 | |||||
| 5/22 | R-b | ||||
| 6/22 | R-b | ||||
| 7/22 | |||||
| 8/22 | R-b | ||||
| 9/22 | R-b | ||||
| 10/22 | |||||
| 11/22 | R-b | ||||
| 12/22 | R-b | ||||
| 13/22 | |||||
| 14/22 | R-b | ||||
| 15/22 | R-b | ||||
| 16/22 | |||||
| 17/22 | R-b | ||||
| 18/22 | R-b | ||||
| 19/22 | |||||
| 20/22 | R-b | ||||
| 21/22 | R-b | ||||
| 22/22 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v9 00/22] pinctrl: add BCM63XX pincontrol support
First of all, I've based this on the patches sent by Jonas Gorski back in 2016:
https://www.spinics.net/lists/linux-gpio/msg15983.html
http://patchwork.ozlabs.org/project/linux-gpio/patch/[email protected]/
I've tried to address all coments from Linus Walleij, but I know that this may still need some other modifications
This patchset adds appropriate binding documentation and drivers for pin controller cores found in the BCM63XX MIPS SoCs currently supported.
While the GPIO part is always the same, the pinmux part varies quite a lot between different SoCs. Sometimes they have defined groups which can be muxed into different functions, sometimes each function has a different group. Sometimes you can mux individual pins. Often it is a combination of single pins and groups.
Some core versions require the GPIO direction to be set according to the function, most do not. Sometimes the mux register(s) contain bits for unrelated other functions.
v9: introduce changes suggested by Rob Herring and Andy Shevchenko.
v8: introduce changes suggested by Rob Herring.
v7: introduce changes suggested by Rob Herring.
v6: introduce changes suggested by Rob Herring and Andy Shevchenko.
v5: introduce changes suggested by Andy Shevchenko.
v4: fix gpiochip_irqchip_add_domain(), remove IRQ Kconfig selections and add
missing of_node_put().
v3: introduce new files for shared code and add more changes suggested by
Linus Walleij. Also add a new patch needed for properly parsing gpio-ranges.
v2: introduce changes suggested by Linus Walleij and remove interrupts
- In order to use GPIO_REGMAP, the need to get gpio_chip from gpio_regmap and use it for pinctrl_add_gpio_range() and gpio_chip.direction_input() and gpio_chip.direction_output().
Álvaro Fernández Rojas (22):
gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP
gpio: regmap: set gpio_chip of_node
dt-bindings: improve BCM6345 GPIO binding documentation
pinctrl: bcm: add bcm63xx base code
dt-bindings: add BCM6328 pincontroller binding documentation
dt-bindings: add BCM6328 GPIO sysctl binding documentation
pinctrl: add a pincontrol driver for BCM6328
dt-bindings: add BCM6358 pincontroller binding documentation
dt-bindings: add BCM6358 GPIO sysctl binding documentation
pinctrl: add a pincontrol driver for BCM6358
dt-bindings: add BCM6362 pincontroller binding documentation
dt-bindings: add BCM6362 GPIO sysctl binding documentation
pinctrl: add a pincontrol driver for BCM6362
dt-bindings: add BCM6368 pincontroller binding documentation
dt-bindings: add BCM6368 GPIO sysctl binding documentation
pinctrl: add a pincontrol driver for BCM6368
dt-bindings: add BCM63268 pincontroller binding documentation
dt-bindings: add BCM63268 GPIO sysctl binding documentation
pinctrl: add a pincontrol driver for BCM63268
dt-bindings: add BCM6318 pincontroller binding documentation
dt-bindings: add BCM6318 GPIO sysctl binding documentation
pinctrl: add a pincontrol driver for BCM6318
.../bindings/gpio/brcm,bcm6345-gpio.txt | 46 -- .../bindings/gpio/brcm,bcm6345-gpio.yaml | 86 +++ .../mfd/brcm,bcm6318-gpio-sysctl.yaml | 177 +++++ .../mfd/brcm,bcm63268-gpio-sysctl.yaml | 194 ++++++ .../mfd/brcm,bcm6328-gpio-sysctl.yaml | 162 +++++ .../mfd/brcm,bcm6358-gpio-sysctl.yaml | 130 ++++ .../mfd/brcm,bcm6362-gpio-sysctl.yaml | 236 +++++++ .../mfd/brcm,bcm6368-gpio-sysctl.yaml | 246 +++++++ .../pinctrl/brcm,bcm6318-pinctrl.yaml | 143 ++++ .../pinctrl/brcm,bcm63268-pinctrl.yaml | 164 +++++ .../pinctrl/brcm,bcm6328-pinctrl.yaml | 127 ++++ .../pinctrl/brcm,bcm6358-pinctrl.yaml | 93 +++ .../pinctrl/brcm,bcm6362-pinctrl.yaml | 206 ++++++ .../pinctrl/brcm,bcm6368-pinctrl.yaml | 217 ++++++ drivers/gpio/gpio-regmap.c | 5 + drivers/pinctrl/bcm/Kconfig | 55 ++ drivers/pinctrl/bcm/Makefile | 7 + drivers/pinctrl/bcm/pinctrl-bcm6318.c | 498 ++++++++++++++ drivers/pinctrl/bcm/pinctrl-bcm63268.c | 643 ++++++++++++++++++ drivers/pinctrl/bcm/pinctrl-bcm6328.c | 404 +++++++++++ drivers/pinctrl/bcm/pinctrl-bcm6358.c | 369 ++++++++++ drivers/pinctrl/bcm/pinctrl-bcm6362.c | 617 +++++++++++++++++ drivers/pinctrl/bcm/pinctrl-bcm6368.c | 523 ++++++++++++++ drivers/pinctrl/bcm/pinctrl-bcm63xx.c | 109 +++ drivers/pinctrl/bcm/pinctrl-bcm63xx.h | 43 ++ include/linux/gpio/driver.h | 9 + include/linux/gpio/regmap.h | 4 + 27 files changed, 5467 insertions(+), 46 deletions(-) delete mode 100644 Documentation/devicetree/bindings/gpio/brcm,bcm6345-gpio.txt create mode 100644 Documentation/devicetree/bindings/gpio/brcm,bcm6345-gpio.yaml create mode 100644 Documentation/devicetree/bindings/mfd/brcm,bcm6318-gpio-sysctl.yaml create mode 100644 Documentation/devicetree/bindings/mfd/brcm,bcm63268-gpio-sysctl.yaml create mode 100644 Documentation/devicetree/bindings/mfd/brcm,bcm6328-gpio-sysctl.yaml create mode 100644 Documentation/devicetree/bindings/mfd/brcm,bcm6358-gpio-sysctl.yaml create mode 100644 Documentation/devicetree/bindings/mfd/brcm,bcm6362-gpio-sysctl.yaml create mode 100644 Documentation/devicetree/bindings/mfd/brcm,bcm6368-gpio-sysctl.yaml create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm6318-pinctrl.yaml create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm63268-pinctrl.yaml create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm6328-pinctrl.yaml create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm6358-pinctrl.yaml create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm6362-pinctrl.yaml create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm6368-pinctrl.yaml create mode 100644 drivers/pinctrl/bcm/pinctrl-bcm6318.c create mode 100644 drivers/pinctrl/bcm/pinctrl-bcm63268.c create mode 100644 drivers/pinctrl/bcm/pinctrl-bcm6328.c create mode 100644 drivers/pinctrl/bcm/pinctrl-bcm6358.c create mode 100644 drivers/pinctrl/bcm/pinctrl-bcm6362.c create mode 100644 drivers/pinctrl/bcm/pinctrl-bcm6368.c create mode 100644 drivers/pinctrl/bcm/pinctrl-bcm63xx.c create mode 100644 drivers/pinctrl/bcm/pinctrl-bcm63xx.h
Signature · 1 line
2.20.1