Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1468815 > unrolled thread

Re: [PATCH v4 3/7] clk: sunxi: add generic multi-parent bus clock gates driver

Started byMaxime Ripard <maxime.ripard@free-electrons.com>
First post2016-08-23 22:20 +0200
Last post2016-08-23 22:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v4 3/7] clk: sunxi: add generic multi-parent bus clock  gates driver Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-08-23 22:20 +0200

#1468815 — Re: [PATCH v4 3/7] clk: sunxi: add generic multi-parent bus clock gates driver

FromMaxime Ripard <maxime.ripard@free-electrons.com>
Date2016-08-23 22:20 +0200
SubjectRe: [PATCH v4 3/7] clk: sunxi: add generic multi-parent bus clock gates driver
Message-ID<s9qkW-qE-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Mon, Aug 08, 2016 at 06:21:45PM +0100, Andre Przywara wrote:
> The Allwinner H3 SoC introduced bus clock gates with potentially
> different parents per clock gate register. The H3 driver chose to
> hardcode the actual parent clock relation in the code.
> Add a new driver (which has the potential to drive the H3 and also
> the simple clock gates as well) which uses the power of DT to describe
> this relationship in an elegant and flexible way.
> Using one subnode for every parent clock we get away with a single
> DT compatible match, which can be used as a fallback value in the
> actual DTs without the need to add specific compatible strings to the
> code.  This avoids adding a new driver or function for every new SoC.
> 
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> Acked-by: Jean-Francois Moine <moinejf@free.fr>
> ---
>  drivers/clk/sunxi/Makefile          |   1 +
>  drivers/clk/sunxi/clk-multi-gates.c | 105 ++++++++++++++++++++++++++++++++++++

Aside from my initial objections (that I still have),
drivers/clk/sunxi is in maintainance-only mode, we won't merge any new
drivers there.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web