Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2503072lqb; Tue, 28 May 2024 01:39:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXlCLa4Ar0sCzsXDmxd66OSdkv1i9M4oMAe4B8Eee0KhKYp5H6vaYyjr94MLs1Dt1fhvnayGSwiYkl6/cx4t4rmJw4JK2/o+8FfMIrWNA== X-Google-Smtp-Source: AGHT+IE4NX9iL4vQrS2qFzKV/PsHCTtNYF7ng+cMxW3kSREQTJhShmZuCEOX48GO901VH6IbLZmW X-Received: by 2002:a17:902:e88e:b0:1f2:f4e7:f880 with SMTP id d9443c01a7336-1f44815b9ccmr161153155ad.13.1716885597717; Tue, 28 May 2024 01:39:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716885597; cv=pass; d=google.com; s=arc-20160816; b=yHP7TtuVSwnsjrlYjqIiekzhCzwL8KlijFW/7LBz3TWJk2WVXSn9VStvVjJupbUeVA +Kn6c6a/X5INzFq1As8jky2dssVNSOi2IALsETEWjUbS//dNg6U7lHVwTQRDM9b371nC QKzolT+7FKGyfYmXIlUVw6cXMhIzgCfkPeQzNdoTIChI+MBj6pmqlhTNYCiT7TSMTBOv PDXkI6I+DF58oacMWutpKdiSxTkaE1NA+DNfCVN9vmCmx/+ml34i2ryEEFGAQWkhfINT 0RY4Yh3J/aT4bdVP5KU461ujmfj//fJBcX7jBg/RaHIUUw0JY1D1mpDgVO09AlqKRiBD +Y/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=s3zg77Mcgoi8iT4EWilrzkp4S23TIEcGVkKfQQPsz1Y=; fh=kLlDOOuU12mQHqyjqYudCcHeHoIXXMHJ2rQvXIEThkk=; b=Pg8KEBDwonmpJVhdMbhVSNcNUe9tIPg6M1Eof+uyIsgVFB7hPtRIZkCaHSozQQWrHM CtOd43MWmCjuw0rcsREXtcHnnQWlBvmpM1oz+0wjwN09vNS/4bRNCHk/lCb8j9l1HE09 T+sseu57C8480twWY5a3wyUL0IH0PfA6DLkesaT/2+T8AaUo+KiSL/VjnWn7OEXgTRfr xosX9Tn8YS32HyGbwF+HdcBeu0owbz59CyGbg6aAh33CwbCCyaMUe+ZENWZ90YPkwOXN jr2OeW0XF3OKOxdNesyR8hYdqJaM3d1w45sC5uRzWduc/b29rw1HkdPCqMjmnSjMjp0R rdaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VEzPG9hm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191944-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191944-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f4be9ef80bsi14389235ad.405.2024.05.28.01.39.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 01:39:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191944-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VEzPG9hm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191944-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191944-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 10B952837EB for ; Tue, 28 May 2024 08:39:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9331D13D60D; 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="VEzPG9hm" 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 A0E436EB64; 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=tuRjwl9GOPYA3JFCR1Uxt4pWo46ltOc37XLBm+fYwPIwYrb1dHn6fFDQ2SK0H9GskF+/ApM5ly6+887mcG/SRSqJGWT5qJdkvEUvdaqxm4hb6akRu3Ffn5PQM5ga1E0+c1TbFvaF6iiXTooCzfg6kK4vX/yHxdE44edMq9ed1qc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716885572; c=relaxed/simple; bh=bfGDc5/xHmz//Yt7VOOfRU/PyB095+4Sl6kUXfSweuI=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=YxCvj1goVoZ+RElRPrgKu6o8v6LSJYFGmoAvvBtbkIfbueg52X9NlYmwoZQd1FoQuQJyJlsCPA11jTIHefmbIgmS1lsRj9Z/zhE+9Fcj+NNM8i9I3uJK/36yUsTjmwrSWG2edlrRlaxZRh0MhMRnMTHREkcyf/HECpQv9j6RPxA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VEzPG9hm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 37E53C32781; 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=bfGDc5/xHmz//Yt7VOOfRU/PyB095+4Sl6kUXfSweuI=; h=From:Subject:Date:To:Cc:Reply-To:From; b=VEzPG9hm9TDJBx/sr/BqWeQaq8j0nJ6tfgTwk8q9BOFX42wZeunWRD5D/PyFTbzuR 5a9QCa7bJ0E2hX60hjdrFVKUFvKPtXOUtVFckIRGUQ6S2xgwH3rzjf6L9N4rWyAuU6 nBZ/iJ7E97lhhjJiov1RWbQy2PafWME3tfw/wL21cAspM6rWLLM2edcfrvSg1gp5/o 7/tVOyKikA0gSBwV94Ro3S0xoDgbo0gK9IPxIuCJdXoTmCdWMfmxOTWBgIqVM96ejd 1lWCLrHj5SUIdxl1x0PzTvUvIcb/W7lLqxR9EIZ5bN/xmMt0RYxPt4dg6k0ZmrjX6B QETqQoMWxt+JQ== 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 22624C25B78; Tue, 28 May 2024 08:39:32 +0000 (UTC) From: Xianwei Zhao via B4 Relay Subject: [PATCH 0/3] Power: A4: add power domain driver Date: Tue, 28 May 2024 16:39:27 +0800 Message-Id: <20240528-a4_secpowerdomain-v1-0-2a9d7df9b128@amlogic.com> 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 X-B4-Tracking: v=1; b=H4sIAECYVWYC/x3MQQqAIBBA0avErBMm06iuEhFmU80iDYUKwrsnL d/i/xciBaYIffFCoIsje5dRlQXY3biNBC/ZIFEq1LIVRk2R7OlvCos/DDuhaUbUjWq7GiF3Z6C Vn/85jCl9vNEVQmMAAAA= 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=885; i=xianwei.zhao@amlogic.com; s=20231208; h=from:subject:message-id; bh=bfGDc5/xHmz//Yt7VOOfRU/PyB095+4Sl6kUXfSweuI=; b=zXzrrh7KUaH5eZOcybvVChgnCMLz6xll9cNsTL81pYUzbiwrYghjd8a/+Z1vCUYKHlv6pZ50p kY6IenT6z00DVwq3DTG04hEuWYeuz6PWUcz8Sfdvaw16xH2bdz1h3SS 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 Add power controller driver support for Amlogic A4 SoC. Signed-off-by: Xianwei Zhao --- Xianwei Zhao (3): dt-bindings: power: add Amlogic A4 power domains pmdomain: amlogic: Add support for A4 power domains controller arm64: dts: amlogic: a4: add power domain controller node .../bindings/power/amlogic,meson-sec-pwrc.yaml | 1 + arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi | 4 ++++ arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi | 5 ++++ drivers/pmdomain/amlogic/meson-secure-pwrc.c | 28 ++++++++++++++++++++++ include/dt-bindings/power/amlogic,a4-pwrc.h | 21 ++++++++++++++++ 5 files changed, 59 insertions(+) --- base-commit: 456f4f5e6e6d3a2228501068a37ce13fe0b333d4 change-id: 20240528-a4_secpowerdomain-5eb005648930 Best regards, -- Xianwei Zhao