Hello,
I'm currently working on the axp209 driver. The device has multiple warnings like: temperature too high or low, over-voltage, under-voltage etc. What is the recommended way to communicate such warnings to the user-space, besides dmesg, so programs can handle them? Or should I just create my own attribute for each warning and set it to a specific value from the kernel and let user-space applications reset them to acknowledge them? And if there is a recommended way can you name me a driver that is using it?
Thanks for your help!