All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1] watchdog: Introduce watchdog driver for Intel Tangier
Date: Tue, 18 Apr 2017 17:57:31 +0300	[thread overview]
Message-ID: <1492527451.24567.74.camel@linux.intel.com> (raw)
In-Reply-To: <20170418164926.040301f7@jawa>

On Tue, 2017-04-18 at 16:49 +0200, Lukasz Majewski wrote:
> Hi Andy,
> 
> > From: Felipe Balbi <felipe.balbi@linux.intel.com>
> > 
> > Add watchdog driver for Intel Tangier based platforms.
> > 
> > Signed-off-by: Vincent Tinelli <vincent.tinelli@intel.com>
> > Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > ---
> >  common/board_f.c               |  1 +
> >  drivers/watchdog/Kconfig       |  8 ++++++
> >  drivers/watchdog/Makefile      |  1 +
> >  drivers/watchdog/tangier_wdt.c | 63
> > ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 73
> > insertions(+) create mode 100644 drivers/watchdog/tangier_wdt.c
> > 
> > diff --git a/common/board_f.c b/common/board_f.c
> > index d9431ee79a..ad1eae98a5 100644
> > --- a/common/board_f.c
> > +++ b/common/board_f.c
> > @@ -91,6 +91,7 @@ static int init_func_watchdog_init(void)
> >  	(defined(CONFIG_M68K) || defined(CONFIG_MICROBLAZE) || \
> >  	defined(CONFIG_SH) || defined(CONFIG_AT91SAM9_WATCHDOG) ||
> > \
> >  	defined(CONFIG_DESIGNWARE_WATCHDOG) || \
> > +	defined(CONFIG_TANGIER_WATCHDOG) || \
> >  	defined(CONFIG_IMX_WATCHDOG))
> 
> I have stumbled upon similar patch... There should be new Kconfig
> option created and enabled in required SoCs.

I'm glad to use one if there is one.
For now I prefer to have it functional.

> The code seems OK, but recently patches to add wdt-uclass has been
> posted:
> 
> http://patchwork.ozlabs.org/patch/751448/
> http://patchwork.ozlabs.org/patch/751451/
> 
> Maybe it would be better to port this driver to the uclass from the
> very beginning?

Good point. Will do.

-- 
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy

  reply	other threads:[~2017-04-18 14:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-18 13:51 [U-Boot] [PATCH v1] watchdog: Introduce watchdog driver for Intel Tangier Andy Shevchenko
2017-04-18 14:49 ` Lukasz Majewski
2017-04-18 14:57   ` Andy Shevchenko [this message]
2017-04-18 16:30     ` Tom Rini
2017-07-04 19:48   ` Andy Shevchenko
2017-07-04 20:31     ` Tom Rini
2017-07-04 20:41       ` Andy Shevchenko
2017-07-04 21:23         ` lukma
2017-07-04 22:36           ` Andy Shevchenko
2017-07-05 15:59       ` Andy Shevchenko

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=1492527451.24567.74.camel@linux.intel.com \
    --to=andriy.shevchenko@linux.intel.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.