[PATCH 08/12] clk: sunxi: Add missing clock compatible

Maxime Ripard maxime at cerno.tech
Fri Jun 25 15:05:43 CEST 2021


The NextThingCo GR8 is a derivative of the sun5i family, and thus should
be considered similar to the A10s and A13 as far as clocks go.

The compatible was missing from the clock driver so far, leading to all
the drivers depending on it being non-functional.

Signed-off-by: Maxime Ripard <maxime at cerno.tech>
---
 drivers/clk/sunxi/clk_a10s.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clk/sunxi/clk_a10s.c b/drivers/clk/sunxi/clk_a10s.c
index 184f61ab234c..99d8a8ab1b2e 100644
--- a/drivers/clk/sunxi/clk_a10s.c
+++ b/drivers/clk/sunxi/clk_a10s.c
@@ -59,6 +59,8 @@ static const struct udevice_id a10s_ccu_ids[] = {
 	  .data = (ulong)&a10s_ccu_desc },
 	{ .compatible = "allwinner,sun5i-a13-ccu",
 	  .data = (ulong)&a10s_ccu_desc },
+	{ .compatible = "nextthing,gr8-ccu",
+	  .data = (ulong)&a10s_ccu_desc },
 	{ }
 };
 
-- 
2.31.1



More information about the U-Boot mailing list