diff mbox

[v2,1/4] clk: samsung: add new Kconfig for Samsung common clock options

Message ID 1394598781-3848-2-git-send-email-pankaj.dubey@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Pankaj Dubey March 12, 2014, 4:32 a.m. UTC
This patch adds new Kconfig file for adding new config option
as COMMON_CLK_SAMSUNG for Samsung common clock. This patch also
moves S3C24XX specific clock options here in this file.

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
---
 drivers/clk/samsung/Kconfig |   11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 drivers/clk/samsung/Kconfig

Comments

Tomasz Figa March 19, 2014, 12:19 p.m. UTC | #1
Hi Pankaj,

On 12.03.2014 05:32, Pankaj Dubey wrote:
> This patch adds new Kconfig file for adding new config option
> as COMMON_CLK_SAMSUNG for Samsung common clock. This patch also
> moves S3C24XX specific clock options here in this file.
>
> Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
> ---
>   drivers/clk/samsung/Kconfig |   11 +++++++++++
>   1 file changed, 11 insertions(+)
>   create mode 100644 drivers/clk/samsung/Kconfig
>
> diff --git a/drivers/clk/samsung/Kconfig b/drivers/clk/samsung/Kconfig
> new file mode 100644
> index 0000000..26eb446
> --- /dev/null
> +++ b/drivers/clk/samsung/Kconfig
> @@ -0,0 +1,11 @@
> +config COMMON_CLK_SAMSUNG
> +	bool
> +	select COMMON_CLK
> +
> +config S3C2412_COMMON_CLK
> +	bool
> +	select COMMON_CLK_SAMSUNG
> +
> +config S3C2443_COMMON_CLK
> +	bool
> +	select COMMON_CLK_SAMSUNG
>

This patch adds S3C2412_COMMON_CLK and S3C2443_COMMON_CLK to 
drivers/clk/samsung/Kconfig, but they are still present in 
arch/arm/mach-s3c24xx/Kconfig, so after this patch there are duplicate 
definitions.

Best regards,
Tomasz
Pankaj Dubey March 20, 2014, 4:27 a.m. UTC | #2
On 03/19/2014 09:19 PM, Tomasz Figa wrote:
> Hi Pankaj,
>
> On 12.03.2014 05:32, Pankaj Dubey wrote:
>> This patch adds new Kconfig file for adding new config option
>> as COMMON_CLK_SAMSUNG for Samsung common clock. This patch also
>> moves S3C24XX specific clock options here in this file.
>>
>> Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
>> ---
>>   drivers/clk/samsung/Kconfig |   11 +++++++++++
>>   1 file changed, 11 insertions(+)
>>   create mode 100644 drivers/clk/samsung/Kconfig
>>
>> diff --git a/drivers/clk/samsung/Kconfig b/drivers/clk/samsung/Kconfig
>> new file mode 100644
>> index 0000000..26eb446
>> --- /dev/null
>> +++ b/drivers/clk/samsung/Kconfig
>> @@ -0,0 +1,11 @@
>> +config COMMON_CLK_SAMSUNG
>> +    bool
>> +    select COMMON_CLK
>> +
>> +config S3C2412_COMMON_CLK
>> +    bool
>> +    select COMMON_CLK_SAMSUNG
>> +
>> +config S3C2443_COMMON_CLK
>> +    bool
>> +    select COMMON_CLK_SAMSUNG
>>
>
> This patch adds S3C2412_COMMON_CLK and S3C2443_COMMON_CLK to 
> drivers/clk/samsung/Kconfig, but they are still present in 
> arch/arm/mach-s3c24xx/Kconfig, so after this patch there are duplicate 
> definitions.
>
> Best regards,
> Tomasz
>

OK, In that case I will club change in arm/mach-s3c24xx/Kconfig and 
clk/samsung/Kconfig together
  and resubmit once again.
diff mbox

Patch

diff --git a/drivers/clk/samsung/Kconfig b/drivers/clk/samsung/Kconfig
new file mode 100644
index 0000000..26eb446
--- /dev/null
+++ b/drivers/clk/samsung/Kconfig
@@ -0,0 +1,11 @@ 
+config COMMON_CLK_SAMSUNG
+	bool
+	select COMMON_CLK
+
+config S3C2412_COMMON_CLK
+	bool
+	select COMMON_CLK_SAMSUNG
+
+config S3C2443_COMMON_CLK
+	bool
+	select COMMON_CLK_SAMSUNG