From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keerthy Subject: Re: [PATCH 3/8] rtc: omap: Add external clock enabling support Date: Fri, 7 Aug 2015 13:50:21 +0530 Message-ID: <55C46A45.3000109@ti.com> References: <1438771792-12604-1-git-send-email-j-keerthy@ti.com> <1438771792-12604-4-git-send-email-j-keerthy@ti.com> <20150805111316.GI16878@atomide.com> <20150805114119.GF3486@piout.net> <20150805114357.GG3486@piout.net> <55C32AB6.7090509@ti.com> <20150806094736.GM3486@piout.net> <20150806095105.GD4215@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150806095105.GD4215-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Tony Lindgren , Alexandre Belloni Cc: Grygorii Strashko , Keerthy , linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org, galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, johan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, balbi-l0cyMroinI0@public.gmane.org, nm-l0cyMroinI0@public.gmane.org, paul-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.org, t-kristo-l0cyMroinI0@public.gmane.org List-Id: devicetree@vger.kernel.org On Thursday 06 August 2015 03:21 PM, Tony Lindgren wrote: > * Alexandre Belloni [150806 02:50]: >> On 06/08/2015 at 12:36:54 +0300, Grygorii Strashko wrote : >>> 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. >>> >> >> 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