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>
This commit is contained in:
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user