diff mbox

[7/7] arm: amlogic: select meson8b clk driver

Message ID 1467741391-60534-8-git-send-email-serveralex@gmail.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Alexander Müller July 5, 2016, 5:56 p.m. UTC
Select the Amlogic clk code for meson SoCs and the more specific meson8b clk
driver for Amlogic meson8b.

Signed-off-by: Alexander Müller <serveralex@gmail.com>
---
 arch/arm/mach-meson/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Michael Turquette July 6, 2016, 12:54 a.m. UTC | #1
Hi Alex,

Quoting Alexander Müller (2016-07-05 10:56:31)
> Select the Amlogic clk code for meson SoCs and the more specific meson8b clk
> driver for Amlogic meson8b.
> 
> Signed-off-by: Alexander Müller <serveralex@gmail.com>

This patch isn't necessary as an alternative is already queued. See:
https://git.kernel.org/cgit/linux/kernel/git/mturquette/linux.git/commit/?h=gxbb-dt-clk&id=bae5d70ba6f8726ea6306aa07b7d2eb4357d3c81

However, if you're basing on top of clk-next (or clk-s905) then you
won't see the three patches linked above because they are queued through
Kevin & Carlo via the amlogic tree.

Regards,
Mike

> ---
>  arch/arm/mach-meson/Kconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig
> index 31bdd91..b3add39 100644
> --- a/arch/arm/mach-meson/Kconfig
> +++ b/arch/arm/mach-meson/Kconfig
> @@ -7,6 +7,7 @@ menuconfig ARCH_MESON
>         select CACHE_L2X0
>         select PINCTRL
>         select PINCTRL_MESON
> +       select COMMON_CLK_AMLOGIC
>  
>  if ARCH_MESON
>  
> @@ -24,5 +25,6 @@ config MACH_MESON8B
>         bool "Amlogic Meson8b SoCs support"
>         default ARCH_MESON
>         select MESON6_TIMER
> +       select COMMON_CLK_MESON8B
>  
>  endif
> -- 
> 2.5.0
>
Kevin Hilman July 6, 2016, 9:41 p.m. UTC | #2
Michael Turquette <mturquette@baylibre.com> writes:

> Hi Alex,
>
> Quoting Alexander Müller (2016-07-05 10:56:31)
>> Select the Amlogic clk code for meson SoCs and the more specific meson8b clk
>> driver for Amlogic meson8b.
>> 
>> Signed-off-by: Alexander Müller <serveralex@gmail.com>
>
> This patch isn't necessary as an alternative is already queued. See:
> https://git.kernel.org/cgit/linux/kernel/git/mturquette/linux.git/commit/?h=gxbb-dt-clk&id=bae5d70ba6f8726ea6306aa07b7d2eb4357d3c81
>
> However, if you're basing on top of clk-next (or clk-s905) then you
> won't see the three patches linked above because they are queued through
> Kevin & Carlo via the amlogic tree.

...which you can find here[1] and specifically, the "integ" branch where
I'm keeping the latest queued versions of various things merged together
for easier testing.

Kevin

[1] https://git.kernel.org/cgit/linux/kernel/git/khilman/linux-amlogic.git/
Alexander Müller July 13, 2016, 5:53 p.m. UTC | #3
Hi Kevin, 

I did the proposed changes and rebased to integ. 

Please review and let me know if I missed something.

Alex

> On 06 Jul 2016, at 23:41, Kevin Hilman <khilman@baylibre.com> wrote:
> 
> Michael Turquette <mturquette@baylibre.com> writes:
> 
>> Hi Alex,
>> 
>> Quoting Alexander Müller (2016-07-05 10:56:31)
>>> Select the Amlogic clk code for meson SoCs and the more specific meson8b clk
>>> driver for Amlogic meson8b.
>>> 
>>> Signed-off-by: Alexander Müller <serveralex@gmail.com>
>> 
>> This patch isn't necessary as an alternative is already queued. See:
>> https://git.kernel.org/cgit/linux/kernel/git/mturquette/linux.git/commit/?h=gxbb-dt-clk&id=bae5d70ba6f8726ea6306aa07b7d2eb4357d3c81
>> 
>> However, if you're basing on top of clk-next (or clk-s905) then you
>> won't see the three patches linked above because they are queued through
>> Kevin & Carlo via the amlogic tree.
> 
> ...which you can find here[1] and specifically, the "integ" branch where
> I'm keeping the latest queued versions of various things merged together
> for easier testing.
> 
> Kevin
> 
> [1] https://git.kernel.org/cgit/linux/kernel/git/khilman/linux-amlogic.git/
diff mbox

Patch

diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig
index 31bdd91..b3add39 100644
--- a/arch/arm/mach-meson/Kconfig
+++ b/arch/arm/mach-meson/Kconfig
@@ -7,6 +7,7 @@  menuconfig ARCH_MESON
 	select CACHE_L2X0
 	select PINCTRL
 	select PINCTRL_MESON
+	select COMMON_CLK_AMLOGIC
 
 if ARCH_MESON
 
@@ -24,5 +25,6 @@  config MACH_MESON8B
 	bool "Amlogic Meson8b SoCs support"
 	default ARCH_MESON
 	select MESON6_TIMER
+	select COMMON_CLK_MESON8B
 
 endif