From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] watchdog: imx2: handle WMCR only being available on i.MX35 and later
Date: Mon, 9 Jan 2017 12:04:20 +0100 [thread overview]
Message-ID: <20170109110420.atgdqwin77iheb5g@pengutronix.de> (raw)
In-Reply-To: <19492fdf-a0f7-8525-f955-8c9136575659@mleia.com>
Hello Vladimir,
On Mon, Jan 09, 2017 at 12:55:28PM +0200, Vladimir Zapolskiy wrote:
> On 01/09/2017 11:50 AM, Uwe Kleine-K?nig wrote:
> > Hello,
> >
> > this is my approach to fix the issue reported by Vladimir Zapolskiy.
> >
> > IMHO we don't need the third commit because I'm convinced most machines
> > just don't do anything when the WDOG signal becomes active. An affected
> > machine powers off 16 seconds after startup. This would be noticed
> > during development of the bootloader and so I assume all affected
> > machines having bootloaders that make the compat code unimportant.
> >
> > If you want to know if your machine is affected, do:
> >
> > mw -w $(watchdog_base_addr) 0x10
>
> is it a command in barebox shell?
barebox cannot do $(watchdog_base_addr), but (on i.MX25) I can do:
mw -w 0x53fdc000 0x10
. I think the corresponding U-Boot command is:
mw.w 0x53fdc000 0x10
> > The machines I tested this on (among a few customer boards a
> > Phycore i.MX35 and a Freescale i.MX53 Quick Start Board) don't power off.
> >
> > I don't have manuals handy for ls1021a, ls1043a and ls1046a but assume
> > they use the i.MX35 type, too. This needs to be fixed before this series
> > is applied.
> >
> > Compared to Vladimir's patch machines still using board files are fixed,
> > too.
> >
>
> This addition can be done on top of my changes, in my version the driver
> ignores WMCR on all machines with board files.
>
> So now we have two competing series unfortunately...
With mine being the better one, right? :-)
You didn't update your series for my concerns, so I did it myself
instead of retrying to iterate about the changes I'd like to see on your
version. Feel free to criticise my variant.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
next prev parent reply other threads:[~2017-01-09 11:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 9:50 [PATCH 0/3] watchdog: imx2: handle WMCR only being available on i.MX35 and later Uwe Kleine-König
2017-01-09 9:50 ` [PATCH 1/3] watchdog: imx2: Only i.MX35 and later have a WMCR register Uwe Kleine-König
2017-01-16 13:34 ` Fabio Estevam
2017-01-16 18:34 ` Fabio Estevam
2017-01-09 9:50 ` [PATCH 2/3] dts: teach newer i.MX machines to have the i.MX35 type watchdog Uwe Kleine-König
2017-01-16 18:35 ` Fabio Estevam
2017-01-16 20:43 ` Uwe Kleine-König
2017-01-16 21:48 ` Vladimir Zapolskiy
2017-01-17 8:10 ` Uwe Kleine-König
2017-01-09 9:50 ` [PATCH 3/3] watchdog: imx2: add compatibility for new " Uwe Kleine-König
2017-01-16 18:36 ` Fabio Estevam
2017-01-09 10:55 ` [PATCH 0/3] watchdog: imx2: handle WMCR only being available on i.MX35 and later Vladimir Zapolskiy
2017-01-09 11:04 ` Uwe Kleine-König [this message]
2017-01-09 17:19 ` Guenter Roeck
2017-01-09 20:06 ` Uwe Kleine-König
2017-01-16 17:27 ` Magnus Lilja
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=20170109110420.atgdqwin77iheb5g@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).