[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1556806126-15890-1-git-send-email-ludovic.Barre@st.com>
Date: Thu, 2 May 2019 16:08:43 +0200
From: Ludovic Barre <ludovic.Barre@...com>
To: Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Rob Herring <robh+dt@...nel.org>
CC: Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...com>,
<linux-watchdog@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
Ludovic Barre <ludovic.barre@...com>
Subject: [PATCH V2 0/3] watchdog: stm32: add dynamic prescaler support
From: Ludovic Barre <ludovic.barre@...com>
This patch series updates stm32 watchdog driver on:
-use devm_watchdog_register_device
-Guenter's recommendation about return value:
set_timeout return 0 on succes, -EINVAL for "parameter out of range"
and -EIO for "could not write value to the watchdog".
Set of reload and prescaler registers are stay in start function,
because the stm32 watchdog must be enabled to write these registers.
-adds dynamic prescaler support
Ludovic Barre (3):
watchdog: stm32: update to devm_watchdog_register_device
watchdog: stm32: update return values recommended by watchdog kernel
api
watchdog: stm32: add dynamic prescaler support
drivers/watchdog/stm32_iwdg.c | 96 ++++++++++++++++++++++++-------------------
1 file changed, 54 insertions(+), 42 deletions(-)
--
2.7.4
Powered by blists - more mailing lists