From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795988088; b=QHHp7KdRUTgZ0dH5JgsiaavUwXZxTPu4ymActkzv1Cwl1d6KmXFNfVuuKc0SEBiwEGTH TQFOdm2FeaoYg5qWpMxUg81+v0/ipQ+gCL/Ih7ekOZ7T0uyfYH7nxWMPGLKRHdgGeuu71 tAjoOEjCE83B8bzUpcCCcdbQTBtc2jMp7bOhYas1QW0uSUvhkSYrtAT9IwETfM+Gv+HB+ wrjf3MTrD8FwPPsvVmkaxp13TyG29wENlovjVG1WS5mpH9PoGcJ8cOyq+VgnM4BgquNMS Nga9mMhCcyJZ5VobdB0ERJtkmgjPVkKMKU1cRaDrH1zxsC46ba8qcu3uZA4ZDPooM7Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795988088; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To: User-Agent; bh=tQJO836/CRAQexTKqfWw2ybEFeH1DjYH1Fjc0F74iNY=; b=Xs99K1TtliQSKj30SuKos4Elt5vcXBtXC6ZWiXrYDodFAajJuBzUGPF99jnz4FIFFLjE 3btvOL/npfnc9qFtYjfVnhTVk38Alo7mRy30GxT8QrweveQSa8ZM6hU5kc6akhsrAY0tu mm/aZ62B/anXIE0D0CFgAcodCNf2l/JYrISw7lshwZmEBJ0qB6vEKPxyvu57KBFTSWt7c lpqxzzcJYEBXCCPO+rfJX3O4TjUopmL2knaCmK7HySevDjDdrmDOTlQ1YFjgrA+NNen4c zywn75OMNrs0ZqkKKBNnnYE0g/8591YMma6w2IWwubUaXFcr5L3ALUfXk1RuxPC4ulg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=e0qukK2u; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DDD1606A327; Sun, 29 Nov 2026 21:34:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=e0qukK2u Received: by smtp.kernel.org (Postfix) with ESMTPSA id 718F81F00899; Sun, 29 Nov 2026 21:34:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795988087; bh=tQJO836/CRAQexTKqfWw2ybEFeH1DjYH1Fjc0F74iNY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=e0qukK2uc2ZZE/EBnpkgGOu6kdBxwVIXEUozQ4cEFhMX8Zovq2JPrD/3dCUoujxEY BnIcHZ8C8+TemsPxjDP0+kMfw8IcDAz8DfNFsnLRjebadZ62Jd3MqNhxfq4aD4C4VB W47UUzNAUw8RWXyIXfumEYhfwnhd76kAnC/yx8FXULjT7UH49AbyF7IyZv89ru0qwd MyR24X7Q7NBLRmNfk2lKzVUSsDiO/Mbx6IA2USSUrtBtl6a5i94mgiF8m/+0/PJowr Tyv+jAyvE4+NeoHcw2Lv/3XOrun1vbEgb1g+PdDdOQugTgi3NsAFbnj1fo5cIVoK9H hI3erETgbpR3w== Date: Sun, 29 Nov 2026 16:34:30 -0500 From: Brian Masney To: Geert Uytterhoeven Cc: Aaro Koskinen , Andreas Kemnade , Kevin Hilman , Roger Quadros , Tony Lindgren , Russell King , Paul Walmsley , Stephen Boyd , Brian Masney , Jerome Brunet , Sandy Huang , Heiko =?iso-8859-1?Q?St=FCbner?= , Andy Yan , Ulf Hansson , linux-clk@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 0/6] clk: Improve consumer field in debugfs clk_summary Message-ID: References: X-Mailing-List: linux-pm@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: User-Agent: Mutt/2.4.3 (2026-10-09) Hi Geert, On Thu, Nov 19, 2026 at 02:40:33PM +0100, Geert Uytterhoeven wrote: > Hi all, > > When a driver uses of_clk_get_from_provider() to obtain clocks, the > latter show up as "deviceless" in the consumer column of the clk_summary > file in debugfs. > > This patch series aims to improve that, by introducing a new variant > dev_clk_get_from_provider() that also takes a consumer device. > When callers provide it, the consumer's name will be shown in the > clk_summary output. > > Sample clk_summary change snippet on R-Car H1 Marzen: > - sata 1 1 0 62500000 0 0 50000 Y deviceless of_clk_get_from_provider > + sata 1 1 0 62500000 0 0 50000 Y fc600000.sata dev_clk_get_from_provider > > Overview: > - The first patch removes the unused "dev" member from struct clk and > the "dev" parameter from clk_hw_create_clk(): it felt wrong to add > yet another user of clk_hw_create_clk() passing a useless device > pointer, > - The second patch introduces the new dev_clk_get_from_provider() > function, > - Patches 3-6 convert users to the new helper: > - The Renesas clock patch was tested on R-Car H1 and H3, and > should work fine on other Renesas SoCs, > - The Rockchip HDMI patch was only compile-tested, but is probably > fine, too, > - The OMAP2+ patch definitely needs testing, > - The Renesas pmdomain patch depends on work in progress. > > This series has been tested on R-Car H1, H3, and X5H. Jerome and I reviewed the core changes on patches 1 and 2. Feel free to add those to the Renesas clk tree if you'd like. Brian