Skip to contentSkip to conversation

pinctrl: bcm: Default PINCTRL_BCM281XX to y for ARCH_BCM_MOBILE

PATCH In review Florian Fainelli 3 participants 3 messages Dec 2, 2015 – Dec 10, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl: bcm: Default PINCTRL_BCM281XX to y for ARCH_BCM_MOBILE

This driver is mandatory for proper operation on the platforms covered by the ARCH_BCM_MOBILE Kconfig symbol, make sure we do that driver on for these platforms.

---
 drivers/pinctrl/bcm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/pinctrl/bcm/Kconfig +1 -0
index cd11d4d9ad58..b63d7068f26c 100644
@@ -9,6 +9,7 @@ config PINCTRL_BCM281XX
 	select PINCONF
 	select GENERIC_PINCONF
 	select REGMAP_MMIO
+	default ARCH_BCM_MOBILE
 	help
 	  Say Y here to support Broadcom BCM281xx pinctrl driver, which is used
 	  for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351,
Signature · 1 line
2.1.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Florian Fainelli

This driver is mandatory for proper operation on the platforms covered by the ARCH_BCM_MOBILE Kconfig symbol, make sure we do that driver on for these platforms.

---
  drivers/pinctrl/bcm/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/pinctrl/bcm/Kconfig +0 -0
index cd11d4d9ad58..b63d7068f26c 100644

drivers/pinctrl/bcm/Kconfig config PINCTRL_BCM281XX · line 15

Quoted 7 lines
drivers/pinctrl/bcm/Kconfig +1 -0
@@ -9,6 +9,7 @@ config PINCTRL_BCM281XX
  	select PINCONF
  	select GENERIC_PINCONF
  	select REGMAP_MMIO
+	default ARCH_BCM_MOBILE
  	help
  	  Say Y here to support Broadcom BCM281xx pinctrl driver, which is used
  	  for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351,

pinmux and pinctrl related configurations from the bcm281xx pinctrl driver are indeed mandatory for ARCH_BCM_MOBILE related platforms for some peripherals to function properly. It looks like we are missing some required configurations in the DT files though, but I guess that needs to be addressed by separate patches.

This change looks good to me!

Thanks!

Ray