mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
0bc5ecf2d0
Backport some minor upstream fixes for the pinctrl drivers. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
39 lines
1.0 KiB
Diff
39 lines
1.0 KiB
Diff
From 26ea7ac92836ba616f75a1ab57e64ffc21da7758 Mon Sep 17 00:00:00 2001
|
|
From: Linus Walleij <linus.walleij@linaro.org>
|
|
Date: Wed, 31 Mar 2021 14:45:05 +0200
|
|
Subject: [PATCH] pinctrl: bcm63xx: Fix dependencies
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Add depends on OF so we don't get weird build errors on
|
|
randconfig.
|
|
|
|
Also order selects the same as the other drivers for
|
|
pure aestetic reasons.
|
|
|
|
Reported-by: Randy Dunlap <rdunlap@infradead.org>
|
|
Cc: Álvaro Fernández Rojas <noltari@gmail.com>
|
|
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|
|
---
|
|
drivers/pinctrl/bcm/Kconfig | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/pinctrl/bcm/Kconfig
|
|
+++ b/drivers/pinctrl/bcm/Kconfig
|
|
@@ -31,10 +31,12 @@ config PINCTRL_BCM2835
|
|
|
|
config PINCTRL_BCM63XX
|
|
bool
|
|
+ depends on OF
|
|
+ select PINMUX
|
|
+ select PINCONF
|
|
select GENERIC_PINCONF
|
|
+ select GPIOLIB
|
|
select GPIO_REGMAP
|
|
- select PINCONF
|
|
- select PINMUX
|
|
|
|
config PINCTRL_BCM6318
|
|
bool "Broadcom BCM6318 GPIO driver"
|