[PATCH v3 2/2] clk: sunxi: Refactor A31 PLL6 so that it can be reused
Chen-Yu Tsai
wens at csie.org
Fri Jan 29 01:56:09 PST 2016
On Fri, Jan 29, 2016 at 3:22 AM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> Remove the fixed dividers from the PLL6 driver to be able to have a
> reusable driver that can be used across several SoCs that share the same
> controller, but don't have the same set of dividers for this clock, and to
> also be reused multiple times in the same SoC, since we're droping the
> clock name.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> ---
> Changes from v2
> - Rebased and converted over to the new factors refactoring. Fixed the
> retrieved rate
>
> arch/arm/boot/dts/sun6i-a31.dtsi | 36 ++++++++++++++++++------------------
> arch/arm/boot/dts/sun8i-a23-a33.dtsi | 25 +++++++++++++++++--------
> arch/arm/boot/dts/sun8i-a23.dtsi | 2 +-
> arch/arm/boot/dts/sun8i-a33.dtsi | 4 ++--
> arch/arm/boot/dts/sun8i-h3.dtsi | 36 ++++++++++++++++++------------------
> drivers/clk/sunxi/clk-sunxi.c | 32 ++++++++++++++++----------------
> 6 files changed, 72 insertions(+), 63 deletions(-)
Please also update the #clock-cells section of
Documentation/devicetree/bindings/clock/sunxi.txt
Otherwise,
Acked-by: Chen-Yu Tsai <wens at csie.org>
More information about the linux-arm-kernel
mailing list