Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp31242875rwd; Thu, 6 Jul 2023 18:35:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlGs5c09BYer0ojvwjZi2Dx1vcynBcFmzDkTaSRu/uR6UcooGc/w34SIaOv+Ww3dP7+Mydvw X-Received: by 2002:a05:6358:c12:b0:133:b86:cbef with SMTP id f18-20020a0563580c1200b001330b86cbefmr3981374rwj.5.1688693720185; Thu, 06 Jul 2023 18:35:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688693720; cv=none; d=google.com; s=arc-20160816; b=sfhlh1wZxdOEPTuQYDnfO/hnU1gLLr/oxxXa1URbdduuG7OdYq4AQWeORb5tIXGAyy F35QgJWtm/UswzzOZVI25xD2DnaVb8xjsB8iRoWvmg2N6CfMPsjt/FmDCWJC1V2gsi2B VphzDtosdeZKb7t8JUEpgyILkUB0cg+aHxhX/Lvx8uHuj1eCCfyZPW62P0PtM/PdKk9A aQR+xLZIwLZWrOO6pKB7OsqHdjA/lzGq4xmG+Kw39DTClzBewPN6nF5q6J35A0dgFlHf 6Ef9lsZcQRbDYZvvRzTLrhW4J4gwmsSpwhodAZfn154TdgOKvs6e7EU/A2WC+xId7WY5 vznw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k185-20020a6324c2000000b00551bb2b99besi2785689pgk.85.2023.07.06.18.35.06; Thu, 06 Jul 2023 18:35:20 -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 S230445AbjGGAhX (ORCPT + 99 others); Thu, 6 Jul 2023 20:37:23 -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 ); 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 To: , , , CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Neil Armstrong" , Kevin Hilman , Xianwei Zhao 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: X-Mailing-List: linux-kernel@vger.kernel.org Enable power domain controller for Amlogic C3 SoC Signed-off-by: Xianwei Zhao --- 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>; -- 2.37.1