All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/2] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc
@ 2013-08-14 11:02 Vikas Sajjan
  2013-08-14 11:03 ` [PATCH V3 1/2] ARM: dts: Add RTC DT node to Exynos5420 SoC Vikas Sajjan
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vikas Sajjan @ 2013-08-14 11:02 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim, patches, linaro-kernel

changes since v2:
	- split the 5250 related modifications into a separate patch.
	- placed the RTC node as per the alphabetical order in the DTS file as
	suggested by Kukjin Kim <kgene@kernel.org>.

changes since v1:
	- made DT node status as "okay" in the dtsi file itself.
-
Vikas Sajjan (2):
  ARM: dts: Add RTC DT node to Exynos5420 SoC
  ARM: dts: Fix the RTC DT node name for Exynos5250 SoC

 arch/arm/boot/dts/exynos5.dtsi    |    2 +-
 arch/arm/boot/dts/exynos5250.dtsi |    3 ++-
 arch/arm/boot/dts/exynos5420.dtsi |    6 ++++++
 3 files changed, 9 insertions(+), 2 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH V3 1/2] ARM: dts: Add RTC DT node to Exynos5420 SoC
  2013-08-14 11:02 [PATCH V3 0/2] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc Vikas Sajjan
@ 2013-08-14 11:03 ` Vikas Sajjan
  2013-08-14 11:03 ` [PATCH V3 2/2] ARM: dts: Fix the RTC DT node name for Exynos5250 SoC Vikas Sajjan
  2013-08-14 11:30 ` [PATCH V3 0/2] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc Tomasz Figa
  2 siblings, 0 replies; 6+ messages in thread
From: Vikas Sajjan @ 2013-08-14 11:03 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim, patches, linaro-kernel

Adds RTC DT node to Exynos5420 SoC

Signed-off-by: Vikas Sajjan <vikas.sajjan@linaro.org>
---
 arch/arm/boot/dts/exynos5.dtsi    |    2 +-
 arch/arm/boot/dts/exynos5420.dtsi |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi
index f65e124..4a8e223 100644
--- a/arch/arm/boot/dts/exynos5.dtsi
+++ b/arch/arm/boot/dts/exynos5.dtsi
@@ -95,7 +95,7 @@
 		interrupts = <0 54 0>;
 	};
 
