Re: [PATCH v2 3/4] hwmon: (ltc2945): add support for sense resistor

2020-11-18 Thread Guenter Roeck
On Wed, Nov 18, 2020 at 04:43:07PM +0200, Alexandru Ardelean wrote: > On Wed, Nov 11, 2020 at 11:08 AM Alexandru Ardelean > wrote: > > > > The sense resistor is a parameter of the board. It should be configured in > > the driver via a device-tree / ACPI property, so that the proper current > > mea

Re: [PATCH v2 3/4] hwmon: (ltc2945): add support for sense resistor

2020-11-18 Thread Alexandru Ardelean
On Wed, Nov 11, 2020 at 11:08 AM Alexandru Ardelean wrote: > > The sense resistor is a parameter of the board. It should be configured in > the driver via a device-tree / ACPI property, so that the proper current > measurements can be done in the driver. > > It shouldn't be necessary that userspac

[PATCH v2 3/4] hwmon: (ltc2945): add support for sense resistor

2020-11-11 Thread Alexandru Ardelean
The sense resistor is a parameter of the board. It should be configured in the driver via a device-tree / ACPI property, so that the proper current measurements can be done in the driver. It shouldn't be necessary that userspace need to know about the value of the resistor. It makes things a bit h