Re: [PATCH 3/8] rtc: omap: Add external clock enabling support
From: Keerthy <hidden>
Date: 2015-08-07 08:20:21
Also in:
linux-omap
On Thursday 06 August 2015 03:21 PM, Tony Lindgren wrote:
* Alexandre Belloni [off-list ref] [150806 02:50]:quoted
On 06/08/2015 at 12:36:54 +0300, Grygorii Strashko wrote :quoted
Pls, correct me if I'm not right. Is below what you propose? Doard dts: / { rtc_32k_ext_clk: rtc_osc_xi_clkin32_ext { #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <32000>; clock-output-names = "rtc_osc_xi_clkin32"; }; } &rtc { status = "okay"; clocks = <&sys_32k_ck>, <&rtc_32k_ext_clk>; [optional] clock-names = "int-clk", "ext-clk"; }; Driver: 1) clk0 is mandatory, internal clock source 2) clk1 is optional, external clock source, so if present - RTC driver can switch to use ext clock source
Thanks Grygorii. I will implement it this way.
quoted
quoted
Absolutely!Sounds good to me too. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
-- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html