From 1953d4ad9703cee288ef3eb11d964c627dddc5d6 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Mon, 30 Jan 2017 20:13:34 +0100 Subject: [PATCH 1/3] ARM: gemini: select gemini poweroff It's especially annoying if the system cannot be properly powered down so select the poweroff driver from the Kconfig. Cc: Janos Laube Cc: Paulius Zaleckas Cc: Hans Ulli Kroll Cc: Florian Fainelli Signed-off-by: Linus Walleij --- arch/arm/mach-gemini/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-gemini/Kconfig b/arch/arm/mach-gemini/Kconfig index a5ee5fbab796b..2dd8bc720089b 100644 --- a/arch/arm/mach-gemini/Kconfig +++ b/arch/arm/mach-gemini/Kconfig @@ -7,6 +7,7 @@ menuconfig ARCH_GEMINI select GPIO_GEMINI select GPIOLIB select POWER_RESET + select POWER_RESET_GEMINI_POWEROFF select POWER_RESET_SYSCON select SERIAL_OF_PLATFORM help From f0a18a00f0ed9492df54c02ffcdbcfb0218beb54 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Mon, 13 Mar 2017 00:18:41 +0100 Subject: [PATCH 2/3] ARM: gemini: select the right GPIO block We want to select the GPIO_FTGPIO010 symbol for the generic Faraday FTGPIO010 driver, not the old driver. Cc: Jonas Jensen Signed-off-by: Linus Walleij --- arch/arm/mach-gemini/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-gemini/Kconfig b/arch/arm/mach-gemini/Kconfig index 2dd8bc720089b..eaae82637da36 100644 --- a/arch/arm/mach-gemini/Kconfig +++ b/arch/arm/mach-gemini/Kconfig @@ -4,7 +4,7 @@ menuconfig ARCH_GEMINI select ARM_APPENDED_DTB # Old Redboot bootloaders deployed select FARADAY_FTINTC010 select FTTMR010_TIMER - select GPIO_GEMINI + select GPIO_FTGPIO010 select GPIOLIB select POWER_RESET select POWER_RESET_GEMINI_POWEROFF From 16c86ef7fc3fff118a985705bf18fe7ec9e493e7 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Tue, 21 Mar 2017 21:52:56 +0100 Subject: [PATCH 3/3] ARM: gemini: don't select SERIAL_OF_PLATFORM We cannot select the option when SERIAL_8250 is not also set: warning: (ARCH_GEMINI) selects SERIAL_OF_PLATFORM which has unmet direct dependencies (TTY && HAS_IOMEM && SERIAL_8250 && OF) This removes the 'select' statement, requiring that users enable the option manually. Alternatively, we could make it a conditional 'select SERIAL_OF_PLATFORM if SERIAL_8250' or also select a handful of other symbols that it depends on. Signed-off-by: Arnd Bergmann Signed-off-by: Linus Walleij --- arch/arm/mach-gemini/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-gemini/Kconfig b/arch/arm/mach-gemini/Kconfig index eaae82637da36..06c8b095154c5 100644 --- a/arch/arm/mach-gemini/Kconfig +++ b/arch/arm/mach-gemini/Kconfig @@ -9,6 +9,5 @@ menuconfig ARCH_GEMINI select POWER_RESET select POWER_RESET_GEMINI_POWEROFF select POWER_RESET_SYSCON - select SERIAL_OF_PLATFORM help Support for the Cortina Systems Gemini family SoCs