OSDN Git Service

clk: sunxi-ng: v3s: add Allwinner V3 support
authorIcenowy Zheng <icenowy@aosc.io>
Sun, 28 Jul 2019 03:12:24 +0000 (11:12 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 12 Aug 2019 08:05:48 +0000 (10:05 +0200)
commit0ed4c252bf80b35fe768ec6506b2e58986f99687
tree8f831412d9c6a5cbd64d582e63f9e5a37adf1e96
parent720099603d1f62e37b789366d7e89824b009ca28
clk: sunxi-ng: v3s: add Allwinner V3 support

Allwinner V3 has the same main die with V3s, but with more pins wired.
There's a I2S bus on V3 that is not available on V3s.

Add the V3-only peripheral's clocks and reset to the V3s CCU driver,
bound to a new V3 compatible string. The driver name is not changed
because it's part of the device tree binding (the header file name).

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/clk/sunxi-ng/ccu-sun8i-v3s.c
drivers/clk/sunxi-ng/ccu-sun8i-v3s.h
include/dt-bindings/clock/sun8i-v3s-ccu.h
include/dt-bindings/reset/sun8i-v3s-ccu.h