Thread (14 messages) 14 messages, 2 authors, 2017-01-23

[PATCH v3 5/7] clk: sunxi-ng: Add sun5i CCU driver

From: Maxime Ripard <hidden>
Date: 2017-01-21 17:34:47
Also in: linux-clk

Hi,

On Sat, Jan 21, 2017 at 09:34:15AM +0800, Chen-Yu Tsai wrote:
On Fri, Jan 20, 2017 at 3:29 PM, Maxime Ripard
[off-list ref] wrote:
quoted
The Allwinner A10s, A13, R8 and NextThing GR8 are all based on the same
silicon, and all share the same clocks.

However, they're not packaged in the same way, and therefore not all the
controllers are actually available on all these SoCs.

Introduce a clock controller driver for all these SoCs with different
compatibles to take that into account.

Signed-off-by: Maxime Ripard <redacted>
Acked-by: Chen-Yu Tsai <redacted>
Thanks!
quoted
---
 drivers/clk/sunxi-ng/Kconfig          |   10 +-
 drivers/clk/sunxi-ng/Makefile         |    1 +-
 drivers/clk/sunxi-ng/ccu-sun5i.c      | 1008 ++++++++++++++++++++++++++-
 drivers/clk/sunxi-ng/ccu-sun5i.h      |   67 ++-
 include/dt-bindings/clock/sun5i-ccu.h |  103 +++-
 include/dt-bindings/reset/sun5i-ccu.h |   32 +-
I thought having these 2 in a separate patch would be better for
cross tree merges?
Not really. This was needed when we had several drivers using it, but
since we merged all of them, it's not really needed anymore. Having it
split wouldn't make it easier, because both the DT bits and the
drivers bits would depend on it.

We don't have much for the sun5i stuff queued for 4.11, so we can just
have the DT bits merged through the clk tree.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170121/e790e8d0/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