From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 924A2606A31A for ; Wed, 2 Dec 2026 10:57:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=TVmaq2v8; dkim=pass (2048-bit key, unprotected) header.d=sang-engineering.com header.i=@sang-engineering.com header.a=rsa-sha256 header.s=k1 header.b=CHI8f1qt 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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=lyYe8aFOTOQyE0d4ImvWz1u+bibDwqlzmbExnmCIPKs=; b=TVmaq2v8CDYb8Fh8ceh25setta nlvF6Ln+qivMnzzCGuFeTbLRna5E67NE3DlS/j76om6qMdIUT+rVlkHddP1mKgQkOy7MEAHSpKKc9 bnZ1cIW0y8h/WljlS5FZD++O+SxcVIbWO39BmCcw9G6U9WYGlpCP9fmIeLwiwgn0/fEnNBSbr48Ya dWsbrJ9SKzWh5ZTlGVTEh8Np4EWAIxTYML3YK0qhsA173TYEsWKd3I5Tn35YGzd+6eM3+XIr1cuop GOGU7HKxR1UlKre9VReIjxGH4AysF1sSJXLb9dqJ6Nfd4GNJkd2/v5EMAz2N0vX8dQCKTA1TNVVeH W4vyLy2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYi1Y-0000000BFKg-3j6q; Wed, 02 Dec 2026 10:57:20 +0000 Received: from zeus03.de ([194.117.254.33] helo=mail.zeus03.de) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYi1U-0000000BFJq-2uAF for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2026 10:57:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=k1; bh=lyYe 8aFOTOQyE0d4ImvWz1u+bibDwqlzmbExnmCIPKs=; b=CHI8f1qtihevXj5MEsAW jWYZ1vzN+GyWnuu1821qWgjkPwnusim2Tt04kKFRx667P1otXQvsXiEFyyi6sHWV UGLe8RkpAzy3HjGvMZYpuOzFB45rWTLx8vk/IaoRTvB7pzDGYjo6ZK0a2XVwXAwO 9Wf+jQeYpD4J/EoDja1w9DVmAthqCRoEkk8a3Zpiee/DzFu7ABN7/JlW7oPAmjoi sjsjEqAuKDy8m22jOwd0RE1OTiUl3wuy0YDTh70bt66EbXxDHrKW8B0kicFJpcQG 7QXIAe+hgJ0nun0T/GFeVqk/YW5+7184bSU7w2kGuIB9T7r5n8aBh2Jb+5Cf2L1/ Dg== Received: (qmail 716028 invoked from network); 2 Dec 2026 11:57:09 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 2 Dec 2026 11:57:09 +0100 X-UD-Smtp-Session: l3s3148p1@AGokgaRhCrAujnvT Date: Wed, 2 Dec 2026 11:57:09 +0100 From: Wolfram Sang To: Geert Uytterhoeven Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Brian Masney , Jerome Brunet , Ulf Hansson , Philipp Zabel , "Rafael J . Wysocki" , Marek Vasut , Bartosz Golaszewski , Konrad Dybcio , Kevin Hilman , Vinod Koul , Kuninori Morimoto , Laurent Pinchart , Paul Elder , =?utf-8?Q?Cl=C3=A9ment?= Le Goffic , Sudeep Holla , Cristian Marussi , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: Re: [PATCH v7 13/14] pmdomain: renesas: r8a78000: Add SCMI remapping support Message-ID: References: <080405b489d4fc780ad319cd09692ca33e039260.1796043912.git.geert+renesas@glider.be> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <080405b489d4fc780ad319cd09692ca33e039260.1796043912.git.geert+renesas@glider.be> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261202_025717_651786_CBC9BA2E X-CRM114-Status: GOOD ( 17.83 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Mon, Nov 30, 2026 at 02:12:44PM +0100, Geert Uytterhoeven wrote: > From: Geert Uytterhoeven > > Extend the Module Controller driver for R-Car X5H with SCMI support, to > remap hardware power domain, module, and reset IDs to abstractions > (power domains, clocks, and resets) offered by the SCMI firmware when > running on a system with SCMI, and SCMI support is enabled. Take into > account some peculiarities of the current SCMI firmware implementations, > like missing handling of gateable functional clock parents. > Support for power domains, and module clocks and resets used by serial, > I2C, and SPI devices is included. > > Note that SCMI clocks representing hardware modules expose access to > Module Standby control: they are fake clocks, with a zero clock rate, > that can just be enabled and disabled. Hence they are controlled from > the clock domain's start/stop callbacks, together with gateable > functional clock parents. > > This lets us avoid putting SCMI IDs in DT, and allows us to use the same > hardware description in SoC DTS for systems with and without SCMI > firmware. > > For now, it is assumed SCMI power domain, clock, and reset IDs are > stable, and match SCP FW SDKv4.31.0 and later. > > Suggested-by: Marek Vasut > Signed-off-by: Geert Uytterhoeven > Tested-by: Wolfram Sang I haven't reviewed everything in detail but I use it for weeks now while enabling IP cores on that SoC. It follows the same pattern we use for handling the clocks and that I reviewed in more detail and the pattern works well for us. I discussed some parts of this patch with Geert while using it, so to sum it up: Acked-by: Wolfram Sang