Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2513611rwb; Thu, 29 Sep 2022 11:08:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5B/DswX5FAjo6Jcq8f/SLnm8I8uDAUGT7SIu37mArQB6IjbvcoGg0Xi1xe1D/w9oFIYM3g X-Received: by 2002:a17:907:25cd:b0:77b:9672:38e7 with SMTP id ae13-20020a17090725cd00b0077b967238e7mr3750055ejc.10.1664474886713; Thu, 29 Sep 2022 11:08:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664474886; cv=none; d=google.com; s=arc-20160816; b=FbEnmAHdsPrrTAMsYHSgK2gs7OjHT1cMT450oTIm9JM2VMXea0fYv8Yv9Btp/FoV0r RljRapGRCko4BfO7S7tFKWXO6uBJEv+6S7tpYOyNg3gAWyOWxOCSiYmcfmK3UQXUaG0R FU11XmW/gAJlYureuDcazCNJhFzlKZ1f60ylJ5gQaoTs2rJzo0XlkxTh59h+HdFJnkg3 UZcH+OzyN6H//2DPTDxQ3NSqZ4HivXQU96+qbdkubSPJJ59Qugbq4YZne1ECoUMYhLXX uS5ygGClu6Cco2EHKdTJFCeO/+jQkopNXkaN/Yctlm51TJwqtX0unoRGxIDMKzlOXdl8 mgjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:references:in-reply-to:message-id :date:subject:cc:to:from; bh=qR5HIMdBq418ccgGIIM9JAyE4J3NbBddC7HXehqiDyE=; b=YVGnLCX7st9X2byJz8gogANTTM2A/iAXK7ElKMasxcniJYeiwmMVy+UuG4dyHw9JLz KCnAuyEUCy4uLWFGtrQIxPGlGdCigTwE/++ti+I+kUUVPjttatCGHPyfVVb7FkL6a9gn mjmNKTxLKldKyvKdYqwoFIhQLgM0OHxx/ySzMl68wmyPEeepWmR1JFL7rUyPTR0UHx9p 1QhwgGzTmXLOKW1QCH9wfYd6rz5PH30Dj2dCIYWMBBIoo6amQy7I4YLu2N+0BLu2wejN vCv3tk1kB+1YnPATbJ0/5hQywJ+3LSKDya/ux6aRgP/BYaybDDfoXdSLXlzA9OKYcoBX NV+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qo3-20020a170907874300b007707b853e46si5696073ejc.882.2022.09.29.11.07.39; Thu, 29 Sep 2022 11:08:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233861AbiI2RwM (ORCPT + 99 others); Thu, 29 Sep 2022 13:52:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233758AbiI2RwJ (ORCPT ); Thu, 29 Sep 2022 13:52:09 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.221.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3EDC146617; Thu, 29 Sep 2022 10:52:05 -0700 (PDT) X-QQ-mid: bizesmtp91t1664473914tqedou0x Received: from localhost.localdomain ( [113.72.145.157]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 30 Sep 2022 01:51:52 +0800 (CST) X-QQ-SSF: 01000000002000303000B00A0000000 X-QQ-FEAT: VNWd8gjdZNrqI5XK6Kpr9+wOXo7z2LCerXVK3EG7K1PrQ9eL9Yo0lIQ1X455d +QCfpwb4krugRfeHjrMBw3J9dYDmRV051+HzuyyUOeL6ikLghpR8ZVj27J+eLe72XcJLtx8 U3RGu8pFKqxZ9aNuaNASRqNeDF21ucsHd3lYMkBCYxKP2zyjg0BTIWOUIsdNGUT1iEtHCQn ukEIWjC0XUaQalLCz+ENi2ak3qzKD7PTxlfUYO7amCJXrvLjBwfLiMU0QQaucmiLXIQtSsA End+Lzg4nxYrtbGOGUGZ35ymYjWjoIa9y9JEIwSD0eNj1CeUBamf1ToLnh5jU+0kWfi+8Ex yeXbaom0+4xNG8SgRjYuIjQbFbgIShVQc8JJk5MhGwEw8nBxXokb0bL7ShivY2O8PUOXxmx mTLSNoSZc3s= X-QQ-GoodBg: 0 From: Hal Feng To: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Philipp Zabel , Stephen Boyd , Michael Turquette , Linus Walleij , Emil Renner Berthing , Hal Feng , linux-kernel@vger.kernel.org Subject: [PATCH v1 12/30] dt-bindings: reset: Add starfive,jh7110-reset bindings Date: Fri, 30 Sep 2022 01:51:47 +0800 Message-Id: <20220929175147.19749-1-hal.feng@linux.starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220929143225.17907-1-hal.feng@linux.starfivetech.com> References: <20220929143225.17907-1-hal.feng@linux.starfivetech.com> X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:linux.starfivetech.com:qybglogicsvr:qybglogicsvr2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add bindings for the reset controller on the JH7110 RISC-V SoC by StarFive Technology Ltd. Signed-off-by: Hal Feng --- .../bindings/reset/starfive,jh7110-reset.yaml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/starfive,jh7110-reset.yaml diff --git a/Documentation/devicetree/bindings/reset/starfive,jh7110-reset.yaml b/Documentation/devicetree/bindings/reset/starfive,jh7110-reset.yaml new file mode 100644 index 000000000000..bb0010c200f9 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/starfive,jh7110-reset.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/starfive,jh7110-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 SoC Reset Controller Device Tree Bindings + +maintainers: + - Emil Renner Berthing + - Hal Feng + +properties: + compatible: + enum: + - starfive,jh7110-reset + + "#reset-cells": + const: 1 + + starfive,assert-offset: + description: Offset of the first ASSERT register + $ref: /schemas/types.yaml#/definitions/uint32 + + starfive,status-offset: + description: Offset of the first STATUS register + $ref: /schemas/types.yaml#/definitions/uint32 + + starfive,nr-resets: + description: Number of reset signals + $ref: /schemas/types.yaml#/definitions/uint32 + +required: + - compatible + - "#reset-cells" + - starfive,assert-offset + - starfive,status-offset + - starfive,nr-resets + +additionalProperties: false + +examples: + - | + #include + + syscrg_rst: reset-controller@13020000 { + compatible = "starfive,jh7110-reset"; + #reset-cells = <1>; + starfive,assert-offset = <0x2F8>; + starfive,status-offset= <0x308>; + starfive,nr-resets = ; + }; + +... -- 2.17.1