linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] s3c RTC fix for Exynos Chromebooks
@ 2014-09-17 11:50 Javier Martinez Canillas
  2014-09-17 11:50 ` [PATCH 1/2] ARM: dts: Add rtc_src clk for s3c-rtc on exynos Peach boards Javier Martinez Canillas
  2014-09-17 11:50 ` [PATCH 2/2] ARM: dts: Add rtc_src clk for s3c-rtc on exynos5250-snow Javier Martinez Canillas
  0 siblings, 2 replies; 16+ messages in thread
From: Javier Martinez Canillas @ 2014-09-17 11:50 UTC (permalink / raw)
  To: Kukjin Kim
  Cc: Doug Anderson, Chanwoo Choi, Daniel Drake, linux-samsung-soc,
	linux-arm-kernel, linux-kernel, Javier Martinez Canillas

Hello Kukjin,

commit 546b117fdf17 ("rtc: s3c: add support for RTC of Exynos3250 SoC")
added an "rtc_src" DT property for the Samsung's S3C Real Time Clock
controller that specifies the 32.768 kHz clock that uses the RTC as
its source clock but this breaks the s3c RTC on Exynos Chromebooks
because the rtc device node does not define the "rtc_src" clock.

It was working before only because the source clock was not disabled
by the kernel since the CCF didn't know about it. But once the clock
is known, the CCF disables the clock and does not work so define the
"rtc_src" clock to make the s3c-rtc driver obtain it and kept enabled.

This series makes the s3c RTC to claim its source clock on the Snow
and Peach boards but other Samsung boards will have the same issue.

The following patches are meant to be for the 3.18 rc cycle once
3.18-rc1 is released.

Javier Martinez Canillas (2):
  ARM: dts: Add rtc_src clk for s3c-rtc on exynos Peach boards
  ARM: dts: Add rtc_src clk for s3c-rtc on exynos5250-snow

 arch/arm/boot/dts/exynos5250-snow.dts      | 5 ++++-
 arch/arm/boot/dts/exynos5420-peach-pit.dts | 5 ++++-
 arch/arm/boot/dts/exynos5800-peach-pi.dts  | 5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

Best regards,
Javier

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

end of thread, other threads:[~2014-09-25  7:18 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-17 11:50 [PATCH 0/2] s3c RTC fix for Exynos Chromebooks Javier Martinez Canillas
2014-09-17 11:50 ` [PATCH 1/2] ARM: dts: Add rtc_src clk for s3c-rtc on exynos Peach boards Javier Martinez Canillas
2014-09-17 15:24   ` Doug Anderson
2014-09-22  6:41   ` Chanwoo Choi
2014-09-17 11:50 ` [PATCH 2/2] ARM: dts: Add rtc_src clk for s3c-rtc on exynos5250-snow Javier Martinez Canillas
2014-09-17 15:47   ` Doug Anderson
2014-09-17 15:51     ` Andreas Färber
2014-09-22 12:09       ` Kukjin Kim
2014-09-23  6:17       ` Kukjin Kim
2014-09-23 16:00         ` Kukjin Kim
2014-09-23 16:18           ` Javier Martinez Canillas
2014-09-24 21:41             ` Javier Martinez Canillas
2014-09-24 23:27               ` Kukjin Kim
2014-09-25  7:18                 ` Javier Martinez Canillas
2014-09-18  6:48     ` Javier Martinez Canillas
2014-09-22  6:44   ` Chanwoo Choi

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).