Message ID | 20230707003710.2667989-5-xianwei.zhao@amlogic.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2933316vqx; Thu, 6 Jul 2023 17:53:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlGB/TV7RkGzYg+nYo/euYymigGgq+HDv+hxmYPNNznr+Ly9SM8fvWRQVo2dMGLCwY++mVwq X-Received: by 2002:a05:6870:f142:b0:1b4:55e9:99 with SMTP id l2-20020a056870f14200b001b455e90099mr307327oac.21.1688691214263; Thu, 06 Jul 2023 17:53:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688691214; cv=none; d=google.com; s=arc-20160816; b=U+YLQqFM++7iW0RMWOJDkoWopoY5jFkI1PW73yLDx8Y9Lag6pzpC85y0fCB+fSU/G0 pzHvGvoGUc/liaoM0DmM3GaA4ZfIQ6W6LPwoPbN54ST8f2SrFOuvShe5ZWqlPWbeiFbR lDkoJqKDARMlegzMraDmUYItUt24dWWe4pLTRfrJyS65gfzpzP3aNJJeEeyKykSoxfCG Tu67NM5AsyU8EPlmCYnY5IOgrVX9EDX5mtpoOOPHCNc3p6j/AenSZKlis/5tIPe+Po5P 5ON0fX8EizNO7go7VgdgA/uZHcRtmK3HGzaKHHbu5Ozdd0EKuVYhDRObzLXQO7rlAQLa jqBA== 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=WVIMvwVCdlBD8BaZcam/HldFWZ1n1SC/gKV/xxSDMqc=; fh=WzRG3WH3uvRbKqWQdKb+SWZNQhoyocMFA6Hw0LDjFNQ=; b=o3IW8/zViSxUJj9bdT2mFCs1U4RxfO79hY+Itfds6hbko+h7is2n57hweqORKqwe3s Rg4+tUaR3KqxbSFmedzWt03UwHks4pT2TjUW2wh7raHASUoDRkiGa5x3FipybQOCkH39 xUbGAN5X3o1GegZV6BYxr0LbNSslLbS8rfZKtpGIzXmo79y1z8FxhUKev5CF9oV6fhaQ EouAiaGbRJKrDyTieIbdPlLfo8LKwuuOf88rQIVNDWwVo4jej9a72guynaI7C6o2HeQA TTPxF5611kra3RwPvg6xJYvQTqKIn5eRFFerwlxMUDDAYYujSz6x2Gnd0pgMiqGoE/7g UUAw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s11-20020a17090b070b00b002563fbb8a85si783571pjz.111.2023.07.06.17.53.19; Thu, 06 Jul 2023 17:53:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231654AbjGGAhY (ORCPT <rfc822;hadasmailinglist@gmail.com> + 99 others); Thu, 6 Jul 2023 20:37:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbjGGAhW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 6 Jul 2023 20:37:22 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D658C1BDB; Thu, 6 Jul 2023 17:37:20 -0700 (PDT) Received: from droid01-cd.amlogic.com (10.98.11.200) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Fri, 7 Jul 2023 08:37:12 +0800 From: Xianwei Zhao <xianwei.zhao@amlogic.com> To: <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-amlogic@lists.infradead.org>, <linux-kernel@vger.kernel.org> CC: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, "Neil Armstrong" <neil.armstrong@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Xianwei Zhao <xianwei.zhao@amlogic.com> Subject: [PATCH V2 4/4] arm64: dts: add support for C3 power domain controller Date: Fri, 7 Jul 2023 08:37:10 +0800 Message-ID: <20230707003710.2667989-5-xianwei.zhao@amlogic.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230707003710.2667989-1-xianwei.zhao@amlogic.com> References: <20230707003710.2667989-1-xianwei.zhao@amlogic.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.98.11.200] 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?1770721078439635710?= X-GMAIL-MSGID: =?utf-8?q?1770721078439635710?= |
Series |
Power: C3: add power domain driver
|
|
Commit Message
Xianwei Zhao
July 7, 2023, 12:37 a.m. UTC
Enable power domain controller for Amlogic C3 SoC
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
V1 -> V2: delete status,use "okay" status by default.
---
arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
Comments
On 07/07/2023 02:37, Xianwei Zhao wrote: > Enable power domain controller for Amlogic C3 SoC > > Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com> > --- > V1 -> V2: delete status,use "okay" status by default. > --- > arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi > index 60ad4f3eef9d..f6603fd57551 100644 > --- a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi > +++ b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi > @@ -47,6 +47,15 @@ xtal: xtal-clk { > #clock-cells = <0>; > }; > > + sm: secure-monitor { > + compatible = "amlogic,meson-gxbb-sm"; > + > + pwrc: power-controller { > + compatible = "amlogic,c3-pwrc"; > + #power-domain-cells = <1>; > + }; > + }; > + > soc { > compatible = "simple-bus"; > #address-cells = <2>; Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
diff --git a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi index 60ad4f3eef9d..f6603fd57551 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi @@ -47,6 +47,15 @@ xtal: xtal-clk { #clock-cells = <0>; }; + sm: secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + + pwrc: power-controller { + compatible = "amlogic,c3-pwrc"; + #power-domain-cells = <1>; + }; + }; + soc { compatible = "simple-bus"; #address-cells = <2>;