diff mbox series

[v7,3/5] MIPS: Ingenic: Let the Kconfig of platform enable the clocksource driver.

Message ID 20200717165947.56158-4-zhouyanjie@wanyeetech.com (mailing list archive)
State Superseded
Headers show
Series Add support for the OST in Ingenic X1000. | expand

Commit Message

Zhou Yanjie July 17, 2020, 4:59 p.m. UTC
The previous clocksource patch in this series ([2/3]) has remove
"default MACH_INGENIC" and make option silent, so we need to
enable the corresponding driver in the platform's Kconfig.

Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: 周正 (Zhou Zheng) <sernia.zhou@foxmail.com>
Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
---

Notes:
    v7:
    New patch.

 arch/mips/jz4740/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Sergei Shtylyov July 18, 2020, 8:39 a.m. UTC | #1
Hello!

On 17.07.2020 19:59, 周琰杰 (Zhou Yanjie) wrote:

> The previous clocksource patch in this series ([2/3]) has remove

   Removed.

> "default MACH_INGENIC" and make option silent, so we need to

   Made?

> enable the corresponding driver in the platform's Kconfig.
> 
> Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
> Tested-by: 周正 (Zhou Zheng) <sernia.zhou@foxmail.com>
> Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
> ---
> 
> Notes:
>      v7:
>      New patch.
> 
>   arch/mips/jz4740/Kconfig | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/arch/mips/jz4740/Kconfig b/arch/mips/jz4740/Kconfig
> index 6c065dcaeff8..5ad60998702e 100644
> --- a/arch/mips/jz4740/Kconfig
> +++ b/arch/mips/jz4740/Kconfig
> @@ -36,27 +36,34 @@ endchoice
>   config MACH_JZ4740
>   	bool
>   	select SYS_HAS_CPU_MIPS32_R1
> +    select INGENIC_TIMER

    Please use tab instead of spaces here an below.

[...]

MBR, Sergei
Zhou Yanjie July 18, 2020, 10:10 a.m. UTC | #2
Hi Sergei,

在 2020/7/18 下午4:39, Sergei Shtylyov 写道:
> Hello!
>
> On 17.07.2020 19:59, 周琰杰 (Zhou Yanjie) wrote:
>
>> The previous clocksource patch in this series ([2/3]) has remove
>
>   Removed.
>
>> "default MACH_INGENIC" and make option silent, so we need to
>
>   Made?
>
>> enable the corresponding driver in the platform's Kconfig.
>>
>> Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
>> Tested-by: 周正 (Zhou Zheng) <sernia.zhou@foxmail.com>
>> Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
>> ---
>>
>> Notes:
>>      v7:
>>      New patch.
>>
>>   arch/mips/jz4740/Kconfig | 7 +++++++
>>   1 file changed, 7 insertions(+)
>>
>> diff --git a/arch/mips/jz4740/Kconfig b/arch/mips/jz4740/Kconfig
>> index 6c065dcaeff8..5ad60998702e 100644
>> --- a/arch/mips/jz4740/Kconfig
>> +++ b/arch/mips/jz4740/Kconfig
>> @@ -36,27 +36,34 @@ endchoice
>>   config MACH_JZ4740
>>       bool
>>       select SYS_HAS_CPU_MIPS32_R1
>> +    select INGENIC_TIMER
>
>    Please use tab instead of spaces here an below.
>

Sure, I will do it in the next version.

Thanks and best regards!


> [...]
>
> MBR, Sergei
diff mbox series

Patch

diff --git a/arch/mips/jz4740/Kconfig b/arch/mips/jz4740/Kconfig
index 6c065dcaeff8..5ad60998702e 100644
--- a/arch/mips/jz4740/Kconfig
+++ b/arch/mips/jz4740/Kconfig
@@ -36,27 +36,34 @@  endchoice
 config MACH_JZ4740
 	bool
 	select SYS_HAS_CPU_MIPS32_R1
+    select INGENIC_TIMER
 
 config MACH_JZ4770
 	bool
 	select MIPS_CPU_SCACHE
 	select SYS_HAS_CPU_MIPS32_R2
 	select SYS_SUPPORTS_HIGHMEM
+    select INGENIC_TIMER
+    select INGENIC_OST
 
 config MACH_JZ4780
 	bool
 	select MIPS_CPU_SCACHE
 	select SYS_HAS_CPU_MIPS32_R2
 	select SYS_SUPPORTS_HIGHMEM
+    select INGENIC_TIMER
+    select INGENIC_OST
 
 config MACH_X1000
 	bool
 	select MIPS_CPU_SCACHE
 	select SYS_HAS_CPU_MIPS32_R2
 	select SYS_SUPPORTS_HIGHMEM
+    select INGENIC_SYSOST
 
 config MACH_X1830
 	bool
 	select MIPS_CPU_SCACHE
 	select SYS_HAS_CPU_MIPS32_R2
 	select SYS_SUPPORTS_HIGHMEM
+    select INGENIC_SYSOST