From: Marek Vasut Date: Thu, 3 Oct 2019 14:18:54 +0200 Subject: [U-Boot] [PATCH 2/2] watchdog: designware: Convert to DM and DT probing In-Reply-To: <1d3792e9-cca5-1067-0e80-e011a30baf78@denx.de> References: <20191002225554.11397-1-marex@denx.de> <20191002225554.11397-2-marex@denx.de> <1d3792e9-cca5-1067-0e80-e011a30baf78@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/3/19 1:40 PM, Marek Vasut wrote: > 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. >>> --- >>> 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. Oh, and the clock/reset stuff should be optional, since at least DM clock are not present on socfpga gen5 yet. -- Best regards, Marek Vasut