[U-Boot] [PATCH 2/2] watchdog: designware: Convert to DM and DT probing

Marek Vasut marex at denx.de
Thu Oct 3 11:40:05 UTC 2019


On 10/3/19 9:55 AM, Jagan Teki wrote:
> On Thu, Oct 3, 2019 at 4:26 AM Marek Vasut wrote:
>>
>> Convert the designware watchdog timer driver to DM and add DT probing
>> support. Perform minor coding style clean up, like drop superfluous
>> braces. These ought to be no functional change.
>>
>> Signed-off-by: Marek Vasut <marex at denx.de>
>> Cc: Chin Liang See <chin.liang.see at intel.com>
>> Cc: Dalon Westergreen <dwesterg at gmail.com>
>> Cc: Dinh Nguyen <dinguyen at kernel.org>
>> Cc: Ley Foon Tan <ley.foon.tan at intel.com>
>> Cc: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
>> Cc: Tien Fong Chee <tien.fong.chee at intel.com>
>> ---
>>  configs/socfpga_stratix10_defconfig   |  1 +
>>  configs/socfpga_vining_fpga_defconfig |  1 +
>>  drivers/watchdog/Kconfig              | 14 ++--
>>  drivers/watchdog/designware_wdt.c     | 97 +++++++++++++++++++--------
>>  4 files changed, 77 insertions(+), 36 deletions(-)
> 
> fyi: this is already in ML [1] and yet to pick for next MW. let me
> know if you have any questions?
> 
> [1] https://patchwork.ozlabs.org/patch/1153389/

It's a pity I wasn't CCed on that patch.

That patch won't work for SoCFPGA, see my reply to Ley. We will need one
which can do non-DM WDT in SPL, so I will be sending a V2 of this one
which retains the common code and still supports HW_WATCHDOG in SPL and
DM-WDT in U-Boot proper.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list