pinctrl: add a pincontrol driver for BCM6358
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 24 Mar 2021 08:19:11 +0000 (09:19 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 Mar 2021 10:20:07 +0000 (12:20 +0200)
commit9494b16976e1ae3afc643abf638a25f2ce4c3f2b
tree7f69a1063011a9eef16ab3c76b34c44897aa7def
parentcfb1b98bc8d5ffd813428cb03c63b54cf63dd785
pinctrl: add a pincontrol driver for BCM6358

Add a pincotrol driver for BCM6358. BCM6358 allow overlaying different
functions onto the GPIO pins. It does not support configuring individual
pins but only whole groups. These groups may overlap, and still require
the directions to be set correctly in the GPIO register. In addition the
functions register controls other, not directly mux related functions.

Co-developed-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Link: https://lore.kernel.org/r/20210324081923.20379-11-noltari@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/Kconfig
drivers/pinctrl/bcm/Makefile
drivers/pinctrl/bcm/pinctrl-bcm6358.c [new file with mode: 0644]