On Tue, Aug 30, 2016 at 08:35:55PM -0500, Pierre-Louis Bossart wrote:
On 8/30/16 7:37 PM, Stephen Boyd wrote:
It's sad that this can't be compiled on any platform. Has there been any move towards making this into a regmap provider so that this clk driver can use cross platform regmap APIs instead? Or
it's not clear to me what cross-platform goals you are hinting at and what the concern is. We can add more framework stuff and make the code more elegant but at the end of the day we will write in a very limited set of registers (2 for audio - on/off and 19.2/25MHz selection) and the use of this functionality is restricted to Baytrail and Cherrytrail.
If code can be compiled on a wide range of platforms then that means that it's much easier to get build coverage of the code. This is helpful for anyone doing any kind of cross tree updates - things like updating APIs for example. The fewer configurations they have to touch to get everything built the easier it is for them.