Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp686290rwb; Fri, 18 Nov 2022 07:03:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf4jBDTJfgUtZtBUDk6NzDBD8yqoq2n86pS1vusF/Dpj2goxN39QgHaE4ou6tj/fS67rouO5 X-Received: by 2002:a63:5f14:0:b0:43c:969f:18a7 with SMTP id t20-20020a635f14000000b0043c969f18a7mr6973189pgb.12.1668783812897; Fri, 18 Nov 2022 07:03:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668783812; cv=none; d=google.com; s=arc-20160816; b=xOomkg8j3jeQ8/zBfgc6MDqOoYre/wA4B/86Bz+lYfOsU+MnPJV8cGKWnaDWowrKA6 p9fSHsFEcDk3RakqTiz5VHLArcOruUJMJCCSw4xV8855bpY356n+to13sVw0m44hKkxK mF+pq4sgEqsYpVTFmi3d+EgDZk4dqIMt6YVC8SlSfk6/VcXXOc01ol7C78zFG1K9brYP QgEZ1Z88WV6ifMabAuBlwSD/aL44r9oOj7UbC05ixbZrViyel4e9ZgDIYAaxZrBH6M4p /LO8MFrCaVFQwZPcCYEwKkEfRE2LFh8CQfQ+j5cWDwAiLw8o/jrfQ4ZODGeplbsf8yoz E1wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=rjtm2WSWLrn7mLOdGA9xfNJCKMe10GDMHlNLulbKjek=; b=0UdVEGCBL7+wYHp6RzjN0DGdKPkvxY0VDcmrstKXIupVybWAnvZXfNo6cxo1BX1fDS Hv/iomsWa0T1AIffgNXKd/9hUjSNqMiM47l8Y/I4Q0v/KoRWgVPiR/3WN596+UxQs9jH /UPVcI8c+sJTS5fXdFTfOf6UNaKKfUNkav6qOXN+vQ4blX4rFBi/Kaf5CkeAe0d7rIw9 kH/FHjW+qgm8shfamMF2I9rwC1XKCCn5HtR9bmVBeZoBEovxo/+AAkSDS6hTNXz8ulnv jiiS/PINiQDyx5xfsvjOK7JgQOIHPdsDM86O/AqRupKP6hEk/b/qcE15r/XfepVc+wRN D0Og== 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 e17-20020a17090301d100b00188758ff467si4642703plh.29.2022.11.18.07.03.17; Fri, 18 Nov 2022 07:03:32 -0800 (PST) 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 S235142AbiKRNgv (ORCPT + 91 others); Fri, 18 Nov 2022 08:36:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241918AbiKRNgR (ORCPT ); Fri, 18 Nov 2022 08:36:17 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AF9D94A5C; Fri, 18 Nov 2022 05:34:29 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id C81FE24E1A6; Fri, 18 Nov 2022 21:32:28 +0800 (CST) Received: from EXMBX068.cuchost.com (172.16.6.68) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 18 Nov 2022 21:32:28 +0800 Received: from localhost.localdomain (183.27.96.116) by EXMBX068.cuchost.com (172.16.6.68) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 18 Nov 2022 21:32:27 +0800 From: Walker Chen To: , , CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Rafael J . Wysocki" , Walker Chen , Subject: [PATCH v1 2/4] dt-bindings: power: Add starfive,jh71xx-power bindings Date: Fri, 18 Nov 2022 21:32:14 +0800 Message-ID: <20221118133216.17037-3-walker.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221118133216.17037-1-walker.chen@starfivetech.com> References: <20221118133216.17037-1-walker.chen@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [183.27.96.116] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX068.cuchost.com (172.16.6.68) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 power domain controller on the StarFive JH71XX SoC. Signed-off-by: Walker Chen --- .../bindings/power/starfive,jh71xx-power.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/starfive,jh71xx-power.yaml diff --git a/Documentation/devicetree/bindings/power/starfive,jh71xx-power.yaml b/Documentation/devicetree/bindings/power/starfive,jh71xx-power.yaml new file mode 100644 index 000000000000..2537303b4829 --- /dev/null +++ b/Documentation/devicetree/bindings/power/starfive,jh71xx-power.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/starfive,jh71xx-power.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH71xx Power Domains Controller + +maintainers: + - Walker Chen + +description: | + StarFive JH71xx SoCs include support for multiple power domains which can be + powered on/off by software based on different application scenes to save power. + +properties: + compatible: + items: + - enum: + - starfive,jh7110-pmu + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#power-domain-cells": + const: 1 + +required: + - compatible + - reg + - interrupts + - "#power-domain-cells" + +additionalProperties: false + +examples: + - | + pwrc: power-controller@17030000 { + compatible = "starfive,jh7110-pmu"; + reg = <0x17030000 0x10000>; + interrupts = <111>; + #power-domain-cells = <1>; + }; -- 2.17.1