linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL/PATCH] Fix for current cycle - v4.7
@ 2016-07-11  7:34 Krzysztof Kozlowski
  2016-07-11  7:34 ` [PATCH] arm64: dts: Fix RTC by providing rtc_src clock Krzysztof Kozlowski
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2016-07-11  7:34 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Arnd, Kevin and Olof,

I got only one fix for this release cycle, so can you apply it directly
instead of pull request?

Best regards,
Krzysztof

Alim Akhtar (1):
  arm64: dts: Fix RTC by providing rtc_src clock

 arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 3 +++
 1 file changed, 3 insertions(+)

-- 
1.9.1

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

* [PATCH] arm64: dts: Fix RTC by providing rtc_src clock
  2016-07-11  7:34 [GIT PULL/PATCH] Fix for current cycle - v4.7 Krzysztof Kozlowski
@ 2016-07-11  7:34 ` Krzysztof Kozlowski
  2016-07-14 12:44   ` Arnd Bergmann
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2016-07-11  7:34 UTC (permalink / raw)
  To: linux-arm-kernel

From: Alim Akhtar <alim.akhtar@samsung.com>

Add RTC source clock as Exynos7 needs source (32.768KHz) clock
for RTC block. Without this currently S3C RTC driver probe is broken
on this SoC.

Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
index d8767b00862e..14cd3a14fb7c 100644
--- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
+++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
@@ -12,6 +12,7 @@
 /dts-v1/;
 #include "exynos7.dtsi"
 #include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/clock/samsung,s2mps11.h>
 
 / {
 	model = "Samsung Exynos7 Espresso board based on EXYNOS7";
@@ -43,6 +44,8 @@
 
 &rtc {
 	status = "okay";
+	clocks = <&clock_ccore PCLK_RTC>, <&s2mps15_osc S2MPS11_CLK_AP>;
+	clock-names = "rtc", "rtc_src";
 };
 
 &watchdog {
-- 
1.9.1

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

* [PATCH] arm64: dts: Fix RTC by providing rtc_src clock
  2016-07-11  7:34 ` [PATCH] arm64: dts: Fix RTC by providing rtc_src clock Krzysztof Kozlowski
@ 2016-07-14 12:44   ` Arnd Bergmann
  0 siblings, 0 replies; 6+ messages in thread
From: Arnd Bergmann @ 2016-07-14 12:44 UTC (permalink / raw)
  To: linux-arm-kernel

On Monday, July 11, 2016 9:34:18 AM CEST Krzysztof Kozlowski wrote:
> From: Alim Akhtar <alim.akhtar@samsung.com>
> 
> Add RTC source clock as Exynos7 needs source (32.768KHz) clock
> for RTC block. Without this currently S3C RTC driver probe is broken
> on this SoC.
> 
> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> 

Applied to fixes, thanks!

	Arnd

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

* [PATCH] arm64: dts: Fix rtc by providing rtc_src clock
  2016-07-05 10:05 [PATCH] arm64: dts: Fix rtc " Alim Akhtar
  2016-07-05 13:03 ` Javier Martinez Canillas
@ 2016-07-06  6:21 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2016-07-06  6:21 UTC (permalink / raw)
  To: linux-arm-kernel

On 07/05/2016 12:05 PM, Alim Akhtar wrote:
> Add rtc source clock as exynos7 needs source (32.768KHz) clock
> for rtc block. Without this currently rtc driver probe is broken
> on this SoC, thats because rtc-s3c driver expect rtc_src clock to
> be provided for _s3c6410-rtc_ type rtc controllers.
> 
> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
> ---
>  arch/arm64/boot/dts/exynos/exynos7-espresso.dts |    3 +++
>  1 file changed, 3 insertions(+)

Thanks, applied with adjusted message. I'll send it as a fix for v4.7.

Best regards,
Krzysztof

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

* [PATCH] arm64: dts: Fix rtc by providing rtc_src clock
  2016-07-05 10:05 [PATCH] arm64: dts: Fix rtc " Alim Akhtar
@ 2016-07-05 13:03 ` Javier Martinez Canillas
  2016-07-06  6:21 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 6+ messages in thread
From: Javier Martinez Canillas @ 2016-07-05 13:03 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Alim,

On 07/05/2016 06:05 AM, Alim Akhtar wrote:
> Add rtc source clock as exynos7 needs source (32.768KHz) clock
> for rtc block. Without this currently rtc driver probe is broken
> on this SoC, thats because rtc-s3c driver expect rtc_src clock to
> be provided for _s3c6410-rtc_ type rtc controllers.
> 
> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
> ---
>  arch/arm64/boot/dts/exynos/exynos7-espresso.dts |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
> index 03f9cf6..7f48cf0 100644
> --- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
> +++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
> @@ -12,6 +12,7 @@
>  /dts-v1/;
>  #include "exynos7.dtsi"
>  #include <dt-bindings/interrupt-controller/irq.h>
> +#include <dt-bindings/clock/samsung,s2mps11.h>
>  
>  / {
>  	model = "Samsung Exynos7 Espresso board based on EXYNOS7";
> @@ -44,6 +45,8 @@
>  
>  &rtc {
>  	status = "okay";
> +	clocks = <&clock_ccore PCLK_RTC>, <&s2mps15_osc S2MPS11_CLK_AP>;
> +	clock-names = "rtc", "rtc_src";
>  };
>  
>  &watchdog {
> 

Looks good to me.

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

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

* [PATCH] arm64: dts: Fix rtc by providing rtc_src clock
@ 2016-07-05 10:05 Alim Akhtar
  2016-07-05 13:03 ` Javier Martinez Canillas
  2016-07-06  6:21 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 6+ messages in thread
From: Alim Akhtar @ 2016-07-05 10:05 UTC (permalink / raw)
  To: linux-arm-kernel

Add rtc source clock as exynos7 needs source (32.768KHz) clock
for rtc block. Without this currently rtc driver probe is broken
on this SoC, thats because rtc-s3c driver expect rtc_src clock to
be provided for _s3c6410-rtc_ type rtc controllers.

Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
---
 arch/arm64/boot/dts/exynos/exynos7-espresso.dts |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
index 03f9cf6..7f48cf0 100644
--- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
+++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
@@ -12,6 +12,7 @@
 /dts-v1/;
 #include "exynos7.dtsi"
 #include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/clock/samsung,s2mps11.h>
 
 / {
 	model = "Samsung Exynos7 Espresso board based on EXYNOS7";
@@ -44,6 +45,8 @@
 
 &rtc {
 	status = "okay";
+	clocks = <&clock_ccore PCLK_RTC>, <&s2mps15_osc S2MPS11_CLK_AP>;
+	clock-names = "rtc", "rtc_src";
 };
 
 &watchdog {
-- 
1.7.10.4

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

end of thread, other threads:[~2016-07-14 12:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-11  7:34 [GIT PULL/PATCH] Fix for current cycle - v4.7 Krzysztof Kozlowski
2016-07-11  7:34 ` [PATCH] arm64: dts: Fix RTC by providing rtc_src clock Krzysztof Kozlowski
2016-07-14 12:44   ` Arnd Bergmann
  -- strict thread matches above, loose matches on Subject: below --
2016-07-05 10:05 [PATCH] arm64: dts: Fix rtc " Alim Akhtar
2016-07-05 13:03 ` Javier Martinez Canillas
2016-07-06  6:21 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).