On 05/22/2015 10:24 AM, Arnd Bergmann wrote:
That will break the ACPI case, but ACPI could use platform_data to pass the clock rate into the driver, to make it independent of low-level APIs.
The clock rate isn't the only problem. You still need to current clock timestamp, and that's ARM-specific.