Mark,
On Fri, 26 Feb 2016 21:12:20 +0900, Mark Brown wrote:
Another solution would be to provide an implementation of atomic_io_modify() on arm64, though that would need the ACK from the ARM64 maintainers.
It also sounds like a more modern solution might be to use syscon for the shared register, but perhaps I'm missing something about how the IP is set up so ICBW.
I think back when we implemented this, syscon/simple-mfd was not available or widely used - I don't really remember. We could indeed try to switch to a syscon based solution.
Thanks,
Thomas