aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/patches-5.10/075-v5.13-pinctrl-bcm63xx-Fix-dependencies.patch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-31 17:13:36 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-31 17:29:25 +0200
commit0bc5ecf2d0fdc47ccbc60a840e595937e79689c3 (patch)
treedbfcc9a32a32d6da58e560c906f06d4c2bea2a54 /target/linux/bmips/patches-5.10/075-v5.13-pinctrl-bcm63xx-Fix-dependencies.patch
parente62ace0ecf228f3a8bc86cea2252539ac7fd988c (diff)
downloadupstream-0bc5ecf2d0fdc47ccbc60a840e595937e79689c3.tar.gz
upstream-0bc5ecf2d0fdc47ccbc60a840e595937e79689c3.tar.bz2
upstream-0bc5ecf2d0fdc47ccbc60a840e595937e79689c3.zip
bmips: backport pinctrl fixes
Backport some minor upstream fixes for the pinctrl drivers. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bmips/patches-5.10/075-v5.13-pinctrl-bcm63xx-Fix-dependencies.patch')
-rw-r--r--target/linux/bmips/patches-5.10/075-v5.13-pinctrl-bcm63xx-Fix-dependencies.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/bmips/patches-5.10/075-v5.13-pinctrl-bcm63xx-Fix-dependencies.patch b/target/linux/bmips/patches-5.10/075-v5.13-pinctrl-bcm63xx-Fix-dependencies.patch
new file mode 100644
index 0000000000..bf27683438
--- /dev/null
+++ b/target/linux/bmips/patches-5.10/075-v5.13-pinctrl-bcm63xx-Fix-dependencies.patch
@@ -0,0 +1,38 @@
+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"