Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp214724rwe; Tue, 18 Apr 2023 20:57:09 -0700 (PDT) X-Google-Smtp-Source: AKy350bfacp5QAXLJY/6BMGGa//ZzfLje/OtJEflIH/L6B24OYcTFOzDlvq5mYorQAoh9hM0vMes X-Received: by 2002:a05:6a20:5493:b0:ef:ecaf:ff6d with SMTP id i19-20020a056a20549300b000efecafff6dmr974546pzk.12.1681876628935; Tue, 18 Apr 2023 20:57:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681876628; cv=none; d=google.com; s=arc-20160816; b=pyrI/viYIpHXjeKwMujdeLEvFtzGRmC1fR2K/adPYQ1iLSxGyiVIp9P6oSnFuBP281 zDt1gpzOXd8AZ9CPaND+NSxL+f8FFjiYbbhcisi3ytl7k7SW8c7Kpruy1Zy+op16uMm/ VXjFkkufuBgshBCF/yk3P8sI7mEAxt8Drx453ON4h/hn/q66RnAImRThH/5RXwT8cxGS hBikf04smQeGkP9QckLt0inQGDJQqOFDQkg/+mOCPsuWOegqVpxj4E3/E4mSnysAacpB xD9uulx2I2fgnHh9KNqaZ31mvLzQJ1DnzWKJ84DHpeG5FyFLDqkeUAQ+c1gtHvFF9rEb EXSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=y3Ezvlq+cuSzJyD7rcdgg8umkcDXzpuOv1lOHZFEqnQ=; b=O/ASZ0yijIWfkCDIU0aSi7t+ALa/ozAhPngd+2GDcXLjUmwJCkzb4G1Sfgka5tivf8 pYWAgfvfSdKF4IR58CmEskrte904W5NvkTGFcPxbQv5WOesBjD4o4vr6MaD7UD32/bLW BER+hIDb1+wJ80SOrgLfsYJCR0smdOG+AD+A39cijtF6o/rdz1Iz8dz8ZQLQBL40J9q3 kBMkJwVa1ebTcDsavk73QEsCYa00XXwphuLOpOnmABbpzs4utLPpjX3STT8FRYEvhnh9 HfHkGIGswXBCWml82PG1twXyOsVk/lna5Q7lI0OJiH3JxPLBW23MjMQ+7l9ZD/thK9FD O4Qg== 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 13-20020a63020d000000b0051b6613dddesi2591972pgc.281.2023.04.18.20.56.57; Tue, 18 Apr 2023 20:57:08 -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 S232261AbjDSDtR convert rfc822-to-8bit (ORCPT + 99 others); Tue, 18 Apr 2023 23:49:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231991AbjDSDsq (ORCPT ); Tue, 18 Apr 2023 23:48:46 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E1D535BF; Tue, 18 Apr 2023 20:48:44 -0700 (PDT) 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 C412124E255; Wed, 19 Apr 2023 11:48:42 +0800 (CST) Received: from EXMBX162.cuchost.com (172.16.6.72) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 19 Apr 2023 11:48:40 +0800 Received: from ubuntu.localdomain (113.72.144.253) by EXMBX162.cuchost.com (172.16.6.72) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 19 Apr 2023 11:48:39 +0800 From: Changhuang Liang To: Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou CC: Walker Chen , Changhuang Liang , Hal Feng , , , Subject: [PATCH v2 6/6] riscv: dts: starfive: jh7110: Add starfive,jh7110-aon-pmu node Date: Tue, 18 Apr 2023 20:48:33 -0700 Message-ID: <20230419034833.43243-8-changhuang.liang@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230419034833.43243-1-changhuang.liang@starfivetech.com> References: <20230419034833.43243-1-changhuang.liang@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [113.72.144.253] X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX162.cuchost.com (172.16.6.72) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 starfive,jh7110-aon-pmu node to configure power. It can be used to turn on/off dphy rx/tx power switch. Reviewed-by: Walker Chen Signed-off-by: Changhuang Liang --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index f271c3184d3a..b72cb54f0373 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -499,6 +499,11 @@ aoncrg: clock-controller@17000000 { aon_syscon: syscon@17010000 { compatible = "starfive,jh7110-aon-syscon", "syscon", "simple-mfd"; reg = <0x0 0x17010000 0x0 0x1000>; + + aon_pwrc: power-controller { + compatible = "starfive,jh7110-aon-pmu"; + #power-domain-cells = <1>; + }; }; aongpio: pinctrl@17020000 { -- 2.25.1