Re: [PATCH v5 0/8] clk: replace div_mask() by GENMASK()

From: Andy Shevchenko
Date: Fri Oct 09 2015 - 11:41:36 EST


On Mon, 2015-07-13 at 17:07 +0300, Andy Shevchenko wrote:
> This series replaces div_mask() and similar macros in many clock
> providers by
> GENMASK() generic helper.

So, if anyone finds this useful, please, ACK/apply.

>
> Changelog v5:
> - amend patch for softpga by covering all cases
> - extend patchset to hisilicon and bcm clk implementation
> - rebase on top of clk-next
>
> Changelog v4:
> - use GENMASK() instead of div_mask() by Stephen Boyd's comment
>
> Changelog v3:
> - fix clk_div_mask() prototype: seems tired like on Friday evening!
>
> Changelog v2:
> - fix patches 5,6,7 where parameter of the macro was d instead of d
> ->width
>
> Andy Shevchenko (8):
> clk: divider: switch to GENMASK()
> clk: mmp: switch to GENMASK()
> clk: socfpga: switch to GENMASK()
> clk: ti: divider: switch to GENMASK()
> clk: tegra: switch to GENMASK()
> clk: hisilicon: switch to GENMASK()
> clk: bcm: switch to GENMASK()
> ARM: imx: switch to GENMASK()
>
> drivers/clk/bcm/clk-iproc-asiu.c | 22 ++++++++-------------
> -
> drivers/clk/bcm/clk-iproc-pll.c | 31 ++++++++++++++-------
> ----------
> drivers/clk/bcm/clk-iproc.h | 1 -
> drivers/clk/bcm/clk-kona-setup.c | 2 +-
> drivers/clk/bcm/clk-kona.c | 12 +++---------
> drivers/clk/clk-divider.c | 18 ++++++++----------
> drivers/clk/hisilicon/clkdivider-hi6220.c | 8 +++-----
> drivers/clk/imx/clk-fixup-div.c | 7 +++----
> drivers/clk/mmp/clk-mix.c | 2 +-
> drivers/clk/mmp/clk.h | 2 +-
> drivers/clk/socfpga/clk-gate-a10.c | 2 +-
> drivers/clk/socfpga/clk-gate.c | 2 +-
> drivers/clk/socfpga/clk-periph-a10.c | 2 +-
> drivers/clk/socfpga/clk-periph.c | 2 +-
> drivers/clk/socfpga/clk.h | 1 -
> drivers/clk/tegra/clk-divider.c | 7 +++----
> drivers/clk/tegra/clk-pll.c | 13 ++++++-------
> drivers/clk/tegra/clk-super.c | 2 +-
> drivers/clk/ti/divider.c | 18 ++++++++----------
> 19 files changed, 64 insertions(+), 90 deletions(-)
>

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/