mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Harry Austen <hpausten@protonmail.com>
To: Harry Austen <hpausten@protonmail.com>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Michal Simek <michal.simek@amd.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>,
	Dave Ertman <david.m.ertman@intel.com>,
	Ira Weiny <ira.weiny@intel.com>,
	linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 2/9] clk: clocking-wizard: use newer clk_hw API
Date: Sun, 04 Aug 2024 12:27:32 +0000	[thread overview]
Message-ID: <D374KN1NZT6O.3P6C0M5FEHJ6F@protonmail.com> (raw)
In-Reply-To: <20240803105702.9621-3-hpausten@protonmail.com>

On Sat Aug 3, 2024 at 11:57 AM BST, Harry Austen wrote:
> Utilise clock provider API with struct clk_hw instances instead of the
> consumer-side struct clk.
>
> Signed-off-by: Harry Austen <hpausten@protonmail.com>
> ---
> v1 -> v2:
> - Move onecell data to end of struct for single allocation
> - Just move to clk_hw API. Move devres transition to subsequent patch
>
>  drivers/clk/xilinx/clk-xlnx-clock-wizard.c | 77 +++++++++++-----------
>  1 file changed, 40 insertions(+), 37 deletions(-)
>
> diff --git a/drivers/clk/xilinx/clk-xlnx-clock-wizard.c b/drivers/clk/xilinx/clk-xlnx-clock-wizard.c
> index 0ca045849ea3e..ccaf30c2d9481 100644
> --- a/drivers/clk/xilinx/clk-xlnx-clock-wizard.c
> +++ b/drivers/clk/xilinx/clk-xlnx-clock-wizard.c
> @@ -17,6 +17,7 @@
>  #include <linux/of.h>
>  #include <linux/math64.h>
>  #include <linux/module.h>
> +#include <linux/overflow.h>
>  #include <linux/err.h>
>  #include <linux/iopoll.h>
>  
> @@ -121,26 +122,24 @@ enum clk_wzrd_int_clks {
>  /**
>   * struct clk_wzrd - Clock wizard private data structure
>   *
> - * @clk_data:		Clock data
> + * @clk_data:		Output clock data

Realised I probably should have moved this doc comment to the bottom too,
which also resulted in me putting the new `adev` parameter documentation in
a weird location in patch 6. Will fix in v3.

>   * @nb:			Notifier block
>   * @base:		Memory base
>   * @clk_in1:		Handle to input clock 'clk_in1'
>   * @axi_clk:		Handle to input clock 's_axi_aclk'
>   * @clks_internal:	Internal clocks
> - * @clkout:		Output clocks
>   * @speed_grade:	Speed grade of the device
>   * @suspended:		Flag indicating power state of the device
>   */
>  struct clk_wzrd {


  reply	other threads:[~2024-08-04 12:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-03 10:57 [PATCH v2 0/9] clk: clocking-wizard: add user clock monitor support Harry Austen
2024-08-03 10:57 ` [PATCH v2 1/9] clk: clocking-wizard: simplify probe/remove with devres helpers Harry Austen
2024-08-03 10:57 ` [PATCH v2 2/9] clk: clocking-wizard: use newer clk_hw API Harry Austen
2024-08-04 12:27   ` Harry Austen [this message]
2024-08-03 10:58 ` [PATCH v2 3/9] clk: clocking-wizard: use devres versions of " Harry Austen
2024-08-03 10:58 ` [PATCH v2 4/9] clk: clocking-wizard: move clock registration to separate function Harry Austen
2024-08-03 10:58 ` [PATCH v2 5/9] dt-bindings: clock: xilinx: add description of user monitor interrupt Harry Austen
2024-08-04  9:04   ` Krzysztof Kozlowski
2024-08-04 12:30     ` Harry Austen
2024-08-03 10:58 ` [PATCH v2 6/9] clk: clocking-wizard: add user clock monitor support Harry Austen
2024-08-19 12:39   ` Datta, Shubhrajyoti
2024-08-20 18:30     ` Harry Austen
2024-08-03 10:58 ` [PATCH v2 7/9] uio: add Xilinx " Harry Austen
2024-08-03 10:58 ` [PATCH v2 8/9] dt-bindings: clock: xilinx: describe whether dynamic reconfig is enabled Harry Austen
2024-08-04  9:04   ` Krzysztof Kozlowski
2024-08-03 10:58 ` [PATCH v2 9/9] clk: clocking-wizard: move dynamic reconfig setup behind flag Harry Austen
2024-08-04  9:01 ` [PATCH v2 0/9] clk: clocking-wizard: add user clock monitor support Krzysztof Kozlowski
2024-08-04 12:28   ` Harry Austen
2024-08-04 13:58     ` Krzysztof Kozlowski

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=D374KN1NZT6O.3P6C0M5FEHJ6F@protonmail.com \
    --to=hpausten@protonmail.com \
    --cc=conor+dt@kernel.org \
    --cc=david.m.ertman@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=ira.weiny@intel.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@amd.com \
    --cc=mturquette@baylibre.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=shubhrajyoti.datta@amd.com \
    /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

all inboxes | Powered by JetHome®