Message ID | 20230510015311.27505-6-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 b10csp3304587vqo; Tue, 9 May 2023 19:02:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4sBuGzKoZt0R/XWhbUM8Po8ErSExeA4yZ92afXTr0KOu9FW2xWyTYnX6IRxQFC3AjcCTIy X-Received: by 2002:a17:90a:cd03:b0:250:275e:e154 with SMTP id d3-20020a17090acd0300b00250275ee154mr15974164pju.2.1683684171854; Tue, 09 May 2023 19:02:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683684171; cv=none; d=google.com; s=arc-20160816; b=fPqQzkUKCuSZB00s4tJOyuUaE4fGsZS6V/jkKVl3FMICeSIivMCGk3G5h0MMHaLq6p 0vp/sRd4B9M/Gao4q1IoCvSBTlqA/m8vxcBYNYWRtKKZ13dux962OSMWaw+9ICKbksIk 03RekYPSmfUtqmOWpqqKumdBfwPZjAUvRMCTzC1fp6OAzEB6/55mqqonxfySwsew1ZFs lOjMkGjSmYS4YBzwEmePWIN5YP/6NkEiD+rZ5oV9PM9dEKZDoUfmIJAkZ62SX9eqktAA E7m2klQejDDpXHm4mQtduyJhrXap7LoXwPJ03JF6rk15Kd4QLuSArSEGdIC+5LCW1nEK CdrQ== 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=HFxpi2Gysz8U8PXRVkmngsC4Ou4BQVQrVVZc0haDq3g=; b=a9fjx5Rj8NEt1RJYMVtpF++T/PL1hNTerCwADUJpldSWwHddbRN0kA7YsyEIWZWPOw 0XyvPOjIJIq9+eykyPZWwUXHGciT1xrbwlkNxDc/xLmp6H6U2lES9u4z/Q1essVvftb6 ZN7nQK3N2uezQpdJFPeNs+rvQzYVO98wOXPI2dMbdGlMfdq0Fo1G1eZik1ddGuUQ7Ptp CuJgNzX3coJ6mrzvbni4rIFYOJcDpTyZ9aGLDfHAxOAwniTyj2jQl2lK9SWKzbIGAOb7 TzL3YjnXfMIHs0U/qbTgYP16fS1gXqg0S7oBVeQ+EOlb0KzoauNWzkbCBnv0fUCwXeSk deHg== 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 4-20020a630704000000b004fba0f483c8si3053276pgh.185.2023.05.09.19.02.36; Tue, 09 May 2023 19:02:51 -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 S229555AbjEJBx3 convert rfc822-to-8bit (ORCPT <rfc822;baris.duru.linux@gmail.com> + 99 others); Tue, 9 May 2023 21:53:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233875AbjEJBxU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 9 May 2023 21:53:20 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C44E3A8B; Tue, 9 May 2023 18:53:19 -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 fd01.gateway.ufhost.com (Postfix) with ESMTP id 33ECF7FFD; Wed, 10 May 2023 09:53:18 +0800 (CST) Received: from EXMBX062.cuchost.com (172.16.6.62) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 10 May 2023 09:53:18 +0800 Received: from ubuntu.localdomain (183.27.98.219) by EXMBX062.cuchost.com (172.16.6.62) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 10 May 2023 09:53:17 +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 v3 5/5] riscv: dts: starfive: jh7110: Add AON PMU node Date: Tue, 9 May 2023 18:53:11 -0700 Message-ID: <20230510015311.27505-6-changhuang.liang@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230510015311.27505-1-changhuang.liang@starfivetech.com> References: <20230510015311.27505-1-changhuang.liang@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [183.27.98.219] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX062.cuchost.com (172.16.6.62) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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?1765470814485533838?= X-GMAIL-MSGID: =?utf-8?q?1765470814485533838?= |
Series |
Add JH7110 AON PMU support
|
|
Commit Message
Changhuang Liang
May 10, 2023, 1:53 a.m. UTC
Add AON PMU node to configure power. It can be used to turn on/off dphy rx/tx power switch. It also can use syscon operation. Reviewed-by: Walker Chen <walker.chen@starfivetech.com> Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com> --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index 4c5fdb905da8..d31257d4dcfc 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -486,6 +486,12 @@ aoncrg: clock-controller@17000000 { #reset-cells = <1>; }; + aon_syscon: syscon@17010000 { + compatible = "starfive,jh7110-aon-syscon", "syscon"; + reg = <0x0 0x17010000 0x0 0x1000>; + #power-domain-cells = <1>; + }; + aongpio: pinctrl@17020000 { compatible = "starfive,jh7110-aon-pinctrl"; reg = <0x0 0x17020000 0x0 0x10000>;