[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210225164216.21124-1-noltari@gmail.com>
Date: Thu, 25 Feb 2021 17:42:04 +0100
From: Álvaro Fernández Rojas
<noltari@...il.com>
To: f.fainelli@...il.com, Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Álvaro Fernández Rojas
<noltari@...il.com>, Jonas Gorski <jonas.gorski@...il.com>,
Necip Fazil Yildiran <fazilyildiran@...il.com>,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 00/12] 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/1471604025-21575-2-git-send-email-jonas.gorski@gmail.com/
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.
Álvaro Fernández Rojas (12):
Documentation: add BCM6328 pincontroller binding documentation
pinctrl: add a pincontrol driver for BCM6328
Documentation: add BCM6358 pincontroller binding documentation
pinctrl: add a pincontrol driver for BCM6358
Documentation: add BCM6362 pincontroller binding documentation
pinctrl: add a pincontrol driver for BCM6362
Documentation: add BCM6368 pincontroller binding documentation
pinctrl: add a pincontrol driver for BCM6368
Documentation: add BCM63268 pincontroller binding documentation
pinctrl: add a pincontrol driver for BCM63268
Documentation: add BCM6318 pincontroller binding documentation
pinctrl: add a pincontrol driver for BCM6318
.../pinctrl/brcm,bcm6318-pinctrl.yaml | 173 ++++
.../pinctrl/brcm,bcm63268-pinctrl.yaml | 198 +++++
.../pinctrl/brcm,bcm6328-pinctrl.yaml | 161 ++++
.../pinctrl/brcm,bcm6358-pinctrl.yaml | 131 +++
.../pinctrl/brcm,bcm6362-pinctrl.yaml | 240 +++++
.../pinctrl/brcm,bcm6368-pinctrl.yaml | 255 ++++++
drivers/pinctrl/bcm/Kconfig | 66 ++
drivers/pinctrl/bcm/Makefile | 6 +
drivers/pinctrl/bcm/pinctrl-bcm6318.c | 674 ++++++++++++++
drivers/pinctrl/bcm/pinctrl-bcm63268.c | 821 ++++++++++++++++++
drivers/pinctrl/bcm/pinctrl-bcm6328.c | 581 +++++++++++++
drivers/pinctrl/bcm/pinctrl-bcm6358.c | 526 +++++++++++
drivers/pinctrl/bcm/pinctrl-bcm6362.c | 794 +++++++++++++++++
drivers/pinctrl/bcm/pinctrl-bcm6368.c | 679 +++++++++++++++
14 files changed, 5305 insertions(+)
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
--
2.20.1
Powered by blists - more mailing lists