Re: [PATCH 04/10] i2c: i2c-mux-i2cs: Add device tree bindings

2016-10-10 Thread Peter Rosin
On 2016-10-07 17:21, Pantelis Antoniou wrote: > From: Georgi Vlaev > > Add binding document for the i2c mux driver of Juniper's I2CS FPGA. > > Signed-off-by: Georgi Vlaev > [Ported from Juniper kernel] > Signed-off-by: Pantelis Antoniou

[PATCH v2 2/2] ARM: dts: at91: disable the nxp,se97b SMBUS timeout on the TSE-850

2017-11-27 Thread Peter Rosin
The I2C adapter driver is sometimes slow, causing the SCL line to be stuck low for more than the stipulated SMBUS timeout of 25-35 ms. This causes the client device to give up which in turn causes silent corruption of data. So, disable the SMBUS timeout in the client device. Signed-off-by: Peter

[PATCH v2 1/2] hwmon: (jc42) optionally try to disable the SMBUS timeout

2017-11-27 Thread Peter Rosin
to the nxp chips either, at least the atmel chips have the same mechanism. Therefore, do not special case this on the manufacturer, it is opt-in via the device property anyway. Signed-off-by: Peter Rosin <p...@axentia.se> --- Documentation/devicetree/bindings/hwmon/jc42.txt | 4 drivers/hwmo

[PATCH v2 0/2] Sluggish AT91 I2C driver causes SMBus timeouts

2017-11-27 Thread Peter Rosin
s since v1:https://lkml.org/lkml/2017/10/13/184 - Added #include of bitops.h - Rebased to v4.15-rc1 Cheers, Peter Peter Rosin (2): hwmon: (jc42) optionally try to disable the SMBUS timeout ARM: dts: at91: disable the nxp,se97b SMBUS timeout on the TSE-850 Documentation/devicetree/bind

Re: [PATCH v2 2/2] ARM: dts: at91: disable the nxp,se97b SMBUS timeout on the TSE-850

2017-11-30 Thread Peter Rosin
On 2017-11-30 18:26, Alexandre Belloni wrote: > On 30/11/2017 at 09:16:38 -0800, Guenter Roeck wrote: >> On Wed, Nov 29, 2017 at 09:56:29PM +0100, Alexandre Belloni wrote: >>> On 29/11/2017 at 12:53:11 -0800, Guenter Roeck wrote: >>>> On Mon, Nov 27, 2017 at 05:31

Re: [PATCH 1/2] hwmon: (jc42) optionally try to disable the SMBUS timeout

2017-10-26 Thread Peter Rosin
On 2017-10-18 04:38, Guenter Roeck wrote: > On 10/17/2017 03:16 PM, Rob Herring wrote: >> On Fri, Oct 13, 2017 at 01:35:27PM -0700, Guenter Roeck wrote: >>> On Fri, Oct 13, 2017 at 04:26:57PM +0200, Peter Rosin wrote: >>>> On 2017-10-13 15:50, Guenter Roeck wrote

[PATCH 1/2] dt-bindings: hwmon: add B57891S0103 thermistor from Epcos

2018-11-17 Thread Peter Rosin
These are Negative Temperature Coefficient thermistors, like the others in the list. Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt b

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

2018-11-17 Thread Peter Rosin
More of the same... Signed-off-by: Peter Rosin --- drivers/hwmon/Kconfig| 3 +- drivers/hwmon/ntc_thermistor.c | 57 +++- include/linux/platform_data/ntc_thermistor.h | 1 + 3 files changed, 58 insertions(+), 3 deletions(-) diff

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

2018-11-19 Thread Peter Rosin
On 2018-11-19 18:07, Guenter Roeck wrote: > On Sat, Nov 17, 2018 at 12:13:00PM +0000, Peter Rosin wrote: >> More of the same... >> >> Signed-off-by: Peter Rosin >> --- >> drivers/hwmon/Kconfig| 3 +- >> drivers/hw

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 +0000, 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 &g

[PATCH 1/2] hwmon: (ntc_thermistor) sort thermistor id lists alphabetically

2018-11-21 Thread Peter Rosin
Use an enum to index the array, so that it is possible to add sorted entries without causing churn. Signed-off-by: Peter Rosin --- drivers/hwmon/ntc_thermistor.c | 82 +- 1 file changed, 49 insertions(+), 33 deletions(-) diff --git a/drivers/hwmon

[PATCH 0/2] hwmon: (ntc_thermistor) sort thermistors

2018-11-21 Thread Peter Rosin
stor.c:323: +#define NTC_TYPE(ntc, compensation) \ +[(ntc)] = { .comp = (compensation), .n_comp = ARRAY_SIZE(compensation) } Peter Rosin (2): hwmon: (ntc_thermistor) sort thermistor id lists alphabetically hwmon: (ntc_thermistor) use a table to lookup the thermistor type drivers/hwmon/ntc_th

[PATCH 2/2] hwmon: (ntc_thermistor) use a table to lookup the thermistor type

2018-11-21 Thread Peter Rosin
Sort the entries while at it. Signed-off-by: Peter Rosin --- drivers/hwmon/ntc_thermistor.c | 47 +--- include/linux/platform_data/ntc_thermistor.h | 6 ++-- 2 files changed, 24 insertions(+), 29 deletions(-) diff --git a/drivers/hwmon/ntc_thermistor.c b