Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933103AbdCKAjg (ORCPT ); Fri, 10 Mar 2017 19:39:36 -0500 Received: from mail-pg0-f51.google.com ([74.125.83.51]:33132 "EHLO mail-pg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755413AbdCKAja (ORCPT ); Fri, 10 Mar 2017 19:39:30 -0500 From: Kevin Hilman To: Jerome Brunet Cc: Michael Turquette , Stephen Boyd , Carlo Caione , linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2 0/9] clk: meson: update clock controller for audio support Organization: BayLibre References: <20170309104154.28295-1-jbrunet@baylibre.com> Date: Fri, 10 Mar 2017 16:39:27 -0800 In-Reply-To: <20170309104154.28295-1-jbrunet@baylibre.com> (Jerome Brunet's message of "Thu, 9 Mar 2017 11:41:45 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2515 Lines: 58 Jerome Brunet writes: > This patchset is a first round of update to the meson clock controllers > to bring audio support. The patchset is based on clk-next. It could be > rebased on amlogic tree later on, if you prefer the patches to go through > Kevin's tree. I'd prefer these go through the clk tree, and get an immutable branch that I can use for my stuff that goes through the arm-soc tree. Kevin > First patch fix an issue found while writing patch 5 (Giving ternary > operator to SET_PARM) > > Following Stephen comment on the v1, patch 2 adds the const qualifiers > missing upstream. > > Patches 3 and 4 put the generic muxes and divisors declaration in tables so > the register address fixup works in the same way as the clock gates. We are > going to add more of these clock types for audio or gpu support, so we > can't continue to fix addresses individually like it is currently done. > > Patches 5 to 8 improve the support of the mpll clocks, now allowing the > rate to be set. Among other things, the mplls are the parent clocks of the > i2s and spdif clocks. > > Patch 9 expose the clock gates required to power on the i2s output. > > These patches have been tested on the meson gxbb p200 board, as part of the > ongoing work to bring audio support to meson SoC family. > > Changes since v1 [0]: > * Add SET_PARM fix to the series > * Add missing const qualifiers to the clock arrays > * No more additional patches required as SAR clocks have been merged > > [0]: http://lkml.kernel.org/r/20170228133002.17894-1-jbrunet@baylibre.com > > Jerome Brunet (9): > clk: meson: fix SET_PARM macro > clk: meson: add missing const qualifiers on gate arrays > clk: meson8b: put dividers and muxes in tables > clk: gxbb: put dividers and muxes in tables > clk: meson: mpll: add rw operation > clk: meson: gxbb: mpll: use rw operation > clk: meson8b: add the mplls clocks 0, 1 and 2 > clk: meson: mpll: correct N2 maximum value > dt-bindings: clk: gxbb: expose i2s output clock gates > > drivers/clk/meson/clk-mpll.c | 152 ++++++++++++++++++++++++++++++++-- > drivers/clk/meson/clkc.h | 6 +- > drivers/clk/meson/gxbb.c | 66 ++++++++++++--- > drivers/clk/meson/gxbb.h | 10 +-- > drivers/clk/meson/meson8b.c | 127 ++++++++++++++++++++++++++-- > drivers/clk/meson/meson8b.h | 20 ++++- > include/dt-bindings/clock/gxbb-clkc.h | 5 ++ > 7 files changed, 356 insertions(+), 30 deletions(-)