All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giuseppe Pagano <giuseppe.pagano@seco.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] udoo: fix watchdog setting
Date: Thu, 07 Nov 2013 12:49:18 +0100	[thread overview]
Message-ID: <1383824958.3371.68.camel@localhost> (raw)
In-Reply-To: <527B4CFC.4020900@denx.de>

Hi Stefano,

On Thu, 2013-11-07 at 09:19 +0100, Stefano Babic wrote:
> Hi Giuseppe,
> 
> On 06/11/2013 21:44, Giuseppe Pagano wrote:
> > To have watchdog quiet during kernel boot it is necessary to
> > change gpio wdt trigger direction.
> > 
> 
> Sorry, this is not a good explanation. You force a GPIO to drop a
> feture, instead of disabling the feature itself. And maybe some other
> people want to have this feature enabled.
> 
> Which is the timeout for the watchdog ? Why is it hitting too soon ?
> 
> Fix should be not done simply removing the effect, but checking the cause.


I know, my explanation was poor. 
uDoo use APX823-31W5 as watchdog chip. Timeout is about 1.2 seconds. 
To disabled watchdog during kernel boot, WDI pin of that chip needs to
be in "high impedance" state. As far as I known mx6 gpio configuration
does not contemplate tristate, so the option I choose is to set pin as
input and in "high impedance". If wdt gpio is leaved as output che chip
resets.

> 
> Best regards,
> Stefano Babic
> 

Best regards,
Giuseppe Pagano

      reply	other threads:[~2013-11-07 11:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06 20:44 [U-Boot] [PATCH 4/4] udoo: fix watchdog setting Giuseppe Pagano
2013-11-07  8:19 ` Stefano Babic
2013-11-07 11:49   ` Giuseppe Pagano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1383824958.3371.68.camel@localhost \
    --to=giuseppe.pagano@seco.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.