* [PATCH V4 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node
@ 2015-03-31 11:48 Markus Reichl
2015-03-31 12:00 ` Javier Martinez Canillas
2015-05-02 5:14 ` Krzysztof Kozlowski
0 siblings, 2 replies; 5+ messages in thread
From: Markus Reichl @ 2015-03-31 11:48 UTC (permalink / raw)
To: linux-samsung-soc
Cc: Anand Moon, Krzysztof Kozlowski, Javier Martinez Canillas,
cw00.choi
The Exynos5422 SoC has a s3c6410 RTC where the source clock
is now a mandatory property.
This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards.
It is based on v4.0-rc2.
---
Changes since v3:
1. Readded slipped #include statement.
Sorry for the mess.
Changes since v2:
1. Dropped unused phandle.
Changes since v1:
1. Dropped Documentation.
2. Split into 2 parts.
Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
---
arch/arm/boot/dts/exynos5422-odroidxu3.dts | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
index a519c86..d086398 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
@@ -11,6 +11,7 @@
*/
/dts-v1/;
+#include <dt-bindings/clock/samsung,s2mps11.h>
#include "exynos5800.dtsi"
/ {
@@ -274,10 +275,6 @@
reg = <0x50>;
};
};
-
- rtc@101E0000 {
- status = "okay";
- };
};
&hdmi {
@@ -369,3 +366,9 @@
shunt-resistor = <10000>;
};
};
+
+&rtc {
+ status = "okay";
+ clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
+ clock-names = "rtc", "rtc_src";
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH V4 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node
2015-03-31 11:48 [PATCH V4 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node Markus Reichl
@ 2015-03-31 12:00 ` Javier Martinez Canillas
2015-03-31 12:06 ` Markus Reichl
2015-05-02 5:14 ` Krzysztof Kozlowski
1 sibling, 1 reply; 5+ messages in thread
From: Javier Martinez Canillas @ 2015-03-31 12:00 UTC (permalink / raw)
To: Markus Reichl, linux-samsung-soc
Cc: Anand Moon, Krzysztof Kozlowski, cw00.choi
Hello Markus,
On 03/31/2015 01:48 PM, Markus Reichl wrote:
> The Exynos5422 SoC has a s3c6410 RTC where the source clock
> is now a mandatory property.
>
> This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards.
> It is based on v4.0-rc2.
>
> ---
> Changes since v3:
> 1. Readded slipped #include statement.
> Sorry for the mess.
> Changes since v2:
> 1. Dropped unused phandle.
> Changes since v1:
> 1. Dropped Documentation.
> 2. Split into 2 parts.
>
> Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
>
When you re-spin your patches with small changes, you should keep all
the {Reviewed,Tested,Acked}-by tags collected on previous versions so
the maintainer picking the patches knows who already reviewed the code.
Best regards,
Javier
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH V4 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node
2015-03-31 12:00 ` Javier Martinez Canillas
@ 2015-03-31 12:06 ` Markus Reichl
0 siblings, 0 replies; 5+ messages in thread
From: Markus Reichl @ 2015-03-31 12:06 UTC (permalink / raw)
To: Javier Martinez Canillas, linux-samsung-soc
Cc: Anand Moon, Krzysztof Kozlowski, cw00.choi
[-- Attachment #1: Type: text/plain, Size: 953 bytes --]
Am 31.03.2015 um 14:00 schrieb Javier Martinez Canillas:
> Hello Markus,
>
> On 03/31/2015 01:48 PM, Markus Reichl wrote:
>> The Exynos5422 SoC has a s3c6410 RTC where the source clock
>> is now a mandatory property.
>>
>> This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards.
>> It is based on v4.0-rc2.
>>
>> ---
>> Changes since v3:
>> 1. Readded slipped #include statement.
>> Sorry for the mess.
>> Changes since v2:
>> 1. Dropped unused phandle.
>> Changes since v1:
>> 1. Dropped Documentation.
>> 2. Split into 2 parts.
>>
>> Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
>>
>
> When you re-spin your patches with small changes, you should keep all
> the {Reviewed,Tested,Acked}-by tags collected on previous versions so
> the maintainer picking the patches knows who already reviewed the code.
>
> Best regards,
> Javier
>
>
Ok, will copy it in next time.
Thanks,
--
Markus Reichl
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH V4 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node
2015-03-31 11:48 [PATCH V4 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node Markus Reichl
2015-03-31 12:00 ` Javier Martinez Canillas
@ 2015-05-02 5:14 ` Krzysztof Kozlowski
2015-05-03 16:34 ` [RESEND] " Markus Reichl
1 sibling, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-02 5:14 UTC (permalink / raw)
To: Markus Reichl, linux-samsung-soc
Cc: Anand Moon, Javier Martinez Canillas, cw00.choi
W dniu 31.03.2015 o 20:48, Markus Reichl pisze:
> The Exynos5422 SoC has a s3c6410 RTC where the source clock
> is now a mandatory property.
>
> This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards.
> It is based on v4.0-rc2.
>
> ---
> Changes since v3:
> 1. Readded slipped #include statement.
> Sorry for the mess.
> Changes since v2:
> 1. Dropped unused phandle.
> Changes since v1:
> 1. Dropped Documentation.
> 2. Split into 2 parts.
>
> Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
Please re-send the patch with:
1. Accumulated reviews.
2. Signed-off-by and other tags BEFORE delimiter '---'
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* [RESEND] [PATCH V4 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node
2015-05-02 5:14 ` Krzysztof Kozlowski
@ 2015-05-03 16:34 ` Markus Reichl
0 siblings, 0 replies; 5+ messages in thread
From: Markus Reichl @ 2015-05-03 16:34 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: linux-samsung-soc, Anand Moon, Javier Martinez Canillas,
cw00.choi, Kukjin Kim
The Exynos5422 SoC has a s3c6410 RTC where the source clock
is now a mandatory property.
This patch fixes probe failure of s3c-rtc on Odroid-XU3 boards.
It is based on v4.0-rc2.
Signed-off-by: Markus Reichl <m.reichl@fivetechno.de
Tested-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
---
Added accumulated reviews for RESEND
Changes since v3:
1. Readded slipped #include statement.
Sorry for the mess.
Changes since v2:
1. Dropped unused phandle.
Changes since v1:
1. Dropped Documentation.
2. Split into 2 parts.
---
arch/arm/boot/dts/exynos5422-odroidxu3.dts | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
index a519c86..d086398 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
@@ -11,6 +11,7 @@
*/
/dts-v1/;
+#include <dt-bindings/clock/samsung,s2mps11.h>
#include "exynos5800.dtsi"
/ {
@@ -274,10 +275,6 @@
reg = <0x50>;
};
};
-
- rtc@101E0000 {
- status = "okay";
- };
};
&hdmi {
@@ -369,3 +366,9 @@
shunt-resistor = <10000>;
};
};
+
+&rtc {
+ status = "okay";
+ clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
+ clock-names = "rtc", "rtc_src";
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-05-03 16:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-31 11:48 [PATCH V4 2/2] ARM: dts: exynos5422-odroidxu3: add 'rtc_src' clock to rtc node Markus Reichl
2015-03-31 12:00 ` Javier Martinez Canillas
2015-03-31 12:06 ` Markus Reichl
2015-05-02 5:14 ` Krzysztof Kozlowski
2015-05-03 16:34 ` [RESEND] " Markus Reichl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox