Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F50CC6FA8E for ; Sun, 26 Feb 2023 14:33:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229663AbjBZOdR (ORCPT ); Sun, 26 Feb 2023 09:33:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229646AbjBZOdQ (ORCPT ); Sun, 26 Feb 2023 09:33:16 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 096B5B764; Sun, 26 Feb 2023 06:33:13 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8218D60C17; Sun, 26 Feb 2023 14:33:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BC50C433EF; Sun, 26 Feb 2023 14:33:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677421992; bh=YnxpkmbkG6PzcFyevBigSqi5GniCxlw3dIbgKnEcWt8=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=U3DuBm8ED4PczZm6tJIrICo3o0CiMDJs/JYJdSPCpS0NtAkSmXSQzk7lNXiai09hv pf1kE2IMc0V6kunxscDiTdqyu9iVub+ezxpNfGwo7X8O/V5kYEoAZ43XJNqDZPoEE+ 88LBVIv83wfKYZ6Usc4hyCyEhESXElIr8FwFOVkWyzfijHsZfd6RnWqkpMg7fylJdh yhJoo65Kh68Fxp/qXpJH2cBein1afGn/NF+mPUfucsqJomFjaV7MDQ0lXAEcp8ydaO +pmOjeiBpmXa4iN+m30WpiUGh/zC7ewF0iVptIbEK5t6Ng7Mf2uGHkF0lfV82hPg0S d1p07RvrhfS2g== Date: Sun, 26 Feb 2023 14:33:07 +0000 From: Conor Dooley To: Emil Renner Berthing , Xingyu Wu CC: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-watchdog@vger.kernel.org, Wim Van Sebroeck , Guenter Roeck , Krzysztof Kozlowski , Rob Herring , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Samin Guo , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/2] drivers: watchdog: Add StarFive Watchdog driver User-Agent: K-9 Mail for Android In-Reply-To: References: <20230220081926.267695-1-xingyu.wu@starfivetech.com> <20230220081926.267695-3-xingyu.wu@starfivetech.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26 February 2023 14:14:25 GMT, Emil Renner Berthing wrote: >On Mon, 20 Feb 2023 at 09:21, Xingyu Wu = wrote: >> >> Add watchdog driver for the StarFive JH7110 SoC=2E >> >> Signed-off-by: Xingyu Wu >> --- >> MAINTAINERS | 7 + >> drivers/watchdog/Kconfig | 9 + >> drivers/watchdog/Makefile | 2 + >> drivers/watchdog/starfive-wdt=2Ec | 651 ++++++++++++++++++++++++++++++= ++ >> 4 files changed, 669 insertions(+) >> create mode 100644 drivers/watchdog/starfive-wdt=2Ec >> >> diff --git a/MAINTAINERS b/MAINTAINERS >> index 135d93368d36=2E=2E6cbcf08fa76a 100644 >> --- a/MAINTAINERS >> +++ b/MAINTAINERS >> @@ -19933,6 +19933,13 @@ F: Documentation/devicetree/bindings/reset= /starfive,jh7100-reset=2Eyaml >> F: drivers/reset/reset-starfive-jh7100=2Ec >> F: include/dt-bindings/reset/starfive-jh7100=2Eh >> >> +STARFIVE JH7110 WATCHDOG DRIVER >> +M: Xingyu Wu >> +M: Samin Guo >> +S: Supported >> +F: Documentation/devicetree/bindings/watchdog/starfive* >> +F: drivers/watchdog/starfive-wdt=2Ec >> + >> STATIC BRANCH/CALL >> M: Peter Zijlstra >> M: Josh Poimboeuf >> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig >> index 0bc40b763b06=2E=2E4608eb5c9501 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=2E3-rc1, and use ARCH_STARFIVE and save me a co= nversion! Thanks, Conor=2E