Linux Power Management development
 help / color / mirror / Atom feed
From: Brian Masney <masneyb@kernel.org>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: "Aaro Koskinen" <aaro.koskinen@iki.fi>,
	"Andreas Kemnade" <andreas@kemnade.info>,
	"Kevin Hilman" <khilman@baylibre.com>,
	"Roger Quadros" <rogerq@kernel.org>,
	"Tony Lindgren" <tony@atomide.com>,
	"Russell King" <linux@armlinux.org.uk>,
	"Paul Walmsley" <paul@pwsan.com>,
	"Stephen Boyd" <sboyd@kernel.org>,
	"Brian Masney" <bmasney+clk@redhat.com>,
	"Jerome Brunet" <jbrunet+clk@baylibre.com>,
	"Sandy Huang" <hjc@rock-chips.com>,
	"Heiko Stübner" <heiko@sntech.de>, "Andy Yan" <andyshrk@163.com>,
	"Ulf Hansson" <ulfh@kernel.org>,
	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
Date: Sun, 29 Nov 2026 16:34:30 -0500	[thread overview]
Message-ID: <awyaZluUxJKkStsG@x1g10> (raw)
In-Reply-To: <cover.1795094688.git.geert+renesas@glider.be>

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

      parent reply	other threads:[~2026-11-29 21:34 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 13:40 [PATCH 0/6] clk: Improve consumer field in debugfs clk_summary Geert Uytterhoeven
2026-11-19 13:40 ` [PATCH 1/6] clk: Remove unused clk.dev Geert Uytterhoeven
2026-11-20  1:40   ` Brian Masney
2026-11-20  7:44     ` Geert Uytterhoeven
2026-11-20 16:56       ` Brian Masney
2026-11-23 13:01   ` Wolfram Sang
2026-11-27 20:02   ` Jerome Brunet
2026-11-19 13:40 ` [PATCH 2/6] clk: Add dev_clk_get_from_provider() Geert Uytterhoeven
2026-11-20  1:40   ` Brian Masney
2026-11-23 13:05   ` Wolfram Sang
2026-11-27 20:02   ` Jerome Brunet
2026-11-19 13:40 ` [PATCH 3/6] clk: renesas: Convert to dev_clk_get_from_provider() Geert Uytterhoeven
2026-11-20  1:40   ` Brian Masney
2026-11-23 13:06   ` Wolfram Sang
2026-11-25 20:56     ` Wolfram Sang
2026-11-19 13:40 ` [PATCH 4/6] [RFT] drm/rockchip: dw_hdmi: " Geert Uytterhoeven
2026-11-20  1:40   ` Brian Masney
2026-11-19 13:40 ` [PATCH 5/6] [RFT] ARM: OMAP2+: " Geert Uytterhoeven
2026-11-19 21:50   ` Andreas Kemnade
2026-11-20  7:49     ` Geert Uytterhoeven
2026-11-20  8:43       ` Andreas Kemnade
2026-11-20  8:49         ` Geert Uytterhoeven
2026-11-20  9:53           ` Andreas Kemnade
2026-11-20  1:40   ` Brian Masney
2026-11-19 13:40 ` [PATCH 6/6] [RFC] pmdomain: renesas: r8a78000: " Geert Uytterhoeven
2026-11-25 20:58   ` Wolfram Sang
2026-11-29 21:34 ` Brian Masney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=awyaZluUxJKkStsG@x1g10 \
    --to=masneyb@kernel.org \
    --cc=aaro.koskinen@iki.fi \
    --cc=andreas@kemnade.info \
    --cc=andyshrk@163.com \
    --cc=bmasney+clk@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=geert+renesas@glider.be \
    --cc=heiko@sntech.de \
    --cc=hjc@rock-chips.com \
    --cc=jbrunet+clk@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=paul@pwsan.com \
    --cc=rogerq@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=tony@atomide.com \
    --cc=ulfh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox