From: Simon Horman <horms@kernel.org>
To: Karol Kolacinski <karol.kolacinski@intel.com>
Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org,
anthony.l.nguyen@intel.com, przemyslaw.kitszel@intel.com,
Michal Kubiak <michal.kubiak@intel.com>,
Milena Olech <milena.olech@intel.com>
Subject: Re: [Intel-wired-lan] [PATCH v2 iwl-next 02/10] ice: rename TSPLL and CGU functions and definitions
Date: Fri, 11 Apr 2025 13:36:55 +0100 [thread overview]
Message-ID: <20250411123655.GC395307@horms.kernel.org> (raw)
In-Reply-To: <20250409122830.1977644-14-karol.kolacinski@intel.com>
On Wed, Apr 09, 2025 at 02:24:59PM +0200, Karol Kolacinski wrote:
> Rename TSPLL and CGU functions, definitions etc. to match the file name
> and have consistent naming scheme.
>
> Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
> Reviewed-by: Milena Olech <milena.olech@intel.com>
> Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
...
> diff --git a/drivers/net/ethernet/intel/ice/ice_tspll.h b/drivers/net/ethernet/intel/ice/ice_tspll.h
> index 181ca24a2739..0e28e97e09be 100644
> --- a/drivers/net/ethernet/intel/ice/ice_tspll.h
> +++ b/drivers/net/ethernet/intel/ice/ice_tspll.h
> @@ -2,16 +2,16 @@
> #define _ICE_TSPLL_H_
>
> /**
> - * struct ice_cgu_pll_params_e82x - E82X CGU parameters
> + * struct ice_tspll_params_e82x
nit: tooling expects a short description here.
Flagged by ./scripts/kernel-doc -none
> * @refclk_pre_div: Reference clock pre-divisor
> * @feedback_div: Feedback divisor
> * @frac_n_div: Fractional divisor
> * @post_pll_div: Post PLL divisor
> *
> * Clock Generation Unit parameters used to program the PLL based on the
> - * selected TIME_REF frequency.
> + * selected TIME_REF/TCXO frequency.
> */
> -struct ice_cgu_pll_params_e82x {
> +struct ice_tspll_params_e82x {
> u32 refclk_pre_div;
> u32 feedback_div;
> u32 frac_n_div;
> @@ -19,25 +19,25 @@ struct ice_cgu_pll_params_e82x {
> };
>
> /**
> - * struct ice_cgu_pll_params_e825c - E825C CGU parameters
> - * @tspll_ck_refclkfreq: tspll_ck_refclkfreq selection
> - * @tspll_ndivratio: ndiv ratio that goes directly to the pll
> - * @tspll_fbdiv_intgr: TS PLL integer feedback divide
> - * @tspll_fbdiv_frac: TS PLL fractional feedback divide
> - * @ref1588_ck_div: clock divider for tspll ref
> + * struct ice_tspll_params_e825c
Ditto.
> + * @ck_refclkfreq: ck_refclkfreq selection
> + * @ndivratio: ndiv ratio that goes directly to the PLL
> + * @fbdiv_intgr: TSPLL integer feedback divisor
> + * @fbdiv_frac: TSPLL fractional feedback divisor
> + * @ref1588_ck_div: clock divisor for tspll ref
> *
> * Clock Generation Unit parameters used to program the PLL based on the
> * selected TIME_REF/TCXO frequency.
> */
> -struct ice_cgu_pll_params_e825c {
> - u32 tspll_ck_refclkfreq;
> - u32 tspll_ndivratio;
> - u32 tspll_fbdiv_intgr;
> - u32 tspll_fbdiv_frac;
> +struct ice_tspll_params_e825c {
> + u32 ck_refclkfreq;
> + u32 ndivratio;
> + u32 fbdiv_intgr;
> + u32 fbdiv_frac;
> u32 ref1588_ck_div;
> };
...
WARNING: multiple messages have this Message-ID (diff)
From: Simon Horman <horms@kernel.org>
To: Karol Kolacinski <karol.kolacinski@intel.com>
Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org,
anthony.l.nguyen@intel.com, przemyslaw.kitszel@intel.com,
Michal Kubiak <michal.kubiak@intel.com>,
Milena Olech <milena.olech@intel.com>
Subject: Re: [PATCH v2 iwl-next 02/10] ice: rename TSPLL and CGU functions and definitions
Date: Fri, 11 Apr 2025 13:36:55 +0100 [thread overview]
Message-ID: <20250411123655.GC395307@horms.kernel.org> (raw)
In-Reply-To: <20250409122830.1977644-14-karol.kolacinski@intel.com>
On Wed, Apr 09, 2025 at 02:24:59PM +0200, Karol Kolacinski wrote:
> Rename TSPLL and CGU functions, definitions etc. to match the file name
> and have consistent naming scheme.
>
> Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
> Reviewed-by: Milena Olech <milena.olech@intel.com>
> Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
...
> diff --git a/drivers/net/ethernet/intel/ice/ice_tspll.h b/drivers/net/ethernet/intel/ice/ice_tspll.h
> index 181ca24a2739..0e28e97e09be 100644
> --- a/drivers/net/ethernet/intel/ice/ice_tspll.h
> +++ b/drivers/net/ethernet/intel/ice/ice_tspll.h
> @@ -2,16 +2,16 @@
> #define _ICE_TSPLL_H_
>
> /**
> - * struct ice_cgu_pll_params_e82x - E82X CGU parameters
> + * struct ice_tspll_params_e82x
nit: tooling expects a short description here.
Flagged by ./scripts/kernel-doc -none
> * @refclk_pre_div: Reference clock pre-divisor
> * @feedback_div: Feedback divisor
> * @frac_n_div: Fractional divisor
> * @post_pll_div: Post PLL divisor
> *
> * Clock Generation Unit parameters used to program the PLL based on the
> - * selected TIME_REF frequency.
> + * selected TIME_REF/TCXO frequency.
> */
> -struct ice_cgu_pll_params_e82x {
> +struct ice_tspll_params_e82x {
> u32 refclk_pre_div;
> u32 feedback_div;
> u32 frac_n_div;
> @@ -19,25 +19,25 @@ struct ice_cgu_pll_params_e82x {
> };
>
> /**
> - * struct ice_cgu_pll_params_e825c - E825C CGU parameters
> - * @tspll_ck_refclkfreq: tspll_ck_refclkfreq selection
> - * @tspll_ndivratio: ndiv ratio that goes directly to the pll
> - * @tspll_fbdiv_intgr: TS PLL integer feedback divide
> - * @tspll_fbdiv_frac: TS PLL fractional feedback divide
> - * @ref1588_ck_div: clock divider for tspll ref
> + * struct ice_tspll_params_e825c
Ditto.
> + * @ck_refclkfreq: ck_refclkfreq selection
> + * @ndivratio: ndiv ratio that goes directly to the PLL
> + * @fbdiv_intgr: TSPLL integer feedback divisor
> + * @fbdiv_frac: TSPLL fractional feedback divisor
> + * @ref1588_ck_div: clock divisor for tspll ref
> *
> * Clock Generation Unit parameters used to program the PLL based on the
> * selected TIME_REF/TCXO frequency.
> */
> -struct ice_cgu_pll_params_e825c {
> - u32 tspll_ck_refclkfreq;
> - u32 tspll_ndivratio;
> - u32 tspll_fbdiv_intgr;
> - u32 tspll_fbdiv_frac;
> +struct ice_tspll_params_e825c {
> + u32 ck_refclkfreq;
> + u32 ndivratio;
> + u32 fbdiv_intgr;
> + u32 fbdiv_frac;
> u32 ref1588_ck_div;
> };
...
next prev parent reply other threads:[~2025-04-11 12:37 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-09 12:24 [Intel-wired-lan] [PATCH v2 iwl-next 00/10] ice: Separate TSPLL from PTP and clean up Karol Kolacinski
2025-04-09 12:24 ` Karol Kolacinski
2025-04-09 12:24 ` [Intel-wired-lan] [PATCH v2 iwl-next 01/10] ice: move TSPLL functions to a separate file Karol Kolacinski
2025-04-09 12:24 ` Karol Kolacinski
2025-04-11 12:36 ` [Intel-wired-lan] " Simon Horman
2025-04-11 12:36 ` Simon Horman
2025-04-09 12:24 ` [Intel-wired-lan] [PATCH v2 iwl-next 02/10] ice: rename TSPLL and CGU functions and definitions Karol Kolacinski
2025-04-09 12:24 ` Karol Kolacinski
2025-04-11 12:36 ` Simon Horman [this message]
2025-04-11 12:36 ` Simon Horman
2025-04-09 12:25 ` [Intel-wired-lan] [PATCH v2 iwl-next 03/10] ice: use designated initializers for TSPLL consts Karol Kolacinski
2025-04-09 12:25 ` Karol Kolacinski
2025-04-18 0:06 ` [Intel-wired-lan] " Jacob Keller
2025-04-09 12:25 ` [Intel-wired-lan] [PATCH v2 iwl-next 04/10] ice: add TSPLL log config helper Karol Kolacinski
2025-04-09 12:25 ` Karol Kolacinski
2025-04-09 12:25 ` [Intel-wired-lan] [PATCH v2 iwl-next 05/10] ice: add ICE_READ/WRITE_CGU_REG_OR_DIE helpers Karol Kolacinski
2025-04-09 12:25 ` Karol Kolacinski
2025-04-09 12:25 ` [Intel-wired-lan] [PATCH v2 iwl-next 06/10] ice: use bitfields instead of unions for CGU regs Karol Kolacinski
2025-04-09 12:25 ` Karol Kolacinski
2025-04-17 21:38 ` [Intel-wired-lan] " Jacob Keller
2025-04-09 12:25 ` [Intel-wired-lan] [PATCH v2 iwl-next 07/10] ice: add multiple TSPLL helpers Karol Kolacinski
2025-04-09 12:25 ` Karol Kolacinski
2025-04-09 12:25 ` [Intel-wired-lan] [PATCH v2 iwl-next 08/10] ice: wait before enabling TSPLL Karol Kolacinski
2025-04-09 12:25 ` Karol Kolacinski
2025-04-09 12:25 ` [Intel-wired-lan] [PATCH v2 iwl-next 09/10] ice: fall back to TCXO on TSPLL lock fail Karol Kolacinski
2025-04-09 12:25 ` Karol Kolacinski
2025-04-09 12:25 ` [Intel-wired-lan] [PATCH v2 iwl-next 10/10] ice: move TSPLL init calls to ice_ptp.c Karol Kolacinski
2025-04-09 12:25 ` Karol Kolacinski
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=20250411123655.GC395307@horms.kernel.org \
--to=horms@kernel.org \
--cc=anthony.l.nguyen@intel.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=karol.kolacinski@intel.com \
--cc=michal.kubiak@intel.com \
--cc=milena.olech@intel.com \
--cc=netdev@vger.kernel.org \
--cc=przemyslaw.kitszel@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.