From patchwork Mon Mar 7 02:53:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shunzhou Jiang X-Patchwork-Id: 12771098 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 A3092C433F5 for ; Mon, 7 Mar 2022 02:54:26 +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=Pz+kdVirL4ZVB18qfiAoQd93Wou9qzh4VJnuhnWcz/4=; b=KeC0CG4F9MnA3R xGINw/8QC8D2U4C8RTN5WYedqb69uxXLw+cDWR5hCN2Ix3B9TeG8I/UbhM9f6rzB6YbU2MkbS9fdp IktyYx+YQG59kmPuih8zXx50lbT1H3XqmBYOVyRBZO8FVT+GqGoy6z4k9Yb2dRrKqn3RMzgX5qvh5 sv8OMXLBFjx8CosVRsx+s82a97vEba9w/n2n1DdZLxSGpMUVbyWHjpgl5QqhUADzTkybaOfS7HTAe 1nvifNqpkVwD21HM7BgGaTHJX5F5flkkf1WnXm2PX0c01jw1zJhzYUlYoiQWQpdK6/UYt2jV68yb3 nvYGFw4LLiiwBl6c6GUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nR3Vs-00FeNU-UC; Mon, 07 Mar 2022 02:54:20 +0000 Received: from mail-sh.amlogic.com ([58.32.228.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nR3Vg-00FeJw-LM; Mon, 07 Mar 2022 02:54:09 +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.2176.14; Mon, 7 Mar 2022 10:53:59 +0800 From: Shunzhou.Jiang To: , , CC: , , , , , Shunzhou Jiang Subject: [PATCH V6 0/2] Power: meson-s4: add s4 power domain driver Date: Mon, 7 Mar 2022 10:53:55 +0800 Message-ID: <20220307025357.1368673-1-shunzhou.jiang@amlogic.com> X-Mailer: git-send-email 2.34.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-20220306_185408_748841_FAE1B0F3 X-CRM114-Status: UNSURE ( 5.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org From: Shunzhou Jiang This patchset adds Power controller driver support for Meson-S4 SoC Likes Meson-A1, the power domains register only can access in secure world Shunzhou Jiang (2): dt-bindings: power: add Amlogic s4 power domains bindings soc: s4: Add support for power domains controller --- V1->V2: fix spelling error, patchset use cover-letter V2->V3: add power domain always on reason V3->V4: remove vpu and usb power domaon always on V4->V5: add reviewed reviewers in patchset V5->V6: add more acked and reviewed reviewers --- .../power/amlogic,meson-sec-pwrc.yaml | 3 ++- drivers/soc/amlogic/meson-secure-pwrc.c | 22 +++++++++++++++++++ include/dt-bindings/power/meson-s4-power.h | 19 ++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 include/dt-bindings/power/meson-s4-power.h base-commit: 3448a018ded03ccd4093d6675f4a39eb2d1a18ef