]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec67eb95d20efdde8c6c467794ab6e7f6c7844b3
tree7f69a1063011a9eef16ab3c76b34c44897aa7def
parented9d28a5ee3d43a6540f9deb960f35a7d53810c4
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]