lkml.org 
[lkml]   [2015]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 01/11] clk: convert clock mux to accept regmap
On 03/06/15 07:12, Antoine Tenart wrote:
> Rework the clk_mux helpers to either use an iomem base address or a
> regmap.
>
> Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
>

Last time we tried this Mike was opposed. The union is a nice trick but
I'm not sure it will help much.

Perhaps you'd be interested in using the bits of the mux code that you
need by using this patch[1]? It makes it so you can use the mux and
associated flags as functions called from somewhere else. Building a
regmap mux on top of that should be fairly straightforward.

[1]
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/284935.html

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project



\
 
 \ /
  Last update: 2015-03-11 23:41    [W:5.126 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site