]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitd6420f2f4388970cd7ef70c1e9f83685ac934f79
tree028ce4e5fbf40c57382d9010fb2ade46cd1b187f
parenta90adced24333cf4572bee71ba739e8621ee59f1
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]