All of lore.kernel.org
 help / color / mirror / Atom feed
From: lukma <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1] watchdog: Introduce watchdog driver for Intel Tangier
Date: Tue, 4 Jul 2017 23:23:49 +0200	[thread overview]
Message-ID: <e7f33246-328b-b003-768e-050688d96fe2@denx.de> (raw)
In-Reply-To: <1499200902.22624.265.camel@linux.intel.com>

Hi Andy,

> On Tue, 2017-07-04 at 16:31 -0400, Tom Rini wrote:
>> On Tue, Jul 04, 2017 at 10:48:36PM +0300, Andy Shevchenko wrote:
>>> On Tue, 2017-04-18 at 16:49 +0200, Lukasz Majewski wrote:
>>>>
>>>> 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?
>>>
>>> I started looking into this direction and have a question:
>>> what the point to move to that class if it's broken from the
>>> beginning?
>>>
>>> I really do not understand who on the earth would like to have
>>> wdt_stop() at ->probe() (the only two users do exactly that!).

At least for TI (omap), please find explanation in the description of 
this commit:

https://patchwork.ozlabs.org/patch/729819/

>>
>> It's quite possible I'm just missing something, but I don't see
>> it.  If
>> the uclass is totally broken, can you make a suggestion on fixing it?
>
> I need to think about it (I have an idea, though it requires time to
> try).
>
>>   I
>> can see a common case being "lets turn off the watchdog now" and not
>> want a wdt until the full OS, but we must also fully support "U-Boot
>> has
>> and pets the Watchdog".
>
> The users of WDT class now just disable watchdog. One of them, though,
> is using it for reset (not my case for Tangier).
>
>>> So, it looks to me now as bikeshedding, otherwise where is the
>>> documentation which describes how this all stuff should work?
>>>
>>> Can we go with the initial patch?
>>
>> If it looks like some nightmare to fix the DM uclass, I suppose, but,
>> is
>> it really that bad off atm?
>
> Not nightmare, but I really have not much time. Simon approached me
> couple of weeks ago asking what is the status with my patches for
> Tangier. That's why I found a slot to look at it.
>
> So, I just have sent a v2 of this driver with old approach to move
> things forward, otherwise I have no idea when it could be done.
>


-- 
Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de

  reply	other threads:[~2017-07-04 21:23 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
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 [this message]
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=e7f33246-328b-b003-768e-050688d96fe2@denx.de \
    --to=lukma@denx.de \
    --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.