From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.117.254.33 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796209035; b=1iLcJBKPqYrts32lGPx5+Uvlaq2gpGf4QU6lFwYN4wgaPot2UMBVDCLaUfCLP5oZFlLd QW65GHmZsS8OHzTGb51I/ub+JmVVW1pGAXDTzTPcw+HcQeS58b/6YMA0qSHpKP1i5QXt6 19AP9vhPyr3kH/XQqUxyIyGwgN/Hzoa/xy0Y2f1uMo2NkHyf0ePI8K0zxsfm423g9VyB4 AnkXyZQAPIRtRLY2+PCbU5oful27X9QETaBuJnpk94tx90/Mjwfzs9V/dQxMwM3pZTH0+ xYwMKgVMkeNMifgMZMAafGAIKO8i+SRrj8OzYbn+qnjiee0UoF0Y1Kyq0joqGqJrhGQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796209035; h=DMARC-Filter:DKIM-Signature:Received:Received:X-UD-Smtp-Session:Date: From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=lyYe8aFOTOQyE0d4ImvWz1u+bibDwqlzmbExnmCIPKs=; b=TlahBizKLj8haNmmvmfQG2/tkw68BWl65QFjVK/+ilCXUACBGhyp1oOmsxrtQaC+Ozkr 4FINvsDAllrXHz7fpsF14fTTDSSam/kb0Uok0j0v06OX5tWSbBpSSHOdN22rdJDHyfbCD RH0g/6MB3X3FJIIpG6EH3ZyQIdOZ5EMLtjAQL3/F6Ea84giz98L5gNmJcr6xDwE6kjt4A Rlizo5pgsrV48xqNKdWlG9wUvMWo8gDeR6KBCLEgs1VTvd5aXxRJQD8hrT/+cX56eA/hH uIF3uUhTKbsxScjkkzeH5RV2hU5vOZvXnpdqosaTtXqA0WYwiAfK46IV3qiS+UeR2dw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass header.d=sang-engineering.com header.i=@sang-engineering.com header.a=rsa-sha256 header.s=k1 header.b=CHI8f1qt; arc=none smtp.remote-ip=194.117.254.33 Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (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 6981A606A323 for ; Wed, 2 Dec 2026 10:57:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6981A606A323 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; 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; 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-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <080405b489d4fc780ad319cd09692ca33e039260.1796043912.git.geert+renesas@glider.be> 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