aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2018-01-23 18:05:21 +0100
committerTom Rini <trini@konsulko.com>2018-01-28 12:27:32 -0500
commitcaf2233b281c03e3e359061a3dfa537d8a25c273 (patch)
tree028ce4e5fbf40c57382d9010fb2ade46cd1b187f /arch
parent8996975ff8422e07f43eb8b3b0c7ed8c2b35442f (diff)
downloadu-boot-caf2233b281c03e3e359061a3dfa537d8a25c273.zip
u-boot-caf2233b281c03e3e359061a3dfa537d8a25c273.tar.gz
u-boot-caf2233b281c03e3e359061a3dfa537d8a25c273.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-bcm283x/include/mach/gpio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-bcm283x/include/mach/gpio.h b/arch/arm/mach-bcm283x/include/mach/gpio.h
index daaee52..7b4ddc9 100644
--- a/arch/arm/mach-bcm283x/include/mach/gpio.h
+++ b/arch/arm/mach-bcm283x/include/mach/gpio.h
@@ -61,6 +61,4 @@ struct bcm2835_gpio_platdata {
unsigned long base;
};
-int bcm2835_gpio_get_func_id(struct udevice *dev, unsigned gpio);
-
#endif /* _BCM2835_GPIO_H_ */