summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2020-10-26 22:18:02 +0800
committerAndre Przywara <andre.przywara@arm.com>2020-11-17 00:42:21 +0000
commit6ffdc43cc5e6070edf91bac653cc8a0449dbe545 (patch)
treee20dbe7efbfa90caa1c376a4f022aaff5545e24c /drivers/clk
parent889116bde65b22f7c31aea5e29bcad64ac218b42 (diff)
downloadu-boot-6ffdc43cc5e6070edf91bac653cc8a0449dbe545.tar.gz
u-boot-6ffdc43cc5e6070edf91bac653cc8a0449dbe545.tar.xz
u-boot-6ffdc43cc5e6070edf91bac653cc8a0449dbe545.zip
clk: sunxi: add compatible string for V3
A new compatible string is introduced for V3 CCU, because it has a few extra features available. Add the compatible string to the clock driver. As the extra features are not touched, just share the description struct now. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/sunxi/clk_v3s.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/sunxi/clk_v3s.c b/drivers/clk/sunxi/clk_v3s.c
index b79446cc4f..f3fc06ab31 100644
--- a/drivers/clk/sunxi/clk_v3s.c
+++ b/drivers/clk/sunxi/clk_v3s.c
@@ -56,6 +56,8 @@ static int v3s_clk_bind(struct udevice *dev)
static const struct udevice_id v3s_clk_ids[] = {
{ .compatible = "allwinner,sun8i-v3s-ccu",
.data = (ulong)&v3s_ccu_desc },
+ { .compatible = "allwinner,sun8i-v3-ccu",
+ .data = (ulong)&v3s_ccu_desc },
{ }
};