<?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 Enable Gated Clock for GPT in Linux User Space Driver in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Gated-Clock-for-GPT-in-Linux-User-Space-Driver/m-p/841843#M129103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gpt can be used by linux as system timer according to sect.3.3 Timer&lt;/P&gt;&lt;P&gt;attached Linux Manual. Module clocks can be enabled in uboot/board/freescale/mx6ullevk/imximage.cfg&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx6ullevk/imximage.cfg?h=imx_v2016.03_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.1.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx6ullevk/imximage.cfg?h=imx_v2016.03_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.1.0_ga"&gt;uboot-imx.git - Freescale i.MX u-boot Tree&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2018 11:17:31 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-07-10T11:17:31Z</dc:date>
    <item>
      <title>How to Enable Gated Clock for GPT in Linux User Space Driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Gated-Clock-for-GPT-in-Linux-User-Space-Driver/m-p/841842#M129102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to implement a Linux user space driver for the GPT on the i.MX6ULL using uio_pdrv_genirq.&amp;nbsp; I have the basic driver set up, but the system locks up when I try to access the GPT registers.&amp;nbsp; I saw this same problem when I originally implemented the driver as a kernel space driver.&amp;nbsp; It was caused by the gated clock for the GPT not being enabled.&amp;nbsp; Is there a way to enable the needed clocks in the user space driver?&amp;nbsp; Is there a way to enable the clock outside the driver, perhaps through a device tree setting?&amp;nbsp; Is there a change to clk-imx6ul.c or another file that can accomplish this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 23:48:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Gated-Clock-for-GPT-in-Linux-User-Space-Driver/m-p/841842#M129102</guid>
      <dc:creator>brianyokum</dc:creator>
      <dc:date>2018-07-02T23:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable Gated Clock for GPT in Linux User Space Driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Gated-Clock-for-GPT-in-Linux-User-Space-Driver/m-p/841843#M129103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gpt can be used by linux as system timer according to sect.3.3 Timer&lt;/P&gt;&lt;P&gt;attached Linux Manual. Module clocks can be enabled in uboot/board/freescale/mx6ullevk/imximage.cfg&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx6ullevk/imximage.cfg?h=imx_v2016.03_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.1.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx6ullevk/imximage.cfg?h=imx_v2016.03_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.1.0_ga"&gt;uboot-imx.git - Freescale i.MX u-boot Tree&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 11:17:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Gated-Clock-for-GPT-in-Linux-User-Space-Driver/m-p/841843#M129103</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-07-10T11:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable Gated Clock for GPT in Linux User Space Driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Gated-Clock-for-GPT-in-Linux-User-Space-Driver/m-p/841844#M129104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that Linux uses GPT1 for the system timer.&amp;nbsp; GPT2 is normally disabled in the device tree, and it appears that it is available for use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The U-Boot configuration enables all the clocks during boot, but the Linux kernel shuts down unused clocks once it starts.&amp;nbsp; I was looking for something similar to clk_prepare_enable() that can be called from user space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 15:27:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Gated-Clock-for-GPT-in-Linux-User-Space-Driver/m-p/841844#M129104</guid>
      <dc:creator>brianyokum</dc:creator>
      <dc:date>2018-07-10T15:27:26Z</dc:date>
    </item>
  </channel>
</rss>

