<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Re: How to set external RTC in kernel</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-external-RTC-in-kernel/m-p/1075532#M157889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-avatarid="29594" data-externalid="" data-online="false" data-presence="null" data-userid="337097" data-username="limh@sunray.cn" href="https://community.nxp.com/people/limh@sunray.cn" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: underline; font-size: 14px;"&gt;铭恒 李&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are glad you solved your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let us know in case of any other concerns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karan Gajjar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2020 04:20:18 GMT</pubDate>
    <dc:creator>karangajjar</dc:creator>
    <dc:date>2020-07-15T04:20:18Z</dc:date>
    <item>
      <title>How to set external RTC in kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-external-RTC-in-kernel/m-p/1075529#M157886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some days ago，I asked a question about RTC&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/536444"&gt;RTC always reset to 19700101&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After investigation, I find it can not&amp;nbsp;register the external RTC (BM8563ESA, I2C RTC) if I close all the on-cpu RTC in "menuconfig". And the RTC_VBAT is unused so that the on-cpu RTC which I have been using will be reset after power off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So could you please give me a hand for adding this I2C RTC into kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my devices tree for this external RTC:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;amp;i2c3 {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;clock-frequency = &amp;lt;100000&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;pinctrl-names = "default";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_i2c3&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;status = "okay";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;rtc@51{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;compatible = "pcf8563";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;reg = &amp;lt;0x51&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;hdmi: edid@50 {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;compatible = "fsl,imx6-hdmi-i2c";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;reg = &amp;lt;0x50&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;status = "okay";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;BR /&gt;};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mihan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2020 06:24:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-external-RTC-in-kernel/m-p/1075529#M157886</guid>
      <dc:creator>Mihan</dc:creator>
      <dc:date>2020-07-08T06:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to set external RTC in kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-external-RTC-in-kernel/m-p/1075530#M157887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="337097" data-username="limh@sunray.cn" href="https://community.nxp.com/people/limh@sunray.cn" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 11.9994px;"&gt;铭恒 李&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like your compatible property is not getting matched with the driver's compatible property name. You can check drivers/rtc/rtc-pcf8563.c at least once and make sure your node's compatible property matches with driver's compatible property. (here compatible = "nxp,pcf8563")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer Documentation/devicetree/bindings/rtc/pcf8563.txt. to add a node of etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, &lt;SPAN&gt;m&lt;/SPAN&gt;ake sure you have enabled this driver with the help of menuconfig.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karan Gajjar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2020 13:06:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-external-RTC-in-kernel/m-p/1075530#M157887</guid>
      <dc:creator>karangajjar</dc:creator>
      <dc:date>2020-07-08T13:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to set external RTC in kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-external-RTC-in-kernel/m-p/1075531#M157888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have solve this problem.&lt;/P&gt;&lt;P&gt;First, I found I used the on-cpu RTC before.&lt;/P&gt;&lt;P&gt;Second, I found the I2C address (get from `i2cdetect` and set in the device tree) was mismatched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, now I close all the on-cpu RTC on `make menuconfig-&amp;gt; device drivers-&amp;gt; Real time clock`, and make sure the all about pcf8563 are opened.&lt;/P&gt;&lt;P&gt;it works well for my device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mihan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 03:07:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-external-RTC-in-kernel/m-p/1075531#M157888</guid>
      <dc:creator>Mihan</dc:creator>
      <dc:date>2020-07-15T03:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to set external RTC in kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-external-RTC-in-kernel/m-p/1075532#M157889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-avatarid="29594" data-externalid="" data-online="false" data-presence="null" data-userid="337097" data-username="limh@sunray.cn" href="https://community.nxp.com/people/limh@sunray.cn" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: underline; font-size: 14px;"&gt;铭恒 李&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are glad you solved your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let us know in case of any other concerns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karan Gajjar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 04:20:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-external-RTC-in-kernel/m-p/1075532#M157889</guid>
      <dc:creator>karangajjar</dc:creator>
      <dc:date>2020-07-15T04:20:18Z</dc:date>
    </item>
  </channel>
</rss>

