<?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: How to set the interrupt period of the epit. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1227038#M169007</link>
    <description>&lt;P&gt;Okay I got it your point.&lt;/P&gt;&lt;P&gt;Can you please provide me sample code or how to configure the dtsi.&lt;/P&gt;&lt;P&gt;How to use&amp;nbsp;&lt;SPAN&gt;the I/O adresses and interrupt number. please guide me&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ravi&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2021 09:40:11 GMT</pubDate>
    <dc:creator>ravis5354</dc:creator>
    <dc:date>2021-02-05T09:40:11Z</dc:date>
    <item>
      <title>How to set the interrupt period of the epit.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1224745#M168803</link>
      <description>&lt;P&gt;Hi All. I am trying to use EPIT. I have made some changes on below file.&lt;/P&gt;&lt;P&gt;imx6sx.dtsi -&amp;nbsp; &amp;gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;epit1: epit@020d0000 {&lt;/P&gt;&lt;P&gt;compatible = "fsl,imx6sx-epit", "fsl,imx31-epit";&lt;/P&gt;&lt;P&gt;reg = &amp;lt;0x020d0000 0x4000&amp;gt;;&amp;nbsp;&lt;/P&gt;&lt;P&gt;interrupts = &amp;lt;GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;/P&gt;&lt;P&gt;clocks = &amp;lt;&amp;amp;clks IMX6SX_CLK_EPIT1&amp;gt;;&lt;/P&gt;&lt;P&gt;clock-names = "ipg", "per";&lt;/P&gt;&lt;P&gt;status = "okay";&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;epit2: epit@020d4000 {&lt;/P&gt;&lt;P&gt;compatible = "fsl,imx6sx-epit", "fsl,imx31-epit";&lt;/P&gt;&lt;P&gt;reg = &amp;lt;0x020d4000 0x4000&amp;gt;;&amp;nbsp;&lt;/P&gt;&lt;P&gt;interrupts = &amp;lt;GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;/P&gt;&lt;P&gt;clocks = &amp;lt;&amp;amp;clks IMX6SX_CLK_EPIT2&amp;gt;;&lt;/P&gt;&lt;P&gt;clock-names = "ipg", "per";&lt;/P&gt;&lt;P&gt;status = "okay";&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;2- Please find the attached simple epit module.&lt;/P&gt;&lt;P&gt;3 - When I am inserting the module getting below error&lt;/P&gt;&lt;P&gt;"&amp;nbsp;EPIT1 base address: c0dc0000&lt;BR /&gt;genirq: Flags mismatch irq 56. 00000004 (EPIT1) vs. 00000004 (sdma)&lt;BR /&gt;EPIT1 request_irq return -16&lt;BR /&gt;EPIT1 : request_irq() failure! ""&lt;/P&gt;&lt;P&gt;Can you please help me how to resolve this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 12:59:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1224745#M168803</guid>
      <dc:creator>ravis5354</dc:creator>
      <dc:date>2021-02-02T12:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the interrupt period of the epit.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1226089#M168920</link>
      <description>&lt;P&gt;Which board are you using? Which version of BSP are you using?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 05:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1226089#M168920</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2021-02-04T05:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the interrupt period of the epit.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1226313#M168946</link>
      <description>&lt;P&gt;I assume your DTS changes are wrong. The "clock" property has one element whilst the "clock-names" property has two elements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The interrupt number (56/57) seem to be correct (reference manual numbers minus 32). Please check the interrupt number of the SDMA in your device tree.&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;Christian&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 09:59:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1226313#M168946</guid>
      <dc:creator>ceggers</dc:creator>
      <dc:date>2021-02-04T09:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the interrupt period of the epit.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1226380#M168952</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1422" target="_self"&gt;&lt;SPAN class=""&gt;jimmychan&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am using imx6 solo x with kernel version 4.14.&lt;/P&gt;&lt;P&gt;Thanks to reply&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 11:35:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1226380#M168952</guid>
      <dc:creator>ravis5354</dc:creator>
      <dc:date>2021-02-04T11:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the interrupt period of the epit.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1226381#M168953</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/167087" target="_self"&gt;&lt;SPAN class=""&gt;ceggers&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/167087" target="_self"&gt;&lt;SPAN class=""&gt;As per your concern&amp;nbsp;&lt;SPAN&gt;The "clock" property has one element whilst the "clock-names" property has two elements.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I made same changes in DTSI.&lt;/P&gt;&lt;P&gt;If you have any update how to enable EPIT for imx6 solo x.&lt;/P&gt;&lt;P&gt;Please share me all steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your reply...&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 11:39:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1226381#M168953</guid>
      <dc:creator>ravis5354</dc:creator>
      <dc:date>2021-02-04T11:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the interrupt period of the epit.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1226404#M168954</link>
      <description>&lt;P&gt;I made changes in below dtsi&lt;/P&gt;&lt;P&gt;imx6sx.dtsi -&amp;nbsp; &amp;gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;epit1: epit@020d0000 {&lt;/P&gt;&lt;P&gt;compatible = "fsl,imx6sx-epit", "fsl,imx31-epit";&lt;/P&gt;&lt;P&gt;reg = &amp;lt;0x020d0000 0x4000&amp;gt;;&amp;nbsp;&lt;/P&gt;&lt;P&gt;interrupts = &amp;lt;GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;/P&gt;&lt;P&gt;clocks = &amp;lt;&amp;amp;clks IMX6SX_CLK_EPIT1&amp;gt;;&lt;/P&gt;&lt;P&gt;clock-names = "ipg", "per";&lt;/P&gt;&lt;P&gt;status = "okay";&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;epit2: epit@020d4000 {&lt;/P&gt;&lt;P&gt;compatible = "fsl,imx6sx-epit", "fsl,imx31-epit";&lt;/P&gt;&lt;P&gt;reg = &amp;lt;0x020d4000 0x4000&amp;gt;;&amp;nbsp;&lt;/P&gt;&lt;P&gt;interrupts = &amp;lt;GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;/P&gt;&lt;P&gt;clocks = &amp;lt;&amp;amp;clks IMX6SX_CLK_EPIT2&amp;gt;;&lt;/P&gt;&lt;P&gt;clock-names = "ipg", "per";&lt;/P&gt;&lt;P&gt;status = "okay";&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;2. I am using&amp;nbsp;&lt;SPAN&gt;The interrupt number (56/57) seem to be correct (reference manual numbers minus 32).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using 24 for EPIT and 25 for EPIT in request irq but after inserting the kernel module getting below interrupts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;root@GW-1000-NWE-1011945187000000 ~# cat /proc/interrupts&lt;BR /&gt;CPU0&lt;BR /&gt;16: 19241 GPC 55 Level i.MX Timer Tick&lt;BR /&gt;17: 0 GPC 94 Level arm-pmu&lt;BR /&gt;21: 0 GPC 20 Level caam-snvs&lt;BR /&gt;22: 416 GPC 26 Level 2020000.serial&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;24: 0 GPC 50 Level EPIT.1&lt;BR /&gt;25: 0 GPC 83 Level EPIT.2&lt;BR /&gt;43: 0 GPC 80 Level 20bc000.wdog&lt;BR /&gt;44: 0 GPC 49 Level imx_thermal&lt;BR /&gt;56: 0 GPC 2 Level sdma&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; -&amp;gt;&amp;nbsp; In dtsi 50 is assign to&amp;nbsp;asrc: &lt;A href="mailto:asrc@02034000" target="_blank"&gt;asrc@02034000&lt;/A&gt;&amp;nbsp;and 83 is assign to&amp;nbsp;pwm1: &lt;A href="mailto:pwm@02080000" target="_blank"&gt;pwm@02080000&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but for EPIT is have 56 and 57 in dtsi and sdma is 2&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please check it and share us correct dtsi configuration for imx6 solo x.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 12:20:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1226404#M168954</guid>
      <dc:creator>ravis5354</dc:creator>
      <dc:date>2021-02-04T12:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the interrupt period of the epit.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1226536#M168961</link>
      <description>&lt;P&gt;I had a short look into your driver code. It seems that you have hard coded the I/O adresses and interrupt number. So there is no value putting this information into the device tree as you driver doesn't use it.&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;Christian&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 16:50:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1226536#M168961</guid>
      <dc:creator>ceggers</dc:creator>
      <dc:date>2021-02-04T16:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the interrupt period of the epit.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1227038#M169007</link>
      <description>&lt;P&gt;Okay I got it your point.&lt;/P&gt;&lt;P&gt;Can you please provide me sample code or how to configure the dtsi.&lt;/P&gt;&lt;P&gt;How to use&amp;nbsp;&lt;SPAN&gt;the I/O adresses and interrupt number. please guide me&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ravi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 09:40:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1227038#M169007</guid>
      <dc:creator>ravis5354</dc:creator>
      <dc:date>2021-02-05T09:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the interrupt period of the epit.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1235422#M169921</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1422" target="_self"&gt;&lt;SPAN class=""&gt;jimmychan&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please provide me EPIT enable steps and how to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 05:50:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-set-the-interrupt-period-of-the-epit/m-p/1235422#M169921</guid>
      <dc:creator>ravis5354</dc:creator>
      <dc:date>2021-02-24T05:50:25Z</dc:date>
    </item>
  </channel>
</rss>

