From patchwork Thu Aug 29 20:20:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Detlev Casanova X-Patchwork-Id: 13783809 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 D9703C87FD6 for ; Thu, 29 Aug 2024 20:27:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=1hnVR+/hG8kOwZ3DCw86tT8U4WrS/FTvasuifuRwSW8=; b=PKUgV3SosaCXva0dduBuJ1nfrZ RQAjLQ7gvD5iMK3SoJJqAXzViOxujnamneUPm5Q/wWWgLrSmaY/X1TlWbERYpvp1782oSvbe3+pfx rB1d4XiFkWsATg/p1M98Eb1fH7hzMnL/01ND9wt7Ups6jINxQd9weZOOrNea8iBtOJWsdLFqw2+e5 K5suNICuVHhZqNX3RNTZjBy+jDtjcv3hIBQWsFXF6I5ws2wGy3mimwpr+JNuXgpg0KpDyMHOqNobT 2OxBmCE3DNzsexp9xWp6ctZIFIF6EDlOFJWvU1n60DcS8h3NdtuFqm9lklLrGRbv7jIsup4CfGs5f SoQEaggQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjljT-00000003XRw-3LFa; Thu, 29 Aug 2024 20:27:03 +0000 Received: from bali.collaboradmins.com ([2a01:4f8:201:9162::2]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjlia-00000003XFR-2Ir3; Thu, 29 Aug 2024 20:26:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1724963165; bh=BaxomN37nDwtcnmBYKiF+VC28hwTR6bK3LpyB9OgCgM=; h=From:To:Cc:Subject:Date:From; b=jZEN+jeH7HMlHpowmFwVY7eRAT9EXQ8uctKj5VMlTqiADsOZZpCG/5EtuXGzxUnSJ 0Kj/LdRiBz8u1ES371B2MfcpzoLYRt30QAjkxD6Tz6vFJu8+CO78F1gGAopT0jO2u6 3EXHuRaesdIQZ48YhlT1h2iAWAMgyzPfMQiYUpQXeL+uPPg4TxK2O/HH+t8GjmB6ZW /+PjmgQAgQR1XKtxLxux2SEQ09NIDp++fjJsbKq/TX1VwTWM66WCtw1CL0MV2Dx+OF DGCXhB+zS5va3dxb6/TNMWwH4uKlCFXASD89fh4NI/C63PqdCj3Jc8XAsG1O04G7DM 8gxcenifnjmiA== Received: from trenzalore.hitronhub.home (unknown [23.233.251.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: detlev) by bali.collaboradmins.com (Postfix) with ESMTPSA id ED21A17E0EA9; Thu, 29 Aug 2024 22:26:03 +0200 (CEST) From: Detlev Casanova To: linux-kernel@vger.kernel.org Cc: Ulf Hansson , Heiko Stuebner , Detlev Casanova , Geert Uytterhoeven , Linus Walleij , Finley Xiao , Rob Herring , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, kernel@collabora.com Subject: [PATCH 0/2] pmdomain: rockchip: Add gating support for rk3576 Date: Thu, 29 Aug 2024 16:20:46 -0400 Message-ID: <20240829202732.75961-1-detlev.casanova@collabora.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240829_132608_814726_C8612393 X-CRM114-Status: UNSURE ( 8.08 ) 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 The rk3576 SoC needs to ungate power domains before it can manipulate their status. This makes to to ungate the PM, changes the status, and gate it again. Detlev. Detlev Casanova (2): pmdomain: rockchip: Add gating support pmdomain: rockchip: Add gating masks for rk3576 drivers/pmdomain/rockchip/pm-domains.c | 87 +++++++++++++++++++------- 1 file changed, 66 insertions(+), 21 deletions(-)