[U-Boot] [PATCH] clk: meson-g12b: add compatible

Mark Kettenis kettenis at openbsd.org
Tue Aug 27 21:06:28 UTC 2019


The G12B clock controller is almost identical to the G12A and
so far the differences don't matter.  Adding the G12B compatible
makes USB work on the Odroid-N2.

Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
---
 drivers/clk/meson/g12a.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c
index 112326e553..43dac1aa37 100644
--- a/drivers/clk/meson/g12a.c
+++ b/drivers/clk/meson/g12a.c
@@ -405,6 +405,7 @@ static struct clk_ops meson_clk_ops = {
 
 static const struct udevice_id meson_clk_ids[] = {
 	{ .compatible = "amlogic,g12a-clkc" },
+	{ .compatible = "amlogic,g12b-clkc" },
 	{ }
 };
 
-- 
2.22.0



More information about the U-Boot mailing list