From patchwork Thu Jun 27 11:47:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xianwei Zhao via B4 Relay X-Patchwork-Id: 13714274 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C247FC2BD09 for ; Thu, 27 Jun 2024 11:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To: References:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version: Subject:Date:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ijN2i9VEnLBPVDCpqPYHa1HBFypLYe7WCOPwUCtxXNQ=; b=sZ6qlwMNPmPvV750eR5pO62FJr 7h8E6NIsDcUdf5Z3KWGU1OJjS+IiPQ+OnLicT3hWu0W8Di9SUTEVJxvO0/maDZBamphGkCl+XYn5u 18mp8XphlcnhK3SUGOczxzH36trPS3GB3gjVJAaZ3zGK3kBrsXznJHJ2zc3Kbpb1gMMMqer5Dkkxk +uS9EjCJ6HZSa/VEZ33pm7dWC3C8UVEgiQm2VPgvjPtmPifortTCKE/ATWeGVmil1mvZn51YTrcyU qwLBBZQQN4zEr1y+MqI6XdvE/LTfJy5n+NOotEU5mwtAHlUvYOcdP9Bna/Ld1wqYDROLOPcWguETH n+uIS4Pw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMnbl-0000000AD6B-3cCI; Thu, 27 Jun 2024 11:48:10 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMnba-0000000AD23-1PvW; Thu, 27 Jun 2024 11:48:00 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 32F7A61E52; Thu, 27 Jun 2024 11:47:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 48081C4AF0E; Thu, 27 Jun 2024 11:47:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719488875; bh=eyjxy3sxdu3xoTQb6Z89zNdOHxg3M/MGMf8s4ii97+g=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=rDLFp2F3ezKHScCh4xiy2zMKT7119vaePYGsezyMJTEf0gHUygZ77vJiqtPOBOVr0 +6e99Xc+Cm8nxJigQbla1J6r4IUo8yG5/5jyz7ojRJAD4DVYLI4wWU/PF+Mn9sH5pX zfbUl6T/ZF+AVgcgxm2b6iatsg762IjB2zz8c2zYuLcvMmDRyqV3xwupRmdTtVWuVE rH6LGjzNV94nPaOwXo/uuE8g2GN2xZqrX0wHvY/dYmhxAoK4IDZDq7sgm6+UHwXRiR NDohfTn4+TPoQtJKlfcpA2bVwqt9msQuoXUPOO8TnEiAdiG+wi06yZZvhPovL6pIs/ qq2MDj8Fiuiag== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C098C2BD09; Thu, 27 Jun 2024 11:47:55 +0000 (UTC) From: Xianwei Zhao via B4 Relay Date: Thu, 27 Jun 2024 19:47:53 +0800 Subject: [PATCH 3/3] arm64: dts: amlogic: a5: add power domain controller node MIME-Version: 1.0 Message-Id: <20240627-a5_secpower-v1-3-1f47dde1270c@amlogic.com> References: <20240627-a5_secpower-v1-0-1f47dde1270c@amlogic.com> In-Reply-To: <20240627-a5_secpower-v1-0-1f47dde1270c@amlogic.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Jianxin Pan , Ulf Hansson Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Xianwei Zhao , Hongyu Chen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1719488872; l=952; i=xianwei.zhao@amlogic.com; s=20231208; h=from:subject:message-id; bh=a2Zu+uHx7AvPgs0U7XpBlBsH/P/9nCVcrhSWZWMj+mI=; b=QgBeyLD1Kac4MHjy5kyxtif4bCHe3DmeuihH4WAyneRpGvyo31dywxlvvHylqdPXeH7o/vv3N QBZtc7xUpsQAbNsGbVbH85wfd+4zPivbRtVm+3Ojs5fVy7LPkc+N2nM X-Developer-Key: i=xianwei.zhao@amlogic.com; a=ed25519; pk=o4fDH8ZXL6xQg5h17eNzRljf6pwZHWWjqcOSsj3dW24= X-Endpoint-Received: by B4 Relay for xianwei.zhao@amlogic.com/20231208 with auth_id=107 X-Original-From: Xianwei Zhao X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240627_044758_615388_46BBA7A9 X-CRM114-Status: UNSURE ( 8.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: xianwei.zhao@amlogic.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Xianwei Zhao Add power domain controller node for Amlogic A5 SoC. Signed-off-by: Hongyu Chen Signed-off-by: Xianwei Zhao Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/amlogic-a5.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a5.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-a5.dtsi index 43f68a7da2f7..17a6316de891 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-a5.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-a5.dtsi @@ -4,6 +4,7 @@ */ #include "amlogic-a4-common.dtsi" +#include / { cpus { #address-cells = <2>; @@ -37,4 +38,13 @@ cpu3: cpu@300 { enable-method = "psci"; }; }; + + sm: secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + + pwrc: power-controller { + compatible = "amlogic,a5-pwrc"; + #power-domain-cells = <1>; + }; + }; };