<?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: GPIO WATCHDOG in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-WATCHDOG/m-p/619426#M93880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Free Samples,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Required:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- compatible: Should contain "linux,wdt-gpio".&lt;/P&gt;&lt;P&gt;- gpios: From common gpio binding; gpio connection to WDT reset pin.&lt;/P&gt;&lt;P&gt;- hw_algo: The algorithm used by the driver. Should be one of the following values:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - toggle: Either a high-to-low or a low-to-high transition clears the WDT counter. The watchdog timer is disabled when GPIO is left floating or connected to a three-state buffer.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - level: Low or high level starts counting WDT timeout, the opposite level disables the WDT. Active level is determined by the GPIO flags.&lt;/P&gt;&lt;P&gt;- hw_margin_ms: Maximum time to reset watchdog circuit (milliseconds).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Optional:&lt;/STRONG&gt;&lt;BR /&gt;- always-running: If the watchdog timer cannot be disabled, add this flag to have the driver keep toggling the signal without a client. It will only cease to toggle the signal when the device is open and the timeout elapsed.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;watchdog: watchdog {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "linux,wdt-gpio";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;gpios = &amp;lt;&amp;amp;gpio3 9 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;hw_algo = "toggle";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;hw_margin_ms = &amp;lt;1600&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the driver you can take a look to following reference:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://lxr.free-electrons.com/source/drivers/watchdog/gpio_wdt.c" title="http://lxr.free-electrons.com/source/drivers/watchdog/gpio_wdt.c"&gt;Linux/drivers/watchdog/gpio_wdt.c - Linux Cross Reference - Free Electrons&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 21 Feb 2017 20:55:05 GMT</pubDate>
    <dc:creator>Carlos_Musich</dc:creator>
    <dc:date>2017-02-21T20:55:05Z</dc:date>
    <item>
      <title>GPIO WATCHDOG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-WATCHDOG/m-p/619425#M93879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you please advise how to configure dts file to enable GPIO based hardware watchdog in Linux?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 17:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-WATCHDOG/m-p/619425#M93879</guid>
      <dc:creator>sayi</dc:creator>
      <dc:date>2017-02-09T17:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO WATCHDOG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-WATCHDOG/m-p/619426#M93880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Free Samples,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Required:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- compatible: Should contain "linux,wdt-gpio".&lt;/P&gt;&lt;P&gt;- gpios: From common gpio binding; gpio connection to WDT reset pin.&lt;/P&gt;&lt;P&gt;- hw_algo: The algorithm used by the driver. Should be one of the following values:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - toggle: Either a high-to-low or a low-to-high transition clears the WDT counter. The watchdog timer is disabled when GPIO is left floating or connected to a three-state buffer.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - level: Low or high level starts counting WDT timeout, the opposite level disables the WDT. Active level is determined by the GPIO flags.&lt;/P&gt;&lt;P&gt;- hw_margin_ms: Maximum time to reset watchdog circuit (milliseconds).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Optional:&lt;/STRONG&gt;&lt;BR /&gt;- always-running: If the watchdog timer cannot be disabled, add this flag to have the driver keep toggling the signal without a client. It will only cease to toggle the signal when the device is open and the timeout elapsed.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;watchdog: watchdog {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "linux,wdt-gpio";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;gpios = &amp;lt;&amp;amp;gpio3 9 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;hw_algo = "toggle";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;hw_margin_ms = &amp;lt;1600&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the driver you can take a look to following reference:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://lxr.free-electrons.com/source/drivers/watchdog/gpio_wdt.c" title="http://lxr.free-electrons.com/source/drivers/watchdog/gpio_wdt.c"&gt;Linux/drivers/watchdog/gpio_wdt.c - Linux Cross Reference - Free Electrons&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 21 Feb 2017 20:55:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-WATCHDOG/m-p/619426#M93880</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-02-21T20:55:05Z</dc:date>
    </item>
  </channel>
</rss>

