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: 11544 Return-Path: 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 + 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 ); 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 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-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: 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?= 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