Linux clock framework development
 help / color / mirror / Atom feed
From: Jerome Brunet <jbrunet@baylibre.com>
To: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>
Cc: linux-clk@vger.kernel.org,  linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] clk: add a clk_hw helpers to get the clock device or device_node
Date: Mon, 02 Jun 2025 13:59:04 +0200	[thread overview]
Message-ID: <1jsekicq2f.fsf@starbuckisacylon.baylibre.com> (raw)
In-Reply-To: <20250417-clk-hw-get-helpers-v1-0-7743e509612a@baylibre.com> (Jerome Brunet's message of "Thu, 17 Apr 2025 15:44:21 +0200")

On Thu 17 Apr 2025 at 15:44, Jerome Brunet <jbrunet@baylibre.com> wrote:

> This patchset adds helpers to get the device or device_node associated with
> clk_hw. This can be used by clock drivers to access various device related
> functionality. The 2nd changes adds kunit test coverage for the new helpers
>
> This patchset is the v4 of the series previously sent here [1], with the
> amlogic patches dropped for now. I'll resume the work on the amlogic
> changes when the helpers are available in CCF core.

Hi Stephen,

Gentle reminder.
We have been stuck on this for a few months now. Could please take patch
#1 at least. There is a significant amount queued on this on and it
would really help.

Thanks

>
> Added tests run example:
>      KTAP version 1
>      # Subtest: clk_hw_register_get_dev_of_node_test_suite
>      # module: clk_test
>      1..2
>          KTAP version 1
>          # Subtest: clk_hw_register_get_dev_test
>          ok 1 clock with device reference
>          ok 2 clock missing device reference
>      # clk_hw_register_get_dev_test: pass:2 fail:0 skip:0 total:2
>      ok 1 clk_hw_register_get_dev_test
>          KTAP version 1
>          # Subtest: clk_hw_register_get_of_node_test
>          ok 1 clock with device reference
>          ok 2 clock missing device reference
>      # clk_hw_register_get_of_node_test: pass:2 fail:0 skip:0 total:2
>      ok 2 clk_hw_register_get_of_node_test
>  # clk_hw_register_get_dev_of_node_test_suite: pass:2 fail:0 skip:0 total:2
>  # Totals: pass:4 fail:0 skip:0 total:4
>  ok 17 clk_hw_register_get_dev_of_node_test_suite
>      KTAP version 1
>      # Subtest: of_clk_hw_register_get_dev_of_node_test_suite
>      # module: clk_test
>      1..2
>          KTAP version 1
>          # Subtest: of_clk_hw_register_get_dev_test
>          ok 1 clock with of_node reference
>          ok 2 clock missing of_node reference
>      # of_clk_hw_register_get_dev_test: pass:2 fail:0 skip:0 total:2
>      ok 1 of_clk_hw_register_get_dev_test
>          KTAP version 1
>          # Subtest: of_clk_hw_register_get_of_node_test
>          ok 1 clock with of_node reference
>          ok 2 clock missing of_node reference
>      # of_clk_hw_register_get_of_node_test: pass:2 fail:0 skip:0 total:2
>      ok 2 of_clk_hw_register_get_of_node_test
>  # of_clk_hw_register_get_dev_of_node_test_suite: pass:2 fail:0 skip:0 total:2
>  # Totals: pass:4 fail:0 skip:0 total:4
>
> [1]: https://lore.kernel.org/linux-clk/20250120-amlogic-clk-drop-clk-regmap-tables-v3-0-126244146947@baylibre.com
>
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
> Jerome Brunet (2):
>       clk: add a clk_hw helpers to get the clock device or device_node
>       clk: tests: add clk_hw_get_dev() and clk_hw_get_of_node() tests
>
>  drivers/clk/Makefile                          |   1 +
>  drivers/clk/clk.c                             |  12 ++
>  drivers/clk/clk_test.c                        | 215 ++++++++++++++++++++++++--
>  drivers/clk/kunit_clk_hw_get_dev_of_node.dtso |  10 ++
>  include/linux/clk-provider.h                  |  26 ++++
>  5 files changed, 247 insertions(+), 17 deletions(-)
> ---
> base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
> change-id: 20250415-clk-hw-get-helpers-c2344d404f3c
>
> Best regards,

-- 
Jerome

  parent reply	other threads:[~2025-06-02 11:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-17 13:44 [PATCH 0/2] clk: add a clk_hw helpers to get the clock device or device_node Jerome Brunet
2025-04-17 13:44 ` [PATCH 1/2] " Jerome Brunet
2025-05-05  9:33   ` Jerome Brunet
2025-06-02 16:42   ` Brian Masney
2025-06-20  7:18   ` Stephen Boyd
2025-04-17 13:44 ` [PATCH 2/2] clk: tests: add clk_hw_get_dev() and clk_hw_get_of_node() tests Jerome Brunet
2025-06-02 17:06   ` Brian Masney
2025-06-20  7:18   ` Stephen Boyd
2025-06-02 11:59 ` Jerome Brunet [this message]
2025-06-20  7:20 ` [PATCH 0/2] clk: add a clk_hw helpers to get the clock device or device_node Stephen Boyd
2025-06-23  8:34   ` Jerome Brunet

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=1jsekicq2f.fsf@starbuckisacylon.baylibre.com \
    --to=jbrunet@baylibre.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@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