mbox series

[0/9] clk: imx: Trivial cleanups for clk_hw based API

Message ID 1574172496-12987-1-git-send-email-abel.vesa@nxp.com
Headers show
Series clk: imx: Trivial cleanups for clk_hw based API | expand

Message

Abel Vesa Nov. 19, 2019, 2:08 p.m. UTC
These changes are cleanups for the clk_hw based API i.MX clock drivers switch
longterm effort. As mentioned in the commit messages, the end goal here is to
have all the i.MX drivers use clk_hw based API only.

I've put these all in a single patchset since they do not impact in any way
the expected behavior of the drivers and they are quite obvious trivial ones.
More patches to follow for the older i.MX platforms but those might not be as
harmless (and trivial) as these ones.

Abel Vesa (9):
  clk: imx: Replace all the clk based helpers with macros
  clk: imx: pllv1: Switch to clk_hw based API
  clk: imx: pllv2: Switch to clk_hw based API
  clk: imx: imx7ulp composite: Rename to show is clk_hw based
  clk: imx: Rename sccg and frac pll register to suggest clk_hw
  clk: imx: Rename the imx_clk_pllv4 to imply it's clk_hw based
  clk: imx: Rename the imx_clk_pfdv2 to imply it's clk_hw based
  clk: imx: Rename the imx_clk_divider_gate to imply it's clk_hw based
  clk: imx7up: Rename the clks to hws

 drivers/clk/imx/clk-composite-7ulp.c |   2 +-
 drivers/clk/imx/clk-divider-gate.c   |   2 +-
 drivers/clk/imx/clk-frac-pll.c       |   7 +-
 drivers/clk/imx/clk-imx7ulp.c        | 182 +++++++++++++++++------------------
 drivers/clk/imx/clk-pfdv2.c          |   2 +-
 drivers/clk/imx/clk-pllv1.c          |  14 ++-
 drivers/clk/imx/clk-pllv2.c          |  14 ++-
 drivers/clk/imx/clk-pllv4.c          |   2 +-
 drivers/clk/imx/clk-sccg-pll.c       |   4 +-
 drivers/clk/imx/clk.h                |  69 +++++++------
 10 files changed, 153 insertions(+), 145 deletions(-)

Comments

Peng Fan Nov. 22, 2019, 7:56 a.m. UTC | #1
> Subject: [PATCH 0/9] clk: imx: Trivial cleanups for clk_hw based API
> 
> These changes are cleanups for the clk_hw based API i.MX clock drivers
> switch longterm effort. As mentioned in the commit messages, the end goal
> here is to have all the i.MX drivers use clk_hw based API only.
> 
> I've put these all in a single patchset since they do not impact in any way the
> expected behavior of the drivers and they are quite obvious trivial ones.
> More patches to follow for the older i.MX platforms but those might not be as
> harmless (and trivial) as these ones.

For the patchset,

Reviewed-by: Peng Fan <peng.fan@nxp.com>

> 
> Abel Vesa (9):
>   clk: imx: Replace all the clk based helpers with macros
>   clk: imx: pllv1: Switch to clk_hw based API
>   clk: imx: pllv2: Switch to clk_hw based API
>   clk: imx: imx7ulp composite: Rename to show is clk_hw based
>   clk: imx: Rename sccg and frac pll register to suggest clk_hw
>   clk: imx: Rename the imx_clk_pllv4 to imply it's clk_hw based
>   clk: imx: Rename the imx_clk_pfdv2 to imply it's clk_hw based
>   clk: imx: Rename the imx_clk_divider_gate to imply it's clk_hw based
>   clk: imx7up: Rename the clks to hws
> 
>  drivers/clk/imx/clk-composite-7ulp.c |   2 +-
>  drivers/clk/imx/clk-divider-gate.c   |   2 +-
>  drivers/clk/imx/clk-frac-pll.c       |   7 +-
>  drivers/clk/imx/clk-imx7ulp.c        | 182
> +++++++++++++++++------------------
>  drivers/clk/imx/clk-pfdv2.c          |   2 +-
>  drivers/clk/imx/clk-pllv1.c          |  14 ++-
>  drivers/clk/imx/clk-pllv2.c          |  14 ++-
>  drivers/clk/imx/clk-pllv4.c          |   2 +-
>  drivers/clk/imx/clk-sccg-pll.c       |   4 +-
>  drivers/clk/imx/clk.h                |  69 +++++++------
>  10 files changed, 153 insertions(+), 145 deletions(-)
> 
> --
> 2.7.4