Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2504004lqb; Tue, 28 May 2024 01:42:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWaU3bIeHyL9nIwGbjEbtBQYlSMcAEXzyPCYI8l13e0PYCEJKrGqCjjeKiKxpMoiSTYmD0JjCj7yca5ghEXyWg6dEVlyX/rTzoPxWzdjQ== X-Google-Smtp-Source: AGHT+IE/O8bWlKkQk4ToYvHZwtpGI3EX1DjrJo84tMY4e6Ezb5gYK2Qv8mAxrY7YwM2vQ1yedWzw X-Received: by 2002:a05:6a20:841a:b0:1ad:8755:976 with SMTP id adf61e73a8af0-1b212d5b049mr13180467637.13.1716885751451; Tue, 28 May 2024 01:42:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716885751; cv=pass; d=google.com; s=arc-20160816; b=M9At2dt90iCIjyx3aLTtSWVzcrycAONO/Lj1upzDcysFDYHKi1JBs2WcxcEFrUmX/i z9fkh5IPAiWKJHa3homctg5b0NXLu5vH7WPNXG5vTl3D2az8WraGA5gG0K7Xamkl4nXi ZXUL3FcyQDjXA+/4gwt8KTkRUqJPG4WBad7YkaUr9pliJgwpnmJmTqB9cycEZ8wMEhzm JOHY88WthKtcpDHlrujwE6FOu4ubKPMiVpUMjHOnmibvGSoCKNF3ZvehA1EbLxhrSjM4 SBzeMriwsOgowFElesaWVapkTLTp8cFeqYEflEx5G1SkvFH/8V8YAc6bMhOyfZ2BKfW/ eDIA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=GcUzWVTqku2eCT07zPHpzZjkGM848DMhRgmlB2gyD2Y=; fh=kLlDOOuU12mQHqyjqYudCcHeHoIXXMHJ2rQvXIEThkk=; b=MQi6GGEwHU+ALfFgwqqdJTte1QhN/0mhl4IaVZegyTYd0R+ppJs9453zFGjfsZESsm kMQLpfQoFFPWE5fKQeFb8BGRo3JSshtYXXXw+poouYIfh8y7I2WGybg8W7KV+db3Oufy xo3grbniHMJfzT98+Ay3GIcjHKFznRupBMJoSib0AGwizxS8EWo1X1t3Vd5XKqPZm6lk CkU+TWyJc9/hI+YZA4eLMqx4UxtBozHPFaBumWeta0O0722qLguEhz64yMTbvp3E1SzW FrjKeVgAWf/Ma3QkeCb01BODfMExlvtvoFyNf+YBWFpC8oA7hJLOC+gx3cXHjJ5DQhz5 W5Kg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G45asAmv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191946-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191946-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f4606e5e11si61875315ad.63.2024.05.28.01.42.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 01:42:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191946-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G45asAmv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191946-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191946-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id EC581B23D05 for ; Tue, 28 May 2024 08:39:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D1FF13D61E; Tue, 28 May 2024 08:39:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="G45asAmv" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B6EE27D07D; Tue, 28 May 2024 08:39:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716885572; cv=none; b=QapQp8yom1tn8RbDZ9WqMzptX7NeoqQsPQ41S+9IEaeCP5ILSmsIJ4m4HnZ3aiYBIeO4DoxG7ldoxFW3U2vLaiXVb1L8LzQnJVp6roqoPRXq6WMJgLsPxrS1hwioWhugJ6O49cIA+dVpXqdv5lYuR2D/Xyxfw7TiS0ZVGWluTqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716885572; c=relaxed/simple; bh=Kj+dnbcQsJtNSINo7zvlXmb60tMjgfrr8JYjVExuHhA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iYrHtJvkBuc/1ypqGvSVwLRSAjzKatHgSJL415zQXeTGCW9xnzuIiDGYrgVkw6BOFDHxILXMURdC4zl30u48AB/GHsD+SD+WzkPjH2Z8I3by2KmhPq8xzcjBjAk29v5gOwQTelCnsCWGSlwA6B/0BnWhKpjZUJa5/yYGbfc1lNg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=G45asAmv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 66975C4AF10; Tue, 28 May 2024 08:39:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716885572; bh=Kj+dnbcQsJtNSINo7zvlXmb60tMjgfrr8JYjVExuHhA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=G45asAmvuYIvV+L9qlMaBrBFgK+DPE1Gnu8rqWsbm3fQ/H34Cv1F0u8/T2JF06INz NEIjvqzzD0VxCVXGueD962xY3sOT06ohLyVY/Q2FmecMW0lxj9akbWt4OFbsYG5+B/ BQaYIh1B0ANWhF2IJV+bqjt5fe9ntwYaAWloJGcSqYp1D0A7dOZjD+qJ3J0wctXOXV tQd9dLHERurEsDqcSqFL3EyN+pRFIr/C5i+VP8uIWFoV9nFEOX0eq1qHLmzsR9dM4m DaLzfKlLbjd9Rvki6RT4+utUJ7NepJAF0YpR9kFsKFkNswy6LoTp8gpmrhnUQn2otX 9j9Y4DKsZnjvQ== 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 5C0D6C25B78; Tue, 28 May 2024 08:39:32 +0000 (UTC) From: Xianwei Zhao via B4 Relay Date: Tue, 28 May 2024 16:39:30 +0800 Subject: [PATCH 3/3] arm64: dts: amlogic: a4: add power domain controller node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240528-a4_secpowerdomain-v1-3-2a9d7df9b128@amlogic.com> References: <20240528-a4_secpowerdomain-v1-0-2a9d7df9b128@amlogic.com> In-Reply-To: <20240528-a4_secpowerdomain-v1-0-2a9d7df9b128@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 X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1716885570; l=1210; i=xianwei.zhao@amlogic.com; s=20231208; h=from:subject:message-id; bh=nbykAnIJ2GCD2WnAPtjMU24T/l4oTV2riXHYjP6paJ4=; b=FdbPTyKbc+thp9uswV6KRGymTZOcdUZfBsO4rleZ34pKhtz7H21eiq5madq8Vko4zKXFmJmT7 LDb0D2hwFMVC1K2zczPowHbHIIkPqRNAI1G/s0o4LEHtMW0ptT2gc5N 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 Reply-To: xianwei.zhao@amlogic.com From: Xianwei Zhao Add power domain controller node for Amlogic A4 SoC Signed-off-by: Xianwei Zhao --- arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi | 4 ++++ arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi index b6106ad4a072..eebde77ae5b4 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi @@ -27,6 +27,10 @@ xtal: xtal-clk { #clock-cells = <0>; }; + sm: secure-monitor { + compatible = "amlogic,meson-gxbb-sm"; + }; + soc { compatible = "simple-bus"; #address-cells = <2>; diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi index 73ca1d7eed81..917c05219b9c 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi @@ -37,4 +37,9 @@ cpu3: cpu@3 { enable-method = "psci"; }; }; + + pwrc: power-controller { + compatible = "amlogic,a4-pwrc"; + #power-domain-cells = <1>; + }; }; -- 2.37.1