Message ID | 20230703093142.2028500-1-xianwei.zhao@amlogic.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp406572vqx; Mon, 3 Jul 2023 03:04:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4sDBtQTkxVzp23zz0zSgM/RMmjzbI+a+5M3R43KanC+weamMbuFp4FeWT55K4bT2SP1utT X-Received: by 2002:aca:f2c5:0:b0:39e:ab5c:91db with SMTP id q188-20020acaf2c5000000b0039eab5c91dbmr5943217oih.2.1688378647245; Mon, 03 Jul 2023 03:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688378647; cv=none; d=google.com; s=arc-20160816; b=s128h1plHBYJXnswQSFhsT3hIVhlmkSpuqwAEMpWOxo81wTqRfnIGB/GZSiW6W96xo 0ieKPzy0/kIc9NDbE2jwC3DcnzAiJ781GqUWe77JZInhHbdu46FNTpe2Lxk3+W/Mx9YB uc/rn7Q48rP/+RL/rh7R6LGW0rS17mY5Q+m8JFrjU59sRfN9plN7XwH2lYMBl8YG4BNy pcCvQg8+1js+nMaWo7uLykqzkMuZE5UCA84M7gAFjexHmxdZwrk/6dWSdv9MAe/u+Bw/ orEK/OaVO6F8s9Blq4DnhvlVFIQWh7S9z7R5h6eQ7mIFBiGxZp6S1ISNvOehDLwtuWFB +hUw== 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 :message-id:date:subject:cc:to:from; bh=KaJ0CSTxFMCIJjwDO7wTT4mAvzwsZTlcGct04k26+yo=; fh=OGsX7d96NIKgN7a/X5aL1VFkJp7BmfP/4DIlJu3fPig=; b=nqre9tK8PY2fUZbjwIzCPH0pljdmw3TntEp9rX82cIlnEA0t4OUJV6vCbclKx0w/ZA AsAQUdfTDdg8HuFq3dQpcWyQSuTy/DkImanM7YUigSzMeNAPW+ae6tD1ZX4OETrw8R4K vCHVIH8p/KcSw/InKgQsn56BEE3ZigmEjGK1xOWDzLpG/Sz0qLv+bNJ08S8fCpiNlzC3 3LYAsTh4ghkjInwFcykWS1C3oPzIz/kgHmzAMieDlIF3goRK4qLjA9GRgMPzdEk3tdAB ByNvBdju/bFaFsXxl95/Ax9P2LyJjsJx5EI1LSbeHCeNUvbbsn4pBH+u+K3aEHvy6tU0 Aokg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 184-20020a6300c1000000b0053fb7d14255si18038269pga.0.2023.07.03.03.03.51; Mon, 03 Jul 2023 03:04:07 -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 S230391AbjGCJcn (ORCPT <rfc822;ivan.orlov0322@gmail.com> + 99 others); Mon, 3 Jul 2023 05:32:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230493AbjGCJch (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 3 Jul 2023 05:32:37 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA90DCD; Mon, 3 Jul 2023 02:31:47 -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; Mon, 3 Jul 2023 17:31:44 +0800 From: =Xianwei Zhao <xianwei.zhao@amlogic.com> To: <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-amlogic@lists.infradead.org>, <linux-kernel@vger.kernel.org> CC: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, "Neil Armstrong" <neil.armstrong@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Xianwei Zhao <xianwei.zhao@amlogic.com> 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770393328209213196?= X-GMAIL-MSGID: =?utf-8?q?1770393328209213196?= |
Series |
Power: C3: add power domain driver
|
|
Message
Xianwei Zhao
July 3, 2023, 9:31 a.m. UTC
From: Xianwei Zhao <xianwei.zhao@amlogic.com>
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