lkml.org 
[lkml]   [2019]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 1/3] clk: loongson1: add configuration option for loongson1 clks
From
Date
Quoting Jiaxun Yang (2019-01-31 22:35:38)
> diff --git a/drivers/clk/loongson1/Kconfig b/drivers/clk/loongson1/Kconfig
> new file mode 100644
> index 000000000000..e2220332d797
> --- /dev/null
> +++ b/drivers/clk/loongson1/Kconfig
> @@ -0,0 +1,27 @@
> +menu "Loongson-1 Clock drivers"
> + depends on MACH_LOONGSON32
> +
> +config LOONGSON1_CLOCK_COMMON
> + bool
> +
> +config LOONGSON1_CLOCK_LS1B
> + bool "Loongson 1B driver"
> + default y

Should be default CONFIG_LOONGSON1_LS1B?
> + select LOONGSON1_CLOCK_COMMON

Drop the selects and have the menuconfig make the "COMMON" config option
enabled then?

> + help
> + Support the clocks provided by the clock hardware on Loongson-1B
> + and compatible SoCs.
> +
> + If building for a Loongson-1B SoC, you want to say Y here.
> +
> +config LOONGSON1_CLOCK_LS1C
> + bool "Loongson 1C driver"
> + default y

And default CONFIG_LOONGSON1_LS1C?

> + select LOONGSON1_CLOCK_COMMON
> + help
> + Support the clocks provided by the clock hardware on Loongson-1C
> + and compatible SoCs.
> +
> + If building for a Loongson-1C SoC, you want to say Y here.
> +
> +endmenu

\
 
 \ /
  Last update: 2019-02-06 20:19    [W:0.830 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site