Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2464977pxb; Tue, 12 Oct 2021 07:12:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnyKS05xqKAG19Kah0r2jPLSrx40wK3HF3uED/GWJFCm3CnOI4XMTQl50jukUkEFVvFgY/ X-Received: by 2002:adf:a194:: with SMTP id u20mr32857019wru.275.1634047949948; Tue, 12 Oct 2021 07:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634047949; cv=none; d=google.com; s=arc-20160816; b=XLo7bb8vUFofOpWuJ8TUmsMygO5MNp7q+wg9bjYrTzdYO5BrmF42zgrmL/S69f8Z4r 0+IIPtBkMvaSzO2Aqs+yz1CBFWQIZsZVvA7+0BLoIecxwSzq9St3vxtT5mK2tN67EB44 IKraUcmQcKRHR9Dn0W7r7og723rsrm1y9xJ5QdMM3TuqIoTmKPvkF6zi73DUf1qte71+ /G3ZdC31o/x4c7KjCi6+59Jb6p0KLR/Pr1HfLIxgOIWGe15fEjqF7Fqs+5J00vgQClMw 1JTkiFOKXgLiPN3SdI0o9C9E8G0AMQCrvXfLGycvjlV9Ct8rHQ7r1revHuDJfMHCerhh wUew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=tfN//3iQHvnOfhqCFilCH12oSFS3Oc0J5xA/42IP0wk=; b=WkSVxW7sSDnlR6cmtNX8rW7b6hPJvVlu339JppmoLV/WEsmRLIg/qBRGDf54EJPCZQ 14+ylVor7kVbqxCjFpL0LmBh0U6STsI9Uej+JsuE/j7GFiYaw9mrbcvUbI8umc91geKu AzdPkNL6v2vd4JnPaGtrAmsm3MJXXxTT7vA7DMRS2+53s71Eoy3DgKylYe8pSv41fl5N fLwwDHuulBsTJkcboHEZekYFek/6XxP/a1GoXo6zAOdnxNztoFZQowQNDbvahVwzB57Z upvVbXFsilwallesKKOmGNM3HHPalj6ig7CXQgTc0xfdgrK58+mcrezvWPnUnegSQOod /ekw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si19953829ejy.385.2021.10.12.07.12.04; Tue, 12 Oct 2021 07:12:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237136AbhJLOIl convert rfc822-to-8bit (ORCPT + 99 others); Tue, 12 Oct 2021 10:08:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236936AbhJLOIk (ORCPT ); Tue, 12 Oct 2021 10:08:40 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AE56C06161C for ; Tue, 12 Oct 2021 07:06:38 -0700 (PDT) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maIQ0-0006DE-Q2; Tue, 12 Oct 2021 16:06:12 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1maIPx-0002gx-Jv; Tue, 12 Oct 2021 16:06:09 +0200 Message-ID: <9446163d07a2ff135965c7bff249f76bd0da5fb8.camel@pengutronix.de> Subject: Re: [PATCH v1 09/16] reset: starfive-jh7100: Add StarFive JH7100 reset driver From: Philipp Zabel To: Emil Renner Berthing , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org Cc: Palmer Dabbelt , Paul Walmsley , Rob Herring , Michael Turquette , Stephen Boyd , Thomas Gleixner , Marc Zyngier , Linus Walleij , Greg Kroah-Hartman , Daniel Lezcano , Andy Shevchenko , Jiri Slaby , Maximilian Luz , Sagar Kadam , Drew Fustini , Geert Uytterhoeven , Anup Patel , Atish Patra , Matteo Croce , linux-kernel@vger.kernel.org Date: Tue, 12 Oct 2021 16:06:09 +0200 In-Reply-To: <20211012134027.684712-10-kernel@esmil.dk> References: <20211012134027.684712-1-kernel@esmil.dk> <20211012134027.684712-10-kernel@esmil.dk> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Emil, On Tue, 2021-10-12 at 15:40 +0200, Emil Renner Berthing wrote: > Add a driver for the StarFive JH7100 reset controller. > > Signed-off-by: Emil Renner Berthing > --- > MAINTAINERS | 7 ++ > drivers/reset/Kconfig | 8 ++ > drivers/reset/Makefile | 1 + > drivers/reset/reset-starfive-jh7100.c | 164 ++++++++++++++++++++++++++ > 4 files changed, 180 insertions(+) > create mode 100644 drivers/reset/reset-starfive-jh7100.c > > diff --git a/MAINTAINERS b/MAINTAINERS > index d2b95b96f0ec..f7883377895e 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -17854,6 +17854,13 @@ F: Documentation/devicetree/bindings/clock/starfive,jh7100-clkgen.yaml > F: drivers/clk/starfive/clk-starfive-jh7100.c > F: include/dt-bindings/clock/starfive-jh7100.h > > +STARFIVE JH7100 RESET CONTROLLER DRIVER > +M: Emil Renner Berthing > +S: Maintained > +F: Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml > +F: drivers/reset/reset-starfive-jh7100.c > +F: include/dt-bindings/reset/starfive-jh7100.h > + > STATIC BRANCH/CALL > M: Peter Zijlstra > M: Josh Poimboeuf > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig > index be799a5abf8a..8345521744b3 100644 > --- a/drivers/reset/Kconfig > +++ b/drivers/reset/Kconfig > @@ -92,6 +92,14 @@ config RESET_INTEL_GW > Say Y to control the reset signals provided by reset controller. > Otherwise, say N. > > +config RESET_STARFIVE_JH7100 > + bool "StarFive JH7100 Reset Driver" > + depends on SOC_STARFIVE || COMPILE_TEST > + depends on OF > + default SOC_STARFIVE > + help > + This enables the reset controller driver for the StarFive JH7100 SoC. > + Please keep these in alphabetical (config symbol name) order. regards Philipp