diff options
author | Icenowy Zheng <icenowy@aosc.io> | 2019-07-28 06:12:24 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-08-12 11:05:48 +0300 |
commit | 0ed4c252bf80b35fe768ec6506b2e58986f99687 (patch) | |
tree | 8f831412d9c6a5cbd64d582e63f9e5a37adf1e96 /drivers/clk/sunxi-ng/ccu-sun8i-v3s.h | |
parent | 720099603d1f62e37b789366d7e89824b009ca28 (diff) | |
download | linux-0ed4c252bf80b35fe768ec6506b2e58986f99687.tar.xz |
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.h | 2 |
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_ */ |