On 19/2/19 11:04, Sam Ravnborg wrote: > Hi Ahmad. > > On Tue, Feb 19, 2019 at 08:52:39AM +0100, Ahmad Fatoum wrote: >> As the sama5d3 based microchip-ksz9477-evb board still uses the old >> bindings, the dt-compat.c code is ported as well. This can be removed >> when all in-kernel at91 boards have been ported to the new bindings. > > Thanks. > I see we need this for now. > I hope someone we get around and add support for new clock bindings to sama5d3 soon. > >> >> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> >> --- >> drivers/clk/at91/Makefile | 2 +- >> drivers/clk/at91/dt-compat.c | 961 +++++++++++++++++++++++++++++++++++ >> 2 files changed, 962 insertions(+), 1 deletion(-) >> create mode 100644 drivers/clk/at91/dt-compat.c >> >> diff --git a/drivers/clk/at91/Makefile b/drivers/clk/at91/Makefile >> index ec41c15fa5f4..f8935129101c 100644 >> --- a/drivers/clk/at91/Makefile >> +++ b/drivers/clk/at91/Makefile >> @@ -2,7 +2,7 @@ >> # Makefile for at91 specific clk >> # >> >> -obj-y += pmc.o sckc.o >> +obj-y += pmc.o sckc.o dt-compat.o > To avoid increasing the image size further we could introduce a SOC_SAMA5D3 > and let this .o file depends on this. > ? > > I can fix it while applying if you agree. Agreed. That's a good idea. > > Sam > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox