From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (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 5230B372ED7 for ; Wed, 22 Apr 2026 22:48:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776898121; cv=none; b=oohkVAMU3lWq2sml4AIc2w4In5UeRxZVTl/JC1pieipogTeM5WsJI9zVwBCm1n3CQPNSJj+plURVsBXIuPk7dzwZ1KJsUnsAw3KNiMnk3YXw65x3G5RJoaQoNdqM9SAw9dO4xfE4oTsRIVHaQjuq+6Rvwg8RZ0DUughkB8LnaaY= 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.178 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-f178.google.com with SMTP id d2e1a72fcca58-82f351ca23cso3067130b3a.2 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=jaecBht0lkWs6ON7lEwQol7EU5+T8NmTZexF43XGYbDYQpKiRQzExnTSCOf3WxZwAD bUyCslaMuplJQlVfJ7Zo8p8xkJvNyWDWqMUvMUGoFAUvvfeI+dALM8JZK8/+h2wxs/Jy yGiXn3ikXtxHu/bUSo/PbUEIB01KFMEAA/hMuptwETI5yQ+tiSeYyGScmsNbWIEftHUp y0ELu6mx134LQ+AR74CGX6SS9ISzirIlMEUJoWicS9bX+8Zskdn/7+ehh8DnWBFM6Zjl 1ouhnNGDN+szGjs4pERG8oQhqZrY5D1Nw2H14Z+kXMjDbEn/EvijhjEACaaKRSqDO9Es iQHA== X-Forwarded-Encrypted: i=1; AFNElJ/MUvPm5l3R4UQHt7zutXWTV4wft2pA/1FV1auklxfPHrvaaJCZ9BUqKGKvmIq3Hes2Bj2mc55RYaBX0zo=@vger.kernel.org X-Gm-Message-State: AOJu0YxZeKoYjws2zA2DT1N2u2AEfO/3u0cGNAzJXKr0LhV1BI656I56 folfpXU4lc3z/ZJXxRnmrN69GL5lRDyTQZv1uLeP7AlNxarvp/CNf/uII2/wjl9VBeQ= X-Gm-Gg: AeBDievuMy14irumnsnTNYylS+NIjnCBCamMPUgCwJykH08CuYPKOcObjKUv9kl/KFS ZVNR3JvzXUlLMQrzBZluOjwv91Z90Ou33Ap8qL+65wfuMznV4LwwDsLPnMuc8IwN2FQfiLxn1+V YuBzMRB82E5jQCpQMI7D+JrSggiBUjFKqOV1v0k7TgqNKY6bxHQGmHDVyrtTWchDbqVCM/mNmpq nBWLftkyAFhTxoyHwmR7FgPVa+jBG4rLm/f53pA5VUXD7IX0rFjqHcA88IoxIpojZKIr6zBqGoa L0oa30sJItsouK8larSVR1IwNEClGDSxhiLgpEwK+0B27VhKq1lfef3C0qfymmI279noqpxScxi EMtv0OhEdXqHfZbCzm2xAUGf6/zaDpc3dlci5lL1Z12f+nkdz4qzSf4NlKYk75WlIiQBvWUrQBD dE5q1nU5hYZtuZFhDK6aBg3sCNl57Dng== 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-kernel@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/