[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1430407809-31147-1-git-send-email-boris.brezillon@free-electrons.com>
Date: Thu, 30 Apr 2015 17:30:07 +0200
From: Boris Brezillon <boris.brezillon@...e-electrons.com>
To: Mike Turquette <mturquette@...aro.org>,
Stephen Boyd <sboyd@...eaurora.org>, linux-clk@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
Jonathan Corbet <corbet@....net>,
Shawn Guo <shawn.guo@...aro.org>,
ascha Hauer <kernel@...gutronix.de>,
David Brown <davidb@...eaurora.org>,
Daniel Walker <dwalker@...o99.com>,
Bryan Huntsman <bryanh@...eaurora.org>,
Tony Lindgren <tony@...mide.com>,
Paul Walmsley <paul@...an.com>,
Liviu Dudau <liviu.dudau@....com>,
Sudeep Holla <sudeep.holla@....com>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Ralf Baechle <ralf@...ux-mips.org>,
Max Filippov <jcmvbkbc@...il.com>,
Heiko Stuebner <heiko@...ech.de>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Tomasz Figa <tomasz.figa@...il.com>,
Barry Song <baohua@...nel.org>,
Viresh Kumar <viresh.linux@...il.com>,
Emilio López <emilio@...pez.com.ar>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
Peter De Schrijver <pdeschrijver@...dia.com>,
Prashant Gaikwad <pgaikwad@...dia.com>,
Stephen Warren <swarren@...dotorg.org>,
Thierry Reding <thierry.reding@...il.com>,
Alexandre Courbot <gnurou@...il.com>,
Tero Kristo <t-kristo@...com>,
Ulf Hansson <ulf.hansson@...aro.org>,
Michal Simek <michal.simek@...inx.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
linux-doc@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, linux-omap@...r.kernel.org,
linux-mips@...ux-mips.org, patches@...nsource.wolfsonmicro.com,
linux-rockchip@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, spear-devel@...t.st.com,
linux-tegra@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-media@...r.kernel.org, rtc-linux@...glegroups.com
Subject: [PATCH v2 0/2] clk: adapt ->round_rate()/->determine_rate() prototypes
Hello,
As previously discussed in this thread [1], this series is changing
clk_ops' ->round_rate()/->determine_rate() prototypes to avoid long
overflows when the returned rate is exceeding 2Ghz.
Most of those changes have been compile-tested, but none of them have
been tested on real hardware (the changes are quite simple though).
Best Regards,
Boris
[1]https://lkml.org/lkml/2015/4/14/528
Changes since v1:
- fix an 'uninitialized variable' bug reported by Heiko
- rebased on clk-next
CC: Jonathan Corbet <corbet@....net>
CC: Shawn Guo <shawn.guo@...aro.org>
CC: ascha Hauer <kernel@...gutronix.de>
CC: David Brown <davidb@...eaurora.org>
CC: Daniel Walker <dwalker@...o99.com>
CC: Bryan Huntsman <bryanh@...eaurora.org>
CC: Tony Lindgren <tony@...mide.com>
CC: Paul Walmsley <paul@...an.com>
CC: Liviu Dudau <liviu.dudau@....com>
CC: Sudeep Holla <sudeep.holla@....com>
CC: Lorenzo Pieralisi <lorenzo.pieralisi@....com>
CC: Ralf Baechle <ralf@...ux-mips.org>
CC: Max Filippov <jcmvbkbc@...il.com>
CC: Heiko Stuebner <heiko@...ech.de>
CC: Sylwester Nawrocki <s.nawrocki@...sung.com>
CC: Tomasz Figa <tomasz.figa@...il.com>
CC: Barry Song <baohua@...nel.org>
CC: Viresh Kumar <viresh.linux@...il.com>
CC: "Emilio López" <emilio@...pez.com.ar>
CC: Maxime Ripard <maxime.ripard@...e-electrons.com>
CC: Peter De Schrijver <pdeschrijver@...dia.com>
CC: Prashant Gaikwad <pgaikwad@...dia.com>
CC: Stephen Warren <swarren@...dotorg.org>
CC: Thierry Reding <thierry.reding@...il.com>
CC: Alexandre Courbot <gnurou@...il.com>
CC: Tero Kristo <t-kristo@...com>
CC: Ulf Hansson <ulf.hansson@...aro.org>
CC: Michal Simek <michal.simek@...inx.com>
CC: Philipp Zabel <p.zabel@...gutronix.de>
CC: linux-doc@...r.kernel.org
CC: linux-kernel@...r.kernel.org
CC: linux-arm-kernel@...ts.infradead.org
CC: linux-arm-msm@...r.kernel.org
CC: linux-omap@...r.kernel.org
CC: linux-mips@...ux-mips.org
CC: patches@...nsource.wolfsonmicro.com
CC: linux-rockchip@...ts.infradead.org
CC: linux-samsung-soc@...r.kernel.org
CC: spear-devel@...t.st.com
CC: linux-tegra@...r.kernel.org
CC: dri-devel@...ts.freedesktop.org
CC: linux-media@...r.kernel.org
CC: rtc-linux@...glegroups.com
Boris Brezillon (2):
clk: change clk_ops' ->round_rate() prototype
clk: change clk_ops' ->determine_rate() prototype
Documentation/clk.txt | 8 +--
arch/arm/mach-imx/clk-busy.c | 2 +-
arch/arm/mach-imx/clk-cpu.c | 12 +++-
arch/arm/mach-imx/clk-fixup-div.c | 2 +-
arch/arm/mach-imx/clk-pfd.c | 11 ++--
arch/arm/mach-imx/clk-pllv2.c | 8 ++-
arch/arm/mach-imx/clk-pllv3.c | 46 +++++++------
arch/arm/mach-msm/clock-pcom.c | 4 +-
arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c | 13 ++--
arch/arm/mach-omap2/clkt_clksel.c | 6 +-
arch/arm/mach-omap2/clkt_dpll.c | 21 +++---
arch/arm/mach-omap2/clock.h | 4 +-
arch/arm/mach-omap2/dpll3xxx.c | 45 ++++++++-----
arch/arm/mach-omap2/dpll44xx.c | 44 +++++++------
arch/arm/mach-vexpress/spc.c | 11 +++-
arch/mips/alchemy/common/clock.c | 76 ++++++++++++++--------
drivers/clk/at91/clk-h32mx.c | 24 ++++---
drivers/clk/at91/clk-peripheral.c | 31 +++++----
drivers/clk/at91/clk-pll.c | 14 ++--
drivers/clk/at91/clk-plldiv.c | 22 ++++---
drivers/clk/at91/clk-programmable.c | 28 ++++----
drivers/clk/at91/clk-smd.c | 24 ++++---
drivers/clk/at91/clk-usb.c | 42 ++++++------
drivers/clk/bcm/clk-kona.c | 24 ++++---
drivers/clk/clk-axi-clkgen.c | 5 +-
drivers/clk/clk-cdce706.c | 46 ++++++-------
drivers/clk/clk-composite.c | 27 ++++----
drivers/clk/clk-divider.c | 16 +++--
drivers/clk/clk-fixed-factor.c | 7 +-
drivers/clk/clk-fractional-divider.c | 16 +++--
drivers/clk/clk-highbank.c | 18 +++---
drivers/clk/clk-si5351.c | 96 ++++++++++++++--------------
drivers/clk/clk-si570.c | 14 ++--
drivers/clk/clk-u300.c | 65 ++++++++++---------
drivers/clk/clk-vt8500.c | 27 ++++----
drivers/clk/clk-wm831x.c | 11 ++--
drivers/clk/clk-xgene.c | 11 ++--
drivers/clk/clk.c | 72 +++++++++++----------
drivers/clk/hisilicon/clk-hi3620.c | 22 +++----
drivers/clk/mmp/clk-frac.c | 14 ++--
drivers/clk/mmp/clk-mix.c | 17 ++---
drivers/clk/mvebu/clk-corediv.c | 7 +-
drivers/clk/mvebu/clk-cpu.c | 9 +--
drivers/clk/mxs/clk-div.c | 4 +-
drivers/clk/mxs/clk-frac.c | 11 ++--
drivers/clk/mxs/clk-ref.c | 11 ++--
drivers/clk/qcom/clk-pll.c | 12 ++--
drivers/clk/qcom/clk-rcg.c | 32 +++++-----
drivers/clk/qcom/clk-rcg2.c | 54 +++++++++-------
drivers/clk/qcom/clk-regmap-divider.c | 4 +-
drivers/clk/rockchip/clk-pll.c | 13 ++--
drivers/clk/samsung/clk-pll.c | 13 ++--
drivers/clk/shmobile/clk-div6.c | 7 +-
drivers/clk/shmobile/clk-rcar-gen2.c | 9 +--
drivers/clk/sirf/clk-common.c | 18 +++---
drivers/clk/spear/clk-aux-synth.c | 10 ++-
drivers/clk/spear/clk-frac-synth.c | 10 ++-
drivers/clk/spear/clk-gpt-synth.c | 10 ++-
drivers/clk/spear/clk-vco-pll.c | 20 ++++--
drivers/clk/st/clk-flexgen.c | 11 ++--
drivers/clk/st/clkgen-fsyn.c | 21 +++---
drivers/clk/st/clkgen-mux.c | 2 +-
drivers/clk/sunxi/clk-factors.c | 31 +++++----
drivers/clk/sunxi/clk-sun6i-ar100.c | 18 ++++--
drivers/clk/sunxi/clk-sunxi.c | 19 +++---
drivers/clk/tegra/clk-audio-sync.c | 8 +--
drivers/clk/tegra/clk-divider.c | 19 ++++--
drivers/clk/tegra/clk-periph.c | 4 +-
drivers/clk/tegra/clk-pll.c | 39 ++++++-----
drivers/clk/ti/clk-dra7-atl.c | 9 +--
drivers/clk/ti/composite.c | 4 +-
drivers/clk/ti/divider.c | 9 +--
drivers/clk/ux500/clk-prcmu.c | 13 +++-
drivers/clk/versatile/clk-icst.c | 9 +--
drivers/clk/versatile/clk-vexpress-osc.c | 12 ++--
drivers/clk/zynq/pll.c | 7 +-
drivers/gpu/drm/imx/imx-tve.c | 15 +++--
drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c | 7 +-
drivers/gpu/drm/msm/mdp/mdp4/mdp4_lvds_pll.c | 7 +-
drivers/media/platform/omap3isp/isp.c | 6 +-
drivers/rtc/rtc-hym8563.c | 14 ++--
include/linux/clk-provider.h | 30 ++++-----
include/linux/clk/ti.h | 32 +++++-----
83 files changed, 927 insertions(+), 679 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists