From patchwork Mon Jul 3 09:31:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xianwei Zhao X-Patchwork-Id: 13299785 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 CEE71EB64DD for ; Mon, 3 Jul 2023 09:32:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=BFcL9iICDCYchynRun972cqGxg9U1FY4/JrYqp5QfuI=; b=EGzZVsFSIQV4+6 Qg1HYZM6qFySoV9sXvwUxELqfURJpO5gRTEoJGOgIYfYEdRPyF8eDxX98yecdu3QP2GsSi+5QvDBo JRQjvHPlpIj46vkDo2+QIogWXmT2nlo+Jf8hzWyIAHzgz++gRf6+aK+vcwVezHt+c4UKf2jTG1aYj T5RxCV+B8IpId9lFxfcP8jTv2r+LSaDemNDDR5S7gJdulbf1bPLUB0ZVkW7L6Eq42OsWn8KdZGrcd r3/hFE1BEK5Ca0hmmqOwlt7wweM/ZrOqOWMi1JvMdh9tu50NCMHoLkI81DIfa8vQst38CI8hc2RXk yP1HH8MUqqLcwYA0mgjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qGFuS-009wPO-0T; Mon, 03 Jul 2023 09:31:52 +0000 Received: from mail-sh.amlogic.com ([58.32.228.43]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qGFuQ-009wNg-18; Mon, 03 Jul 2023 09:31:51 +0000 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; Mon, 3 Jul 2023 17:31:44 +0800 From: =Xianwei Zhao To: , , , CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Neil Armstrong" , Kevin Hilman , Xianwei Zhao Subject: [PATCH 0/3] Power: C3: add power domain driver Date: Mon, 3 Jul 2023 17:31:39 +0800 Message-ID: <20230703093142.2028500-1-xianwei.zhao@amlogic.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Originating-IP: [10.98.11.200] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230703_023150_384783_68B6D73F X-CRM114-Status: UNSURE ( 7.44 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Xianwei Zhao This patchset adds power controller driver support for Amlogic C3 SoC. The power domains registers can be accessed in the secure world only. Xianwei Zhao (3): dt-bindings: power: add Amlogic C3 power domains soc: c3: Add support for power domains controller arm64: dts: add support for C3 power domain controller .../power/amlogic,meson-sec-pwrc.yaml | 3 +- arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi | 10 +++++++ drivers/soc/amlogic/meson-secure-pwrc.c | 28 ++++++++++++++++++- include/dt-bindings/power/amlogic-c3-power.h | 26 +++++++++++++++++ 4 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 include/dt-bindings/power/amlogic-c3-power.h base-commit: 057889cb4244096ea5abcbe76ffd4d311c3078fe