Re: [PATCH v9 02/15] clk: mux: Split out register accessors for reuse

2018-05-24 Thread Sricharan R
Hi Bjorn, On 5/24/2018 10:20 PM, Bjorn Andersson wrote: > On Tue 06 Mar 06:38 PST 2018, Sricharan R wrote: > >> From: Stephen Boyd >> >> We want to reuse the logic in clk-mux.c for other clock drivers >> that don't use readl as register accessors. Fortunately, there >> really isn't much to the m

Re: [PATCH v9 02/15] clk: mux: Split out register accessors for reuse

2018-05-24 Thread Bjorn Andersson
On Tue 06 Mar 06:38 PST 2018, Sricharan R wrote: > From: Stephen Boyd > > We want to reuse the logic in clk-mux.c for other clock drivers > that don't use readl as register accessors. Fortunately, there > really isn't much to the mux code besides the table indirection > and quirk flags if you as

[PATCH v9 02/15] clk: mux: Split out register accessors for reuse

2018-03-06 Thread Sricharan R
From: Stephen Boyd We want to reuse the logic in clk-mux.c for other clock drivers that don't use readl as register accessors. Fortunately, there really isn't much to the mux code besides the table indirection and quirk flags if you assume any bit shifting and masking has been done already. Pull