Re: [PATCH 00/13] arm64: Allwinner A64 support based on sunxi-ng
From: Jean-Francois Moine <hidden>
Date: 2016-08-01 08:30:48
Also in:
linux-arm-kernel, linux-clk, lkml
From: Jean-Francois Moine <hidden>
Date: 2016-08-01 08:30:48
Also in:
linux-arm-kernel, linux-clk, lkml
On Mon, 1 Aug 2016 02:43:06 +0100 André Przywara [off-list ref] wrote:
As this became quite a long read, here a TL;DR: - We consider using an SCPI based clock system for the A64, alongside allwinner,simple-gates and fixed clocks. We try to avoid any Allwinner specific clocks (apart from the simple-gates). - ARM Trusted Firmware provides the SCPI implementation - for now, later we may move this into a possible arisc firmware. - We upstream some basic DT first, possibly omitting any controversial clock parts at all. Let me know what you think!
Hi André, This looks interesting. As I understand, the clock enable/rate setting functions would be in the arisc. The arisc firmware would be loaded only once in the Soc and would contain the code for handling this specific SoC.
From my calculations, this would save about 1Mb of clock descriptions
in the kernel for a universal Allwinner kernel. But I don't see why you are keeping the simple-gates. The bus gate may be ungated/gated when the clock is enabled/disabled, and that's what Allwinner's software does. -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/ -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html