-	rtc {
+	rtc@101E0000 {
 		compatible = "samsung,s3c6410-rtc";
 		reg = <0x101E0000 0x100>;
 		interrupts = <0 43 0>, <0 44 0>;
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index 9e90d1e..713bb5a 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -126,6 +126,12 @@
 		interrupts = <0 47 0>;
 	};
 
+	rtc@101E0000 {
+		clocks = <&clock 317>;
+		clock-names = "rtc";
+		status = "okay";
+	};
+
 	serial@12C00000 {
 		clocks = <&clock 257>, <&clock 128>;
 		clock-names = "uart", "clk_uart_baud0";
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH V3 2/2] ARM: dts: Fix the RTC DT node name for Exynos5250 SoC
  2013-08-14 11:02 [PATCH V3 0/2] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc Vikas Sajjan
  2013-08-14 11:03 ` [PATCH V3 1/2] ARM: dts: Add RTC DT node to Exynos5420 SoC Vikas Sajjan
@ 2013-08-14 11:03 ` Vikas Sajjan
  2013-08-14 11:30 ` [PATCH V3 0/2] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc Tomasz Figa
  2 siblings, 0 replies; 6+ messages in thread
From: Vikas Sajjan @ 2013-08-14 11:03 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim, patches, linaro-kernel

Fixes the RTC DT node name for Exynos5250 SoC and also makes status of the
node as "okay".

Signed-off-by: Vikas Sajjan <vikas.sajjan@linaro.org>
---
 arch/arm/boot/dts/exynos5250.dtsi |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 88589b7..c82137b 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -178,9 +178,10 @@
 		samsung,power-domain = <&pd_mfc>;
 	};
 
-	rtc {
+	rtc@101E0000 {
 		clocks = <&clock 337>;
 		clock-names = "rtc";
+		status = "okay";
 	};
 
 	tmu@10060000 {
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH V3 0/2] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc
  2013-08-14 11:02 [PATCH V3 0/2] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc Vikas Sajjan
  2013-08-14 11:03 ` [PATCH V3 1/2] ARM: dts: Add RTC DT node to Exynos5420 SoC Vikas Sajjan
  2013-08-14 11:03 ` [PATCH V3 2/2] ARM: dts: Fix the RTC DT node name for Exynos5250 SoC Vikas Sajjan
@ 2013-08-14 11:30 ` Tomasz Figa
  2013-08-14 12:07   ` Vikas Sajjan
  2 siblings, 1 reply; 6+ messages in thread
From: Tomasz Figa @ 2013-08-14 11:30 UTC (permalink / raw)
  To: Vikas Sajjan; +Cc: linux-samsung-soc, kgene.kim, patches, linaro-kernel

Hi Vikas,

On Wednesday 14 of August 2013 16:32:59 Vikas Sajjan wrote:
> changes since v2:
> 	- split the 5250 related modifications into a separate patch.

I'm not sure whether Kukjin's comment was about this, as it introduces a 
short bisect breakage between patch 1 and patch 2 from this series.

IMHO it would be more sensible to make first patch simply fix name of the 
node and then a separate patch adding the rtc node for exynos5420.

Best regards,
Tomasz

> 	- placed the RTC node as per the alphabetical order in the DTS file as
> 	suggested by Kukjin Kim <kgene@kernel.org>.
> 
> changes since v1:
> 	- made DT node status as "okay" in the dtsi file itself.
> -
> Vikas Sajjan (2):
>   ARM: dts: Add RTC DT node to Exynos5420 SoC
>   ARM: dts: Fix the RTC DT node name for Exynos5250 SoC
> 
>  arch/arm/boot/dts/exynos5.dtsi    |    2 +-
>  arch/arm/boot/dts/exynos5250.dtsi |    3 ++-
>  arch/arm/boot/dts/exynos5420.dtsi |    6 ++++++
>  3 files changed, 9 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH V3 0/2] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc
  2013-08-14 11:30 ` [PATCH V3 0/2] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc Tomasz Figa
@ 2013-08-14 12:07   ` Vikas Sajjan
  2013-08-14 12:27     ` Tomasz Figa
  0 siblings, 1 reply; 6+ messages in thread
From: Vikas Sajjan @ 2013-08-14 12:07 UTC (permalink / raw)
  To: Tomasz Figa; +Cc: linux-samsung-soc, kgene.kim, Patch Tracking, linaro-kernel

Hi Tomasz,

On 14 August 2013 17:00, Tomasz Figa <t.figa@samsung.com> wrote:
> Hi Vikas,
>
> On Wednesday 14 of August 2013 16:32:59 Vikas Sajjan wrote:
>> changes since v2:
>>       - split the 5250 related modifications into a separate patch.
>
> I'm not sure whether Kukjin's comment was about this, as it introduces a
> short bisect breakage between patch 1 and patch 2 from this series.
>
> IMHO it would be more sensible to make first patch simply fix name of the
> node and then a separate patch adding the rtc node for exynos5420.
>

Are you saying that
patch 1: should contain modifications for exynos5.dtsi and
exynos5250.dtsi   ( basically the RTC name change and status as
"okay")
patch 2: should contain modifications only for exynos5420.dtsi ( new
RTC DT node )


> Best regards,
> Tomasz
>
>>       - placed the RTC node as per the alphabetical order in the DTS file as
>>       suggested by Kukjin Kim <kgene@kernel.org>.
>>
>> changes since v1:
>>       - made DT node status as "okay" in the dtsi file itself.
>> -
>> Vikas Sajjan (2):
>>   ARM: dts: Add RTC DT node to Exynos5420 SoC
>>   ARM: dts: Fix the RTC DT node name for Exynos5250 SoC
>>
>>  arch/arm/boot/dts/exynos5.dtsi    |    2 +-
>>  arch/arm/boot/dts/exynos5250.dtsi |    3 ++-
>>  arch/arm/boot/dts/exynos5420.dtsi |    6 ++++++
>>  3 files changed, 9 insertions(+), 2 deletions(-)



-- 
Thanks and Regards
 Vikas Sajjan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH V3 0/2] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc
  2013-08-14 12:07   ` Vikas Sajjan
@ 2013-08-14 12:27     ` Tomasz Figa
  0 siblings, 0 replies; 6+ messages in thread
From: Tomasz Figa @ 2013-08-14 12:27 UTC (permalink / raw)
  To: Vikas Sajjan; +Cc: linux-samsung-soc, kgene.kim, Patch Tracking, linaro-kernel

On Wednesday 14 of August 2013 17:37:47 Vikas Sajjan wrote:
> Hi Tomasz,
> 
> On 14 August 2013 17:00, Tomasz Figa <t.figa@samsung.com> wrote:
> > Hi Vikas,
> > 
> > On Wednesday 14 of August 2013 16:32:59 Vikas Sajjan wrote:
> >> changes since v2:
> >>       - split the 5250 related modifications into a separate patch.
> > 
> > I'm not sure whether Kukjin's comment was about this, as it introduces
> > a
> > short bisect breakage between patch 1 and patch 2 from this series.
> > 
> > IMHO it would be more sensible to make first patch simply fix name of
> > the node and then a separate patch adding the rtc node for exynos5420.
> Are you saying that
> patch 1: should contain modifications for exynos5.dtsi and
> exynos5250.dtsi   ( basically the RTC name change and status as
> "okay")
> patch 2: should contain modifications only for exynos5420.dtsi ( new
> RTC DT node )

Oh, I forgot about the status property. So ideally there should be 3 
patches:
 - patch 1 changing exynos5.dtsi and exynos5250.dtsi to fix RTC node name,
 - patch 2 adding status="okay" to exynos5250.dtsi,
 - patch 3 adding RTC node to exynos5420.dtsi.

Best regards,
Tomasz

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-14 12:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-14 11:02 [PATCH V3 0/2] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc Vikas Sajjan
2013-08-14 11:03 ` [PATCH V3 1/2] ARM: dts: Add RTC DT node to Exynos5420 SoC Vikas Sajjan
2013-08-14 11:03 ` [PATCH V3 2/2] ARM: dts: Fix the RTC DT node name for Exynos5250 SoC Vikas Sajjan
2013-08-14 11:30 ` [PATCH V3 0/2] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc Tomasz Figa
2013-08-14 12:07   ` Vikas Sajjan
2013-08-14 12:27     ` Tomasz Figa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.