From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F826C4332F for ; Tue, 12 Oct 2021 14:08:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6877C61040 for ; Tue, 12 Oct 2021 14:08:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237138AbhJLOLA convert rfc822-to-8bit (ORCPT ); Tue, 12 Oct 2021 10:11:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237098AbhJLOK7 (ORCPT ); Tue, 12 Oct 2021 10:10:59 -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 EB978C061745 for ; Tue, 12 Oct 2021 07:08:57 -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 1maISM-0006W6-Jk; Tue, 12 Oct 2021 16:08:38 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1maISL-0002ib-VS; Tue, 12 Oct 2021 16:08:37 +0200 Message-ID: Subject: Re: [PATCH v1 08/16] dt-bindings: reset: Add Starfive JH7100 reset bindings 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:08:37 +0200 In-Reply-To: <20211012134027.684712-9-kernel@esmil.dk> References: <20211012134027.684712-1-kernel@esmil.dk> <20211012134027.684712-9-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-gpio@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Tue, 2021-10-12 at 15:40 +0200, Emil Renner Berthing wrote: > Add device tree bindings for the StarFive JH7100 reset controller. > > Signed-off-by: Emil Renner Berthing > --- > .../bindings/reset/starfive,jh7100-reset.yaml | 38 +++++++++++++++++++ > 1 file changed, 38 insertions(+) > create mode 100644 Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml > > diff --git a/Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml b/Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml > new file mode 100644 > index 000000000000..1985ccaf8605 > --- /dev/null > +++ b/Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml > @@ -0,0 +1,38 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/reset/starfive,jh7100-reset.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: StarFive JH7100 SoC Reset Controller Device Tree Bindings > + > +maintainers: > + - Emil Renner Berthing > + > +properties: > + compatible: > + enum: > + - starfive,jh7100-reset > + > + reg: > + maxItems: 1 > + > + "#reset-cells": > + const: 1 > + > +required: > + - compatible > + - reg > + - "#reset-cells" > + > +additionalProperties: false > + > +examples: > + - | > + rstgen: reset@11840000 { Better call this reset-controller@11840000, same in the .dtsi. regards Philipp