From b4814d4ded02e52d3f022fa85d7773c5a675624c Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Thu, 13 Apr 2017 16:13:16 +0200 Subject: [PATCH 1/4] ARM: gemini: tag the arch as having reset controller This arch has a reset controller so make this selectable. 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 06c8b095154c..57b8c624ad43 100644 --- a/arch/arm/mach-gemini/Kconfig +++ b/arch/arm/mach-gemini/Kconfig @@ -1,6 +1,7 @@ menuconfig ARCH_GEMINI bool "Cortina Systems Gemini" depends on ARCH_MULTI_V4 + select ARCH_HAS_RESET_CONTROLLER select ARM_APPENDED_DTB # Old Redboot bootloaders deployed select FARADAY_FTINTC010 select FTTMR010_TIMER From a022c73711856c4dc9f941ac6aacf2c252a22eb9 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Thu, 20 Apr 2017 21:41:51 +0200 Subject: [PATCH 2/4] ARM: gemini: select the clock controller We have added a common clock framework clock controller for the Gemini SoC, let's put it to use. 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 57b8c624ad43..613366ddfd17 100644 --- a/arch/arm/mach-gemini/Kconfig +++ b/arch/arm/mach-gemini/Kconfig @@ -3,6 +3,7 @@ menuconfig ARCH_GEMINI depends on ARCH_MULTI_V4 select ARCH_HAS_RESET_CONTROLLER select ARM_APPENDED_DTB # Old Redboot bootloaders deployed + select COMMON_CLK_GEMINI select FARADAY_FTINTC010 select FTTMR010_TIMER select GPIO_FTGPIO010 From 1b91d4d4dae11ae0955c77978dea548f5f4ce701 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Sat, 1 Apr 2017 19:54:39 +0200 Subject: [PATCH 3/4] ARM: gemini: select ARM_AMBA This selects the ARM_AMBA PrimeCell bus for the Gemini so we can use the PL08x DMA engine derivative FTDMAC020 through the combined PL08x driver. 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 613366ddfd17..42399af1ab60 100644 --- a/arch/arm/mach-gemini/Kconfig +++ b/arch/arm/mach-gemini/Kconfig @@ -2,6 +2,7 @@ menuconfig ARCH_GEMINI bool "Cortina Systems Gemini" depends on ARCH_MULTI_V4 select ARCH_HAS_RESET_CONTROLLER + select ARM_AMBA select ARM_APPENDED_DTB # Old Redboot bootloaders deployed select COMMON_CLK_GEMINI select FARADAY_FTINTC010 From 2cdbd763f21378c49feca334b4e0d119c799a0ff Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Wed, 5 Jul 2017 16:58:53 +0200 Subject: [PATCH 4/4] ARM: gemini: select pin controller The Gemini needs its pin controller for the platform to work properly. Signed-off-by: Linus Walleij --- arch/arm/mach-gemini/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-gemini/Kconfig b/arch/arm/mach-gemini/Kconfig index 42399af1ab60..70106b67631c 100644 --- a/arch/arm/mach-gemini/Kconfig +++ b/arch/arm/mach-gemini/Kconfig @@ -9,6 +9,8 @@ menuconfig ARCH_GEMINI select FTTMR010_TIMER select GPIO_FTGPIO010 select GPIOLIB + select PINCTRL + select PINCTRL_GEMINI select POWER_RESET select POWER_RESET_GEMINI_POWEROFF select POWER_RESET_SYSCON