From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 245DF35E93E for ; Wed, 22 Apr 2026 22:48:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776898121; cv=none; b=bKhLRlCOtubqQjjH6iYEuvmW3KpZHh3cYpvqs79jQpVR/WQOvufDMZhuJ2Hrhhwm0OBDkyUK1XxRzenSfhA8AXXJWE6wxuGcZ28fXVS/yshcLWjZrJSCFY6BFr4eFnFa4NyRgOM1tRC4jSQPVKcL0229HoBIQY4E8jF9gKeGy+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776898121; c=relaxed/simple; bh=NRWSIj1awYbKDb7XDOAYoJaNnOVQ29rl0pbbuAh0CXA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Vhxn77BmXpTDnu6HbdM4GTMMnFPdC3mA0XMif2R/tLQ+9afQz5e26BwdOMxXc5yachAKp62bfGaqGS3TWsKVKafXgobgIeJz+4dNCSAXoPQQPtaSiPxaJvAykyf6G/Xeqe3pRk+tpSypQiyWqiyWwN955/CrAlJpqPPgKMQI0Tg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20251104.gappssmtp.com header.i=@baylibre-com.20251104.gappssmtp.com header.b=xP0Kzkm4; arc=none smtp.client-ip=209.85.210.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20251104.gappssmtp.com header.i=@baylibre-com.20251104.gappssmtp.com header.b="xP0Kzkm4" Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-82fa8d6425bso2015824b3a.0 for ; Wed, 22 Apr 2026 15:48:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1776898118; x=1777502918; darn=vger.kernel.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=4qI6kGELEoPNIDxXAqpiIcX3kz3Y96gemHsRdJV8MIo=; b=xP0Kzkm4cdE8FArVwyURRIHBqxgKXjsZXcCImcT9GabegLK8BxG5yXw7MeEN+gWO7c 2iJgGQFINJgAKN4BIjv2ysJkJXWZlOQxbXwci6oucu29d124FfVSkzHu8hXbi/VexCWw hjwhyIsDf6MUPD82KchjGOPlF86Z5AZ0DIdldkzm/ImvFY5UnGqprIWIN/8ggT8MHI7x C7bkUNY/zv9Slh+EsjBw7mM+szwXkfl5dyNd+ipkpHdIFjyG3Dc2g+IoVn7132uP1t7O wXQk5Z9aE5FO4TfJFxv4BHrYkyNiuRepGZURqK7AOiZEUE8x6Gx8H0zBwRCrirocoUvd v4/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776898118; x=1777502918; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4qI6kGELEoPNIDxXAqpiIcX3kz3Y96gemHsRdJV8MIo=; b=oXabVMN/xN5kfa/EOoFHJfm/OFupz9cK92l5/9nqGVtPx7y4K+h8XWLnQWRdFlebep SXDbjnHyqKAQDPLfjmMQ4NLrxl3UTEUqUhPpB0btJesQcAxp4BP6qZQihlQZOiyvDhFX 6wURRFhmv3i8l/svxP0mYrrKK32K95egvlVQgAicnnU4MgUIDUZlaYV/nOAuLK1UNeEV oLd9QIeNvNBPeZ+ncTjugUmHFYCTp3Sbqp5k2uHQ4rsUrF0W2XbmJ0RbfkABiMbjU75q P+LNVSgBfv/XhWCNDyg498J7xMDgO3iyxfMod9wmuMleWGoEu2ST0jY4BhcVdMgPhjKt g7Kg== X-Forwarded-Encrypted: i=1; AFNElJ+XDfx8RGtf5vSho+x5PtP0m/QctpYth0Zwt7F6s+saRpemqyHe6yDdBZ1PdWRigeqqQGybzK8r5Q==@vger.kernel.org X-Gm-Message-State: AOJu0Yw2sHSoVy4mjFcRWm/lAhVSkxyrmV/3nYz2aUpNG8PaLPE9X8rB UqfTGQX65LSjFOBjblmCN8p2BbELU98ngzOYW1eia4cRwrsLoxsZL5Vdt9FJ0msbYZI= X-Gm-Gg: AeBDievATk3X4EyzU24O9Pydcfpgv4WY4H/WXzq8P/B4t6CpY00Jq1bLQExCbIAsk5M VImZXEK9Ghw0S6Sa08sTdLV7+C1hdiKX6sX9DjzAs/c18JlDVhn/MZSGwXHShvF2wdoqGG54z3W VklqChbCKSMnUZjUgsA+Xl2MmniDMnhOC14oCBuyxz4zEOcrPHKtzUWW1Za5t+hPZ5pNH8LnJmg 1ifbukraERjpm3WpA44RobGi6N5pVm+Vayp2Xn0zyiSl3vqWtZb9hwU7ceJUKaFcBfJ+jqvCIBt y+6VulEi7UWlnSyj78Xbc5yfB81PqVy+IKFc9/7tVUxmL67CZWhzMtZBJkjlvHIz37bTf9/lx2x Ff0RFwOmr/feOxMFIzsDc8EAHLIcskFDcQCedB6KA9x7EGxv6aFuPGk/FTQU0wGS60T9GqXhkZe vR+FxD0Le0LRP1K+UXNNWwovsYozcJOA== X-Received: by 2002:a05:6a00:c8a:b0:82f:98c:1465 with SMTP id d2e1a72fcca58-82f8c8fb258mr26682792b3a.27.1776898118539; Wed, 22 Apr 2026 15:48:38 -0700 (PDT) Received: from localhost ([97.126.187.42]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82f8ec04448sm21836313b3a.55.2026.04.22.15.48.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Apr 2026 15:48:37 -0700 (PDT) From: Kevin Hilman To: Geert Uytterhoeven , Sudeep Holla , Cristian Marussi , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm , Saravana Kannan , Michael Turquette , Stephen Boyd , Philipp Zabel , Ulf Hansson , "Rafael J . Wysocki" , Florian Fainelli , Wolfram Sang , Marek Vasut , Kuninori Morimoto Cc: arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: Re: [PATCH/RFC 00/14] R-Car X5H Ironhide SCMI CPG/MDLC remapping In-Reply-To: References: Date: Wed, 22 Apr 2026 15:48:37 -0700 Message-ID: <7hcxzqr4qi.fsf@baylibre.com> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Geert Uytterhoeven writes: > Hi all, > > TL;DR: > > Describe hardware in DT, and perform the mapping to SCMI in Linux. > > The Renesas R-Car X5H-based Ironhide board is the first Renesas > SoC/board combination that implements the ARM System Control and > Management Interface (SCMI). > > This means Linux can no longer perform various system operations (e.g. > clock, power domain, and reset control) by accessing the hardware > directly. Instead, these operations are abstracted according to various > SCMI sub-protocols, and Linux has to send messages to an SCMI-compliant > firmware running on a System Control Processor (SCP). > More specifically, the R-Car X5H SCP FW SCMI controls access to: > 1. Core clocks and module clocks, > 2. Module resets, > 3. Power domains, I'm very curious how power domain hierarchy is described on this SoC, because one more issue to add to your list is that hierarchy cannot be described for power domains in SCMI. I know you're aware of it already, but just FYI for anyone else exploring this space, I have a series[1] in-flight right now to address this limitation of SCMI so that we can at least describe this hierarchy in DT and the pmdomain framework. Kevin [1] https://lore.kernel.org/linux-pm/20260420-topic-lpm-pmdomain-child-ids-v3-0-c2c40bef238c@baylibre.com/