bcm283x: Add pinctrl driver
authorAlexander Graf <agraf@suse.de>
Tue, 23 Jan 2018 17:05:21 +0000 (18:05 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 28 Jan 2018 17:27:32 +0000 (12:27 -0500)
commitcaf2233b281c03e3e359061a3dfa537d8a25c273
tree028ce4e5fbf40c57382d9010fb2ade46cd1b187f
parent8996975ff8422e07f43eb8b3b0c7ed8c2b35442f
bcm283x: Add pinctrl driver

The bcm283x family of SoCs have a GPIO controller that also acts as
pinctrl controller.

This patch introduces a new pinctrl driver that can actually properly mux
devices into their device tree defined pin states and is now the primary
owner of the gpio device. The previous GPIO driver gets moved into a
subdevice of the pinctrl driver, bound to the same OF node.

That way whenever a device asks for pinctrl support, it gets it
automatically from the pinctrl driver and GPIO support is still available
in the normal command line phase.

Signed-off-by: Alexander Graf <agraf@suse.de>
14 files changed:
MAINTAINERS
arch/arm/mach-bcm283x/include/mach/gpio.h
board/raspberrypi/rpi/rpi.c
configs/rpi_0_w_defconfig
configs/rpi_2_defconfig
configs/rpi_3_32b_defconfig
configs/rpi_3_defconfig
configs/rpi_defconfig
drivers/gpio/bcm2835_gpio.c
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/broadcom/Kconfig [new file with mode: 0644]
drivers/pinctrl/broadcom/Makefile [new file with mode: 0644]
drivers/pinctrl/broadcom/pinctrl-bcm283x.c [new file with mode: 0644]