linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Cor Peters <cpeters@victronenergy.com>
To: <linux-watchdog@vger.kernel.org>
Subject: omap watchdog boot status
Date: Mon, 7 Nov 2016 15:26:02 +0100	[thread overview]
Message-ID: <1837421.P2zRp1Vi4u@corpeters> (raw)

Hello everybody

I was looking into an issue with the omap-wdt.c. The  watchdog driver not is 
reporting a different boot status when a reset is being triggered by the 
watchdog.

>From what I gathered, the issue is that in the omap_wdt_probe function,
pdev->dev->platform_data requires to be a reference to the PRM module,
however it has not been set, and I was wondering how this should work in 
an environment that uses the device tree method. (Link to usage:
http://lxr.free-electrons.com/source/drivers/watchdog/omap_wdt.c#L268[1] ).

My questions are as follows:
1) Is my assertion correct that the current method does not work when 
  the driver is being initialised from an device tree instead of a old style 
  board file.
2) If that is the case, what would be the best method of fixing this situation.

Thank you very much in advance.
-- 

Met vriendelijke groet,
With kind regards,
   Cor Peters

Victron Energy B.V.
Koldingweg 9a, 9723HL Groningen
Tel. +31 36 535 9774   Fax. +31 36 531 1666
www.victronenergy.com

--------
[1] http://lxr.free-electrons.com/source/drivers/watchdog/omap_wdt.c#L268

             reply	other threads:[~2016-11-07 20:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 14:26 Cor Peters [this message]
2016-11-08  1:12 ` omap watchdog boot status Guenter Roeck
2016-11-09 14:40   ` Cor Peters

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=1837421.P2zRp1Vi4u@corpeters \
    --to=cpeters@victronenergy.com \
    --cc=linux-watchdog@vger.kernel.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).