Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2464498pxb; Tue, 12 Oct 2021 07:11:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwy3zkfLn77MoTpEAB/+/TCMFOSrEp16l+c03qnJFTqV+HTX7Dj7OFEG5NM6NEiv9A8kQf X-Received: by 2002:a17:90a:1a43:: with SMTP id 3mr6482422pjl.242.1634047918432; Tue, 12 Oct 2021 07:11:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634047918; cv=none; d=google.com; s=arc-20160816; b=Ah7euXil5WVdd42Fvct1DcLpvDad0xNLKjfXM0IXAF9cFUams74bYm+osO/qxmnRvf TPmVJgaSCdPcwkhycBq8My2gUbqbJnGMHIyV347C62noQ4HzwzamK2HJdRN/4NAyNNBL zLFbNN4DzTazmziN7gS51fVv3r98A1ITC2+6sJQK7mrRzkDRe0fddcPPYZZsPd3ADfO2 jDMzoMRAPhJgjKCCjQk+Y5dZcWd9qC+kffPcsug9qbycK8iS0G/1/GTOa2NGN3EvPmzF qjX1dZagc7b8RXTYSpLUO4L4tElsiRYojptsEVVORugjbDraEKdfD0qFioA9/EzMkHGo tvlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=P3TH6V659MxdOd+Pk6btaCI+yJuhu8J1R8RRJ47agS4=; b=cGJzKuPDXuTal1GGYIdYmNIVQtMt7yCv9g7ImyEv3yBGmUSBZuz/s3nLiaMwFZXsCX 1dhMM5Jh3qfNA73xZJSJd3MKviVwNNCf2He0vIpmxlmuGz4tx2gm3I4o8hmVZIQlXHGA nxak9tCiR8LEXhtC3Fl/q8WPoO3uYJurRaSTN+4lEhYSY6zD143NSuUa4MB7hW1ITGrV iXmMUIrEkhNh6LK6bHhihta+V5VvCHkYIdi3BFpDfmAKGWHTT3rE02ttBeZMkBNqZlGx Q98poxU9BUM7aXmmV3PTLbscmOxA85wXWaCXqrE6wWdYLvoU2IPftlvToJokA0WzvFUC VtfQ== 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 185si15380845pgj.514.2021.10.12.07.11.39; Tue, 12 Oct 2021 07:11:58 -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 S237033AbhJLOKe (ORCPT + 99 others); Tue, 12 Oct 2021 10:10:34 -0400 Received: from mail-pf1-f170.google.com ([209.85.210.170]:39586 "EHLO mail-pf1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbhJLOKd (ORCPT ); Tue, 12 Oct 2021 10:10:33 -0400 Received: by mail-pf1-f170.google.com with SMTP id x130so8702821pfd.6; Tue, 12 Oct 2021 07:08:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=P3TH6V659MxdOd+Pk6btaCI+yJuhu8J1R8RRJ47agS4=; b=5mLL/fMbw1hgI+qkXL4GiZr4WzuY1onxZwt3Q94MLMg+Q/ie8ZbPSkxnOodIlCwKVh QEiPGmzY9LWkx3Q16srCam4TyfMxslLJwpflPDPYhJNzgQXUo4Ea7gV4AvFVOaPSvRSs vDbbKED7+CNw+8DkuWC0Ar6pDVzgOHGfNOKWty4mFbAB7ssmAV+G0Xe+7Kc/7D0CcmYa BE3GjuZ51DA/ZCoNGkdzH0RIBK8qwZ+idBcURbSUMuzN492RdhHVwSzY/obl2/OJeG0X kYUbcZcZt8ep1KDrxeRMcjA/XewUHLKBG1LsIyeuVU53mk9u4JeWqyQwULyT9EdCjz3s uonw== X-Gm-Message-State: AOAM5318pjbdMldWXm4yz7r4MivOPh9rJyoM5jG1H0QS3WTkS+RjY9Os 2QqCRO8m/q0pNj8R2wLLxdgd4Bgs+4lQKm7U1Uw= X-Received: by 2002:a63:b11:: with SMTP id 17mr22878865pgl.51.1634047711216; Tue, 12 Oct 2021 07:08:31 -0700 (PDT) MIME-Version: 1.0 References: <20211012134027.684712-1-kernel@esmil.dk> <20211012134027.684712-10-kernel@esmil.dk> <9446163d07a2ff135965c7bff249f76bd0da5fb8.camel@pengutronix.de> In-Reply-To: <9446163d07a2ff135965c7bff249f76bd0da5fb8.camel@pengutronix.de> From: Emil Renner Berthing Date: Tue, 12 Oct 2021 16:08:19 +0200 Message-ID: Subject: Re: [PATCH v1 09/16] reset: starfive-jh7100: Add StarFive JH7100 reset driver To: Philipp Zabel Cc: linux-riscv , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-clk@vger.kernel.org, "open list:GPIO SUBSYSTEM" , linux-serial@vger.kernel.org, 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 Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 12 Oct 2021 at 16:06, Philipp Zabel wrote: > > 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. Argh, sorry. I injected the _STARFIVE_ late and forgot about ordering. Will fix, thanks! > regards > Philipp