Trips cannot be created on the fly ATM.
What can be done is to create trips that are invalid to start with and
then set their temperature via sysfs. This has been done already for
quite a while AFAICS.
Yes, I remember that.
I would like to avoid introducing more weirdness in the thermal
framework which deserve a clear ABI.
What is missing to create new trip points on the fly ?
A different data structure to store them (essentially, a list instead
of an array).
I doubt it's worth the hassle.
What's wrong with the current approach mentioned above? It will need
to be supported going forward anyway.