* Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx> [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 > > > > 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html