RFC: Moving pmbus drivers into hwmon subdirectory
Hi all,
since the number of PMBus slave/client drivers keeps getting larger, I have been wondering if I should move them into a separate subdirectory, most likely drivers/hwmon/pmbus/.
Any thoughts/comments about that ?
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 7 lines · Guenter Roeck
Hi all,
since the number of PMBus slave/client drivers keeps getting larger, I have been wondering if I should move them into a separate subdirectory, most likely
drivers/hwmon/pmbus/.Any thoughts/comments about that ?
Seems to be a good idea, yes.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 10 lines · Jean Delvare
Quoted 7 lines · Guenter Roeck
Hi all,
since the number of PMBus slave/client drivers keeps getting larger, I have been wondering if I should move them into a separate subdirectory, most likely
drivers/hwmon/pmbus/.Any thoughts/comments about that ?
Seems to be a good idea, yes.
Thinking some more about this... Does PMBus fit entirely in hwmon, or does it cover additional functions? If it does cover additional functions, then maybe drivers/pmbus would be a better place.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 8 lines · Jean Delvare
Quoted 7 lines · Jean Delvare
Quoted 6 lines · Guenter Roeck
Hi all,
since the number of PMBus slave/client drivers keeps getting larger, I have been wondering if I should move them into a separate subdirectory, most likely
drivers/hwmon/pmbus/.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Any thoughts/comments about that ?
Seems to be a good idea, yes.
Thinking some more about this... Does PMBus fit entirely in hwmon, or does it cover additional functions? If it does cover additional functions, then maybe
drivers/pmbuswould be a better place.
Hi Jean,
The functionality implemented today is pure hwmon functionality and thus belongs entirely into hwmon.
It may at some point be of interest to add regulator functionality. If so, the way to do it would be to move generic (ie chip read/write code) functionality to mfd and implement regulator and hwmon frontends. I would be very hesitant to do that, though. First, I have not seen an actual use case for it, and second it is extremely dangerous to change voltages, and very easy to literally blow up a chip or even an entire board if a chip is programmed with values it does not like (I have blown up several of my test boards ;).
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors