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

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@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" }, { } };

Hi Mark,
On 27/08/2019 23:06, Mark Kettenis wrote:
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.
Indeed I forgot this when syncing with linux DTB, Applying and sending right now, thanks !
Neil
Signed-off-by: Mark Kettenis kettenis@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" }, { }
};
participants (2)
-
Mark Kettenis
-
Neil Armstrong