Message ID | 20230419034833.43243-8-changhuang.liang@starfivetech.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp78310vqo; Tue, 18 Apr 2023 20:57:25 -0700 (PDT) X-Google-Smtp-Source: AKy350YzDHNhZAUvb4+JEHAECSA/Lw26TEaSPiy/oM9ph0ez7KIuHP9Zc5POFqoS6wgRjgfmkXwO X-Received: by 2002:a05:6a20:258d:b0:d8:bed9:33cf with SMTP id k13-20020a056a20258d00b000d8bed933cfmr994951pzd.17.1681876645540; Tue, 18 Apr 2023 20:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681876645; cv=none; d=google.com; s=arc-20160816; b=ItODbuC3kRcm7G6MnX/FfGzP6AszBMhS5EyfQk921PxHgaY4pY5ZrfPKA6uPI9tOT5 KSY41wjg0Df9U7kqaE+QwcIr4OpBjRkUgJWzMK1hS8ZQIFmedGJP4028axyOiFyYOMEJ IUU6KYZdgr6oTVln7BZ96uD30NwtqE86Ewqbfn5rxuoJfyyTYv3sVUJCqyi3X/pFNNct xd/Y9hkYtWcipD1CxN6rr9TaUFb9YbOCxLISmWCIY4NjV9CcZKaZVfqKtVda1jac0YA0 Hw1xvl7LCfIDPajtbXmg/YgAgjAHoA43iOUO6sAghQm6JXGc6jMeV4hfoeokayXYrj4k Mtzw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o5-20020aa79785000000b0063d32d1c0b9si3621139pfp.125.2023.04.18.20.57.12; Tue, 18 Apr 2023 20:57:25 -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 S230248AbjDSDtS convert rfc822-to-8bit (ORCPT <rfc822;leviz.kernel.dev@gmail.com> + 99 others); Tue, 18 Apr 2023 23:49:18 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <changhuang.liang@starfivetech.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Emil Renner Berthing <kernel@esmil.dk>, Conor Dooley <conor@kernel.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu> CC: Walker Chen <walker.chen@starfivetech.com>, Changhuang Liang <changhuang.liang@starfivetech.com>, Hal Feng <hal.feng@starfivetech.com>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-riscv@lists.infradead.org> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763575485510846010?= X-GMAIL-MSGID: =?utf-8?q?1763575485510846010?= |
Series |
Add JH7110 AON PMU support
|
|
Commit Message
Changhuang Liang
April 19, 2023, 3:48 a.m. UTC
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 <walker.chen@starfivetech.com> Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com> --- 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 {