From 0bc5ecf2d0fdc47ccbc60a840e595937e79689c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Wed, 31 Mar 2021 17:13:36 +0200 Subject: bmips: backport pinctrl fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport some minor upstream fixes for the pinctrl drivers. Signed-off-by: Álvaro Fernández Rojas --- ...75-v5.13-pinctrl-bcm63xx-Fix-dependencies.patch | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 target/linux/bmips/patches-5.10/075-v5.13-pinctrl-bcm63xx-Fix-dependencies.patch (limited to 'target/linux/bmips/patches-5.10/075-v5.13-pinctrl-bcm63xx-Fix-dependencies.patch') 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 +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 +Cc: Álvaro Fernández Rojas +Signed-off-by: Linus Walleij +--- + 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" -- cgit v1.2.3