From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 ABEC7606A31C for ; Sun, 29 Nov 2026 21:35:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=WdhUDx4X; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=e0qukK2u DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=tQJO836/CRAQexTKqfWw2ybEFeH1DjYH1Fjc0F74iNY=; b=WdhUDx4XJ6Qr8IQgGUXy12Hh+E Bzlw0zJKo5nyMHyydEJKCa5HiUzl8YRR1wG7+QCJNVFi6usMHuN2tukbwtnq9dKpdeCo0OCD4F3qr UQ/szIgluBFwMD6FZoDbxnFNZM8kYVhBR7xTMT6hUdCv+vdtqZjR8tOFHt06FnkSzD5iehxT0SGEt wS9issGQoApVqb8FgTrH8nTLT3GcKd3yf16NV2ynbD0fha+Ym+NWzdw55tpl1AOk/Rz97m3AIG+Ro VXAwrYxeA2ndXfgI/+ntPoXCGfLczBSCvipE1Pk9JYIu7BAJArNB6eLuhcpDWrtPOzPwyTGz6A7Xf yXqBfCpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXmXq-00000002W9Y-3gPL; Sun, 29 Nov 2026 21:34:50 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXmXp-00000002W8E-0f8N; Sun, 29 Nov 2026 21:34:49 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 3915E61105; Sun, 29 Nov 2026 21:34:48 +0000 (UTC) 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-Archived-By: 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) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-7.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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