<?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: imx6 wdt timeout value</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-wdt-timeout-value/m-p/875312#M132873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u for reply&lt;/P&gt;&lt;P&gt;i figure out the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this reg is write once only&lt;/P&gt;&lt;P&gt;it has been set to 1 during u-boot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so it can not work when i set again in kernel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2019 23:59:13 GMT</pubDate>
    <dc:creator>ilyyxfe</dc:creator>
    <dc:date>2019-01-17T23:59:13Z</dc:date>
    <item>
      <title>imx6 wdt timeout value</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-wdt-timeout-value/m-p/875310#M132871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;hello&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;i have two question, pls give me some advice.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;1.&amp;nbsp;the wdt max timeout value,&lt;/P&gt;&lt;P style="border: 0px;"&gt;i check the manual, it seems to be 128s&amp;nbsp; &amp;nbsp;(WCR_WT)&lt;/P&gt;&lt;P style="border: 0px;"&gt;but when i set a longer timeout value, it can reset system in my set time value.&lt;/P&gt;&lt;P style="border: 0px;"&gt;about this, do i mistake something?&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;2.i want to keep wdt work in low power mode.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;so i tried the follow action.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;static inline void imx2_wdt_setup(struct watchdog_device *wdog)&lt;BR /&gt;{&lt;BR /&gt;struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog);&lt;BR /&gt;u32 val;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;regmap_read(wdev-&amp;gt;regmap, IMX2_WDT_WCR, &amp;amp;val);&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;/* Suspend timer in low power mode, write once-only */&lt;BR /&gt;//val |= IMX2_WDT_WCR_WDZST;&lt;BR /&gt;val &amp;amp;= ~IMX2_WDT_WCR_WDZST;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;i modify the last line code. but it still can not keep watchdog work in stop mode.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;my source is base on 4.9.88.2.0.0&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;the situation is :&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;i open the watchdog first, then I make system into stop mode. it can not reset in expected timeout . it will keep sleep .&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;and when i wake up system, it will reset when timeout.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;and if I just open the watchdog,and not let system into sleep, it will reset when timeout.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;i will appreciate it if you can reply.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;best regards&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2019 01:42:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-wdt-timeout-value/m-p/875310#M132871</guid>
      <dc:creator>ilyyxfe</dc:creator>
      <dc:date>2019-01-16T01:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 wdt timeout value</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-wdt-timeout-value/m-p/875311#M132872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default, WDZST is 0. So, you just comment out the val |= IMX2_WDT_WCR_WDZST; should be ok. You don't need to set it to zero. And you can add a regmap_read() to read the &lt;SPAN class=""&gt;IMX2_WDT_WCR at the end of the imx2_wdt_setup() again and then use 'printk' to print out the 'val' to check the value in the register is correct or not.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2019 09:18:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-wdt-timeout-value/m-p/875311#M132872</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2019-01-16T09:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 wdt timeout value</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-wdt-timeout-value/m-p/875312#M132873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u for reply&lt;/P&gt;&lt;P&gt;i figure out the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this reg is write once only&lt;/P&gt;&lt;P&gt;it has been set to 1 during u-boot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so it can not work when i set again in kernel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 23:59:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-wdt-timeout-value/m-p/875312#M132873</guid>
      <dc:creator>ilyyxfe</dc:creator>
      <dc:date>2019-01-17T23:59:13Z</dc:date>
    </item>
  </channel>
</rss>

