Re: [PATCH v3 0/3] meson-gx: Add mali-450 support
From: Kevin Hilman
Date: Fri Mar 10 2017 - 19:43:33 EST
Neil Armstrong <narmstrong@xxxxxxxxxxxx> writes:
> Since the merge of the Mali dt bindings at [1], add support for Mali clocks
> and DT node.
>
> The Mali is clocked by two identical clock paths behind a glitch free mux
> to safely change frequency while running.
> So these clocks must be added to the meson-gxbb clock controller.
>
>
> Changes since v2 at [5] :
> - Rebased on v2 Audio Clocks patchset from Jerome Brunet at [6]
Due to this dependency, I'd prefer patches 1-2 go through the clk tree
(into an immutable branch along with the audio changes) and then I'll
pick up the DT change through the amlogic tree.
Kevin
> - Marked parents names list as static
> - Reworded patch 3 commit message
>
> Changes since v1 at [2] :
> - Remove GP0 fixes, this will pushed later, for base frequency it can depend on fclk_div3
> - Add GXL support
> - rebase on clk-next and jbrunet's patchset at [3] and [4]
> - get rid of composite clocks, this adds more clocks IDs and exposes 2 more clocks
>
> [6] http://lkml.kernel.org/r/20170309104154.28295-1-jbrunet@xxxxxxxxxxxx
> [5] http://lkml.kernel.org/r/1488365164-22861-1-git-send-email-narmstrong@xxxxxxxxxxxx
> [4] http://lkml.kernel.org/r/20170228093016.5624-1-jbrunet@xxxxxxxxxxxx
> [3] http://lkml.kernel.org/r/20170228133002.17894-1-jbrunet@xxxxxxxxxxxx
> [2] http://lkml.kernel.org/r/1486721084-1383-1-git-send-email-narmstrong@xxxxxxxxxxxx
> [1] http://lkml.kernel.org/r/b098c4fa9fce88361cca20417978734d0e1b5cca.1485939041.git-series.maxime.ripard@xxxxxxxxxxxxxxxxxx
>
> Neil Armstrong (3):
> clk: meson-gxbb: Add MALI clock IDS
> clk: meson-gxbb: Add MALI clocks
> ARM64: dts: meson-gx: Add MALI nodes for GXBB and GXL
>
> arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 37 ++++++
> arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi | 43 +++++++
> arch/arm64/boot/dts/amlogic/meson-gxl-s905d.dtsi | 1 +
> arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi | 1 +
> drivers/clk/meson/gxbb.c | 139 +++++++++++++++++++++++
> drivers/clk/meson/gxbb.h | 9 +-
> include/dt-bindings/clock/gxbb-clkc.h | 5 +
> 7 files changed, 234 insertions(+), 1 deletion(-)
> create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi