diff mbox

[RFC] Kconfig: ARCH_HISI: Add PINCTRL to HISI platform

Message ID 1471905930-12438-1-git-send-email-john.stultz@linaro.org
State New
Headers show

Commit Message

John Stultz Aug. 22, 2016, 10:45 p.m. UTC
Things won't work if PINCTRL isn't enabled,
so make sure to explicitly set it rather
then betting that we have some other platform
configed in which selects it.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: John Stultz <john.stultz@linaro.org>

---
 arch/arm64/Kconfig.platforms | 1 +
 1 file changed, 1 insertion(+)

-- 
1.9.1

Comments

Wei Xu Aug. 24, 2016, 3:09 p.m. UTC | #1
Hi John,

On 22/08/2016 23:45, John Stultz wrote:
> Things won't work if PINCTRL isn't enabled,

> so make sure to explicitly set it rather

> then betting that we have some other platform

> configed in which selects it.

> 

> Cc: Arnd Bergmann <arnd@arndb.de>

> Cc: Wei Xu <xuwei5@hisilicon.com>

> Cc: Catalin Marinas <catalin.marinas@arm.com>

> Cc: Will Deacon <will.deacon@arm.com>

> Cc: linux-arm-kernel@lists.infradead.org

> Signed-off-by: John Stultz <john.stultz@linaro.org>

> ---


Applied to hisi-defconfig-4.9 branch.
Thanks!

Best Regards,
Wei

>  arch/arm64/Kconfig.platforms | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms

> index be5d824..f848946 100644

> --- a/arch/arm64/Kconfig.platforms

> +++ b/arch/arm64/Kconfig.platforms

> @@ -67,6 +67,7 @@ config ARCH_HISI

>  	bool "Hisilicon SoC Family"

>  	select ARM_TIMER_SP804

>  	select HISILICON_IRQ_MBIGEN if PCI

> +	select PINCTRL

>  	help

>  	  This enables support for Hisilicon ARMv8 SoC family

>  

>
diff mbox

Patch

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index be5d824..f848946 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -67,6 +67,7 @@  config ARCH_HISI
 	bool "Hisilicon SoC Family"
 	select ARM_TIMER_SP804
 	select HISILICON_IRQ_MBIGEN if PCI
+	select PINCTRL
 	help
 	  This enables support for Hisilicon ARMv8 SoC family