[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0a1f48b4-8bba-afed-dd08-4d2c3d69cdb6@starfivetech.com>
Date: Mon, 27 Feb 2023 09:47:24 +0800
From: Xingyu Wu <xingyu.wu@...rfivetech.com>
To: Conor Dooley <conor@...nel.org>,
Emil Renner Berthing <emil.renner.berthing@...onical.com>
CC: <linux-riscv@...ts.infradead.org>, <devicetree@...r.kernel.org>,
<linux-watchdog@...r.kernel.org>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
"Paul Walmsley" <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Philipp Zabel <p.zabel@...gutronix.de>,
Samin Guo <samin.guo@...rfivetech.com>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 2/2] drivers: watchdog: Add StarFive Watchdog driver
On 2023/2/26 22:33, Conor Dooley wrote:
>
>
> On 26 February 2023 14:14:25 GMT, Emil Renner Berthing <emil.renner.berthing@...onical.com> wrote:
>>On Mon, 20 Feb 2023 at 09:21, Xingyu Wu <xingyu.wu@...rfivetech.com> wrote:
>>>
>>> Add watchdog driver for the StarFive JH7110 SoC.
>>>
>>> Signed-off-by: Xingyu Wu <xingyu.wu@...rfivetech.com>
>>> ---
>>> MAINTAINERS | 7 +
>>> drivers/watchdog/Kconfig | 9 +
>>> drivers/watchdog/Makefile | 2 +
>>> drivers/watchdog/starfive-wdt.c | 651 ++++++++++++++++++++++++++++++++
>>> 4 files changed, 669 insertions(+)
>>> create mode 100644 drivers/watchdog/starfive-wdt.c
>>>
>>> diff --git a/MAINTAINERS b/MAINTAINERS
>>> index 135d93368d36..6cbcf08fa76a 100644
>>> --- a/MAINTAINERS
>>> +++ b/MAINTAINERS
>>> @@ -19933,6 +19933,13 @@ F: Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml
>>> F: drivers/reset/reset-starfive-jh7100.c
>>> F: include/dt-bindings/reset/starfive-jh7100.h
>>>
>>> +STARFIVE JH7110 WATCHDOG DRIVER
>>> +M: Xingyu Wu <xingyu.wu@...rfivetech.com>
>>> +M: Samin Guo <samin.guo@...rfivetech.com>
>>> +S: Supported
>>> +F: Documentation/devicetree/bindings/watchdog/starfive*
>>> +F: drivers/watchdog/starfive-wdt.c
>>> +
>>> STATIC BRANCH/CALL
>>> M: Peter Zijlstra <peterz@...radead.org>
>>> M: Josh Poimboeuf <jpoimboe@...nel.org>
>>> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
>>> index 0bc40b763b06..4608eb5c9501 100644
>>> --- a/drivers/watchdog/Kconfig
>>> +++ b/drivers/watchdog/Kconfig
>>> @@ -2089,6 +2089,15 @@ config UML_WATCHDOG
>>> tristate "UML watchdog"
>>> depends on UML || COMPILE_TEST
>>>
>>> +config STARFIVE_WATCHDOG
>>> + tristate "StarFive Watchdog support"
>>> + depends on RISCV
>>
>>Let's do like the pinctrl and clock drivers and
>>
>> depends SOC_STARFIVE || COMPILE_TEST
>
> Or better yet, rebase on 6.3-rc1, and use ARCH_STARFIVE and save me a conversion!
>
Will modify this.
Best regards,
Xingyu Wu
Powered by blists - more mailing lists