From mboxrd@z Thu Jan 1 00:00:00 1970 From: wens@csie.org (Chen-Yu Tsai) Date: Fri, 29 Jan 2016 17:56:09 +0800 Subject: [PATCH v3 2/2] clk: sunxi: Refactor A31 PLL6 so that it can be reused In-Reply-To: <1454008958-12655-2-git-send-email-maxime.ripard@free-electrons.com> References: <1454008958-12655-1-git-send-email-maxime.ripard@free-electrons.com> <1454008958-12655-2-git-send-email-maxime.ripard@free-electrons.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Jan 29, 2016 at 3:22 AM, Maxime Ripard 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 > --- > 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