<?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: enabling timer compare through kernel</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/enabling-timer-compare-through-kernel/m-p/359250#M50458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to clarify, did you modify the BSP? did you add or modify a driver? just to let you know the GPT is used for the OS tick and you should be very careful if you are modifying this module.&lt;/P&gt;&lt;P&gt;If you add you above nodes, the does the dtc fail? or the Kernel fails to compile? If you want to generate an some kind of PWM signal I suggesto you to use the PWM module whose driver is already developed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2015 17:31:47 GMT</pubDate>
    <dc:creator>alejandrolozan1</dc:creator>
    <dc:date>2015-01-21T17:31:47Z</dc:date>
    <item>
      <title>enabling timer compare through kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/enabling-timer-compare-through-kernel/m-p/359249#M50457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying to enable the timer output compare pin (MX6QDL_PAD_SD1_DAT2__GPT_COMPARE2) on the iMX6Q with no success. I haven't found any example that discusses how to properly do this. My understanding is that I need to enable the pin on the kernel and then I could set the OCR1, TCCR1, and TIMSK1 registers through Linux. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I have been doing:&lt;/P&gt;&lt;P&gt;edit the kernel/arch/arm/boot/dts/imx6q-udoo.dts (I have an UDOO board)&lt;/P&gt;&lt;P&gt;inset &lt;/P&gt;&lt;P&gt;&amp;amp;gptcomp {&lt;/P&gt;&lt;P&gt;&amp;nbsp; pinctrl-names = "default"&lt;/P&gt;&lt;P&gt;&amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_gptcomp&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; status = "okay";&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in &amp;amp;iomuxc I added:&lt;/P&gt;&lt;P&gt;pinctrl_gptcomp: gptcompgrp{&lt;/P&gt;&lt;P&gt;&amp;nbsp; fsl,pins = &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MX6QDL_PAD_SD1_DAT2__GPT_COMPARE2 0x1b0b1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;Sadly this doesn't work correctly and building the kernel fails. I know that part of what I am doing is right because I have successfully enabled the UART3, 5 and I2C1 pins using similar method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 10:52:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/enabling-timer-compare-through-kernel/m-p/359249#M50457</guid>
      <dc:creator>hamidsani</dc:creator>
      <dc:date>2015-01-20T10:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: enabling timer compare through kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/enabling-timer-compare-through-kernel/m-p/359250#M50458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to clarify, did you modify the BSP? did you add or modify a driver? just to let you know the GPT is used for the OS tick and you should be very careful if you are modifying this module.&lt;/P&gt;&lt;P&gt;If you add you above nodes, the does the dtc fail? or the Kernel fails to compile? If you want to generate an some kind of PWM signal I suggesto you to use the PWM module whose driver is already developed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 17:31:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/enabling-timer-compare-through-kernel/m-p/359250#M50458</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-01-21T17:31:47Z</dc:date>
    </item>
  </channel>
</rss>

