Re: [PATCH 2/2] hwmon: (ntc_thermistor): add support for B57891S0103 from Epcos

2018-11-20 Thread Peter Rosin
On 2018-11-19 22:28, Guenter Roeck wrote: > On Mon, Nov 19, 2018 at 09:16:12PM +, Peter Rosin wrote: >>> >>> Guess I deserve the non-alphabetic order as penalty for not enforcing it >>> earlier. I'll accept the patch after DT approval and submit another one >>> myself afterwards to restore

[RFC][PATCH] hwmon: (ina2xx) Improve current and power reading precision

2018-11-20 Thread Nicolin Chen
=== Background === The ina2xx chip has a CALIBRATION register that's used to configure calibration value to get the scale of current and power measurement results from their registers. It basically follows two equations: 1) CAL = calibration factor / (current_lsb_A * rshunt_Ohm) [ calibration

[PATCH hwmon-next v1 1/1] hwmon: (mlxreg-fan) Modify macros for tachometer fault status reading

2018-11-20 Thread Vadim Pasternak
Modify macros for tachometer fault status reading for making it more simple and clear. Signed-off-by: Vadim Pasternak --- drivers/hwmon/mlxreg-fan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/mlxreg-fan.c b/drivers/hwmon/mlxreg-fan.c index d8fa4be..db8c6de

Re: [PATCH hwmon-next v1 1/1] hwmon: (mlxreg-fan) Fix macros for tacho fault reading

2018-11-20 Thread Guenter Roeck
On Tue, Nov 20, 2018 at 02:46:05PM +, Vadim Pasternak wrote: > > > > -Original Message- > > From: Guenter Roeck On Behalf Of Guenter Roeck > > Sent: Monday, November 19, 2018 6:15 PM > > To: Vadim Pasternak > > Cc: linux-hwmon@vger.kernel.org; Michael Shych > > Subject: Re: [PATCH

RE: [PATCH hwmon-next v1 1/1] hwmon: (mlxreg-fan) Fix macros for tacho fault reading

2018-11-20 Thread Vadim Pasternak
> -Original Message- > From: Guenter Roeck On Behalf Of Guenter Roeck > Sent: Monday, November 19, 2018 6:15 PM > To: Vadim Pasternak > Cc: linux-hwmon@vger.kernel.org; Michael Shych > Subject: Re: [PATCH hwmon-next v1 1/1] hwmon: (mlxreg-fan) Fix macros for > tacho fault reading >