<?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>topic Re: RTC interrupt num problem in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/RTC-interrupt-num-problem/m-p/1375445#M9462</link>
    <description>&lt;P&gt;Please refer to the following definition in&amp;nbsp;fsl-ls1046a-rdb.dts, it seems that no need to specify the interrupt number.&lt;/P&gt;
&lt;P&gt;&amp;amp;i2c3 {&lt;BR /&gt;status = "okay";&lt;/P&gt;
&lt;P&gt;rtc@51 {&lt;BR /&gt;compatible = "nxp,pcf2129";&lt;BR /&gt;reg = &amp;lt;0x51&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;</description>
    <pubDate>Tue, 23 Nov 2021 07:33:37 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2021-11-23T07:33:37Z</dc:date>
    <item>
      <title>RTC interrupt num problem</title>
      <link>https://community.nxp.com/t5/Layerscape/RTC-interrupt-num-problem/m-p/1375332#M9455</link>
      <description>&lt;P&gt;lx2080 Custom board.&lt;/P&gt;&lt;P&gt;I have mounted an RTC device under I2C-2, but how do I determine its interrupt number, which I need&lt;/P&gt;&lt;P&gt;to configure in the device tree。&lt;/P&gt;&lt;P&gt;&amp;amp;i2c2 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;rx8111@32 {&lt;BR /&gt;compatible = "epson,rx8111";&lt;BR /&gt;reg = &amp;lt;0x32&amp;gt;;&lt;BR /&gt;//interrupts = &amp;lt;0 150 0x4&amp;gt;;&lt;BR /&gt;&amp;nbsp;};&lt;/P&gt;&lt;P&gt;The interrupt number is incorrectly configured, causing device loading failure,kernel log：&lt;/P&gt;&lt;P&gt;root@TinyLinux:~# dmesg|grep rtc&lt;BR /&gt;[ 4.035145] ftm-alarm 2800000.timer: registered as rtc1&lt;BR /&gt;[ 4.045506] rtc-rx8111 2-0032: i2c_smbus_write_byte_data over rx8111_init_client&lt;BR /&gt;[ 4.056099] rtc-rx8111 2-0032: Init Success&lt;BR /&gt;[ 4.060279] rtc-rx8111 2-0032: IRQ supplied fail&lt;BR /&gt;[ 4.066136] rtc-rx8111 2-0032: registered as rtc0&lt;BR /&gt;[ 5.355119] fsl_dpaa2_ptp dprtc.0: Adding to iommu group 6&lt;BR /&gt;[ 6.090951] rtc-rx8111 2-0032: setting system clock to 2020-12-10T20:08:56 UTC (1607630936)&lt;BR /&gt;root@TinyLinux:~#&lt;/P&gt;&lt;P&gt;Circuit schematic diagram:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="muaxi8_1-1637638513076.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/162901i28AC79BB88AE9B60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="muaxi8_1-1637638513076.png" alt="muaxi8_1-1637638513076.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="muaxi8_0-1637638481262.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/162900i187C2775E8D2A1F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="muaxi8_0-1637638481262.png" alt="muaxi8_0-1637638481262.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 03:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/RTC-interrupt-num-problem/m-p/1375332#M9455</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-11-23T03:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: RTC interrupt num problem</title>
      <link>https://community.nxp.com/t5/Layerscape/RTC-interrupt-num-problem/m-p/1375445#M9462</link>
      <description>&lt;P&gt;Please refer to the following definition in&amp;nbsp;fsl-ls1046a-rdb.dts, it seems that no need to specify the interrupt number.&lt;/P&gt;
&lt;P&gt;&amp;amp;i2c3 {&lt;BR /&gt;status = "okay";&lt;/P&gt;
&lt;P&gt;rtc@51 {&lt;BR /&gt;compatible = "nxp,pcf2129";&lt;BR /&gt;reg = &amp;lt;0x51&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 07:33:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/RTC-interrupt-num-problem/m-p/1375445#M9462</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-11-23T07:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: RTC interrupt num problem</title>
      <link>https://community.nxp.com/t5/Layerscape/RTC-interrupt-num-problem/m-p/1376742#M9488</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If the interrupt number is not specified, the driver will load an error。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;root@localhost:~# dmesg|grep rtc&lt;BR /&gt;[ 3.708537] ftm-alarm 2800000.timer: registered as rtc1&lt;BR /&gt;[ 3.718904] rtc-rx8111 2-0032: i2c_smbus_write_byte_data over rx8111_init_client&lt;BR /&gt;[ 3.729490] rtc-rx8111 2-0032: Init Success&lt;BR /&gt;[ 3.733668] rtc-rx8111 2-0032: &lt;FONT color="#FF0000"&gt;IRQ supplied fail&lt;/FONT&gt;&lt;BR /&gt;[ 3.739523] rtc-rx8111 2-0032: registered as rtc0&lt;BR /&gt;[ 5.047704] fsl_dpaa2_ptp dprtc.0: Adding to iommu group 6&lt;BR /&gt;[ 5.781579] rtc-rx8111 2-0032: setting system clock to 2020-12-10T20:20:29 UTC (1607631629)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;now ， RTC interrupt&amp;nbsp; connected to the IRQ05 pin of the CPU, what's the interrupt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;number of this pin, is it 5 ？&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="muaxi8_0-1637818614254.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163166i6666CFB650FB5D5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="muaxi8_0-1637818614254.png" alt="muaxi8_0-1637818614254.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 05:44:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/RTC-interrupt-num-problem/m-p/1376742#M9488</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-11-25T05:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: RTC interrupt num problem</title>
      <link>https://community.nxp.com/t5/Layerscape/RTC-interrupt-num-problem/m-p/1379481#M9536</link>
      <description>&lt;P&gt;The following is defined in&amp;nbsp;fsl-lx2160a-rdb.dts in LSDK 21.08.&lt;/P&gt;
&lt;P&gt;&amp;amp;i2c4 {&lt;BR /&gt;status = "okay";&lt;/P&gt;
&lt;P&gt;rtc@51 {&lt;BR /&gt;compatible = "nxp,pcf2129";&lt;BR /&gt;reg = &amp;lt;0x51&amp;gt;;&lt;BR /&gt;/* IRQ_RTC_B -&amp;gt; IRQ08, active low */&lt;BR /&gt;interrupts-extended = &amp;lt;&amp;amp;extirq 8 IRQ_TYPE_LEVEL_LOW&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;Please define your dts as the following.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;amp;i2c2 {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;status = "okay";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rx8111@32 {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compatible = "epson,rx8111";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg = &amp;lt;0x32&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;interrupts-extended = &amp;lt;&amp;amp;extirq 5 IRQ_TYPE_LEVEL_LOW&amp;gt;;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;};&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 07:43:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/RTC-interrupt-num-problem/m-p/1379481#M9536</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-12-01T07:43:35Z</dc:date>
    </item>
  </channel>
</rss>

