Thread (55 messages) 55 messages, 5 authors, 2016-02-25

[PATCH 04/14] clk: sunxi: add ahb1 clock for A83T

From: Maxime Ripard <hidden>
Date: 2016-02-04 08:01:21
Also in: linux-clk, linux-devicetree, linux-gpio, lkml

On Thu, Feb 04, 2016 at 02:06:45PM +0800, Vishnu Patekar wrote:
Hello Maxime,


On Tue, Feb 2, 2016 at 9:17 PM, Maxime Ripard
[off-list ref] wrote:
quoted
Hi,

On Sun, Jan 31, 2016 at 09:20:56AM +0800, Vishnu Patekar wrote:
quoted
AHB1 on A83T is similar to ahb1 on A31, except parents are different.
clock index 0b1x is PLL6.

Signed-off-by: Vishnu Patekar <redacted>
If the clock is the same but the parents are different, then we don't
need to duplicate all the logic. Simply add the number of parents to
mux_data, and you're all set.
Problem here is: parent 0b10 for A31 ahb1 is AXI, 0b11 is pll6/pre_div.
0b10 and 0b11 is pll6/pre_div.
So, just adding number of parents to mux_data will not solve problem.
Is anyone using 0b11 ? Can't we just ignore it?

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160204/27906fdc/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help