Benjamin Herrenschmidt wrote:
I suspect we should probably just expose the PMU i2c bus to userland some way and have a userland tool to deal with that, I'm not too fan of doing a kernel driver... I also have not much time.
We _already_ expose it to userland, via the generic PMU interface. And *please* don't add an easier-to-use userland interface to the PMU IIC bus; it's too easy to lock it up / cause other bad interactions, so if userland needs any more, a proper driver should be written. We have enough rope already :-) The same applies to the KL and the UNI-N IIC busses. Segher