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=aG5IauwZudYzpqHLCsf4QYQc2+xN3Nd4LSzkiTdhwyS6Z/6+Hg0NlNcv6YsFlMTmHQ5a eloTEWQS+8wP6j3zVUEtH4XW1yBnDTn0JrnTOu2rsjcxTaqT8lXCrgTMuG+lOttopmdH2 YCSP4k8tpnCR/L+KD/nYZBtrXiGZvqoCEFjiTuY/YBzO3J21BL1P7eMU7JvhTZ/st/jVz XQecEGmkIpHu1gREnZ5WuFT0sZOESpEW029Hijec3aDaFS18mY14AXbZEp1PSXpAN/aH5 hPyWAtQf242mPKZeuoudj3F8gGLQK2XgGzd3C89g3aAbyZ51uVcM8GkW2jFTz9qsF+g== 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=CRjhhaNscNIZhl6QUojxZeO8fWCLNxl3/AgsDukvD5aWoJeBaX0ZioD8i4ChalAvNGMz 1aMI17h+3v9LiA1rNmm6PfPaS4xhTDP2VVqv13b1Qa1k6RPzbPaEbjAFlm513Vd82t3Rs h6rKt6EfG3BcYdEcPwiYgRkD3DUR7Kn0VDgenoEkb+R5XC0AcGLkqtF0MMwWZrAXyMMKJ LOYFHxH4uWkoTXFcKsib4XA76xpDWt5b733RT8PnmwqB91Gs3mF0cQIJV3CsfCQrwoIDk q32IENf2yo7eS5qNe1ajdQQsAmDbOzFCQhXsevO1gdCHsGGrVFCXHzIMJiMRTdLurjA== 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 69757606A322 for ; Wed, 2 Dec 2026 10:57:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 69757606A322 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: devicetree@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