diff options
author | Icenowy Zheng | 2017-03-02 04:13:39 +0800 |
---|---|---|
committer | Maxime Ripard | 2017-03-06 10:25:56 +0100 |
commit | 9be1c8afb4926aee043d48493c0474c0eea56540 (patch) | |
tree | fdad2e5551a7797318b50937b2ee3c0f5be62677 /drivers/clk/sunxi-ng/ccu-sun8i-h3.h | |
parent | 845d6b0ff92d2c8151892c81f2050b873d7a7ef7 (diff) |
clk: sunxi-ng: add Allwinner H5 CCU support for H3 CCU driver
Allwinner H5 is a SoC that features a design which keeps the peripheral
compatible with H3, so that it have also a CCU like the one on H3 --
only one bus gate/reset is added, and the mmc sample/output phases are
removed because of MMC controller update.
Add its support in our existing H3 CCU driver.
Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk/sunxi-ng/ccu-sun8i-h3.h')
-rw-r--r-- | drivers/clk/sunxi-ng/ccu-sun8i-h3.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-h3.h b/drivers/clk/sunxi-ng/ccu-sun8i-h3.h index 78be712c7487..85973d1e8165 100644 --- a/drivers/clk/sunxi-ng/ccu-sun8i-h3.h +++ b/drivers/clk/sunxi-ng/ccu-sun8i-h3.h @@ -57,6 +57,7 @@ /* And the GPU module clock is exported */ -#define CLK_NUMBER (CLK_GPU + 1) +#define CLK_NUMBER_H3 (CLK_GPU + 1) +#define CLK_NUMBER_H5 (CLK_BUS_SCR1 + 1) #endif /* _CCU_SUN8I_H3_H_ */ |