aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi-ng/ccu-sun8i-v3s.h
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2019-07-28 11:12:24 +0800
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-08-12 10:05:48 +0200
commit0ed4c252bf80b35fe768ec6506b2e58986f99687 (patch)
tree8f831412d9c6a5cbd64d582e63f9e5a37adf1e96 /drivers/clk/sunxi-ng/ccu-sun8i-v3s.h
parentclk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks (diff)
downloadlinux-dev-0ed4c252bf80b35fe768ec6506b2e58986f99687.tar.xz
linux-dev-0ed4c252bf80b35fe768ec6506b2e58986f99687.zip
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>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu-sun8i-v3s.h')
-rw-r--r--drivers/clk/sunxi-ng/ccu-sun8i-v3s.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-v3s.h b/drivers/clk/sunxi-ng/ccu-sun8i-v3s.h
index 10af324bd6b1..b0160d305a67 100644
--- a/drivers/clk/sunxi-ng/ccu-sun8i-v3s.h
+++ b/drivers/clk/sunxi-ng/ccu-sun8i-v3s.h
@@ -51,6 +51,6 @@
#define CLK_PLL_DDR1 74
-#define CLK_NUMBER (CLK_PLL_DDR1 + 1)
+#define CLK_NUMBER (CLK_I2S0 + 1)
#endif /* _CCU_SUN8I_H3_H_ */