[PATCH v4] hwmon: add support for Sensirion SHTC1 sensor

2014-06-05 Thread Tomas Pop
From: Tomas Pop Add support for Sensirion SHTC1 and compatible temperature and humidity sensors. Signed-off-by: Tomas Pop --- This is a fourth version of the driver, we inlcuded suggested corrections, i.e., hwmon_dev field is removed from shtc1 structure, correct variable is tested in probe

[PATCH v4] hwmon: add support for Sensirion SHTC1 sensor

2014-06-05 Thread Tomas Pop
From: Tomas Pop tomas@sensirion.com Add support for Sensirion SHTC1 and compatible temperature and humidity sensors. Signed-off-by: Tomas Pop tomas@sensirion.com --- This is a fourth version of the driver, we inlcuded suggested corrections, i.e., hwmon_dev field is removed from shtc1

[PATCH v3] hwmon: add support for Sensirion SHTC1 sensor

2014-06-02 Thread Tomas Pop
to documentation * driver uses new ABI to obtain shtc1_data* and i2c_client* The patch was generated against kernel v3.14.4 (the version used for testing), but the patch can be applied smoothly also to v3.15-rc8. Signed-off-by: Tomas Pop --- Documentation/hwmon/shtc1 | 44

[PATCH v3] hwmon: add support for Sensirion SHTC1 sensor

2014-06-02 Thread Tomas Pop
to documentation * driver uses new ABI to obtain shtc1_data* and i2c_client* The patch was generated against kernel v3.14.4 (the version used for testing), but the patch can be applied smoothly also to v3.15-rc8. Signed-off-by: Tomas Pop tomas@sensirion.com --- Documentation/hwmon/shtc1

Re: [RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-07 Thread Tomas Pop
On Die, 2014-05-06 at 19:47 -0700, Guenter Roeck wrote: > Great. Unfortunately those chips are so small that they don't fit on > my test boards, or I would have ordered some myself. I am looking forward > to see those boards available for order somewhere ... hopefully at a lower > price point than

Re: [RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-07 Thread Tomas Pop
On Die, 2014-05-06 at 19:47 -0700, Guenter Roeck wrote: Great. Unfortunately those chips are so small that they don't fit on my test boards, or I would have ordered some myself. I am looking forward to see those boards available for order somewhere ... hopefully at a lower price point than

Re: [RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-06 Thread Tomas Pop
version 3.4 :-) I will send in few days a tested version.. Thanks, Tomas On Mon, 2014-05-05 at 20:15 -0700, Guenter Roeck wrote: > On 05/05/2014 07:01 PM, Tomas Pop wrote: > > Hi Guenter, > > > > Thanks a lot for comments and patience - with the testing you are right,

Re: [RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-06 Thread Tomas Pop
version 3.4 :-) I will send in few days a tested version.. Thanks, Tomas On Mon, 2014-05-05 at 20:15 -0700, Guenter Roeck wrote: On 05/05/2014 07:01 PM, Tomas Pop wrote: Hi Guenter, Thanks a lot for comments and patience - with the testing you are right, I'm still waiting for board

Re: [RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-05 Thread Tomas Pop
mas, > > On 05/05/2014 06:03 PM, Tomas Pop wrote: > > Hi Guenter, > > > > Here is a corrected version, I tried to address your comments and I'm > > sending it > > again with a kind request for comments - we will do some more extensive > > testing > > be

Re: [RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-05 Thread Tomas Pop
, Tomas Signed-off-by: Tomas Pop --- Documentation/hwmon/shtc1 | 41 ++ drivers/hwmon/Kconfig | 10 ++ drivers/hwmon/Makefile | 1 + drivers/hwmon/shtc1.c | 266 include/linux/platform_data/shtc1.h | 24

Re: [RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-05 Thread Tomas Pop
, Tomas Signed-off-by: Tomas Pop tomas@sensirion.com --- Documentation/hwmon/shtc1 | 41 ++ drivers/hwmon/Kconfig | 10 ++ drivers/hwmon/Makefile | 1 + drivers/hwmon/shtc1.c | 266 include/linux

Re: [RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-05 Thread Tomas Pop
/05/2014 06:03 PM, Tomas Pop wrote: Hi Guenter, Here is a corrected version, I tried to address your comments and I'm sending it again with a kind request for comments - we will do some more extensive testing before the final submission, but I would like to make the code as complete

Re: [RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-02 Thread Tomas Pop
Hi Guenter, thanks for comments! I will include them in third version, but I have still few questions... On Don, 2014-05-01 at 19:06 -0700, Guenter Roeck wrote: > On 05/01/2014 04:05 PM, Tomas Pop wrote: > > One more time this patch sent with correct settings of my email client > &

Re: [RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-02 Thread Tomas Pop
Hi Guenter, thanks for comments! I will include them in third version, but I have still few questions... On Don, 2014-05-01 at 19:06 -0700, Guenter Roeck wrote: On 05/01/2014 04:05 PM, Tomas Pop wrote: One more time this patch sent with correct settings of my email client - I'm sorry

[RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-01 Thread Tomas Pop
* using boolean variables instead of bitmaps where possible * macros be16_to_cpup used for conversion of indianneess * corrected formula for decoding of humidity and temperature values * documentation update Patch was generated against kernel v3.15-rc3 Signed-off-by: Tomas Pop --- Documentation

[RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-01 Thread Tomas Pop
for conversion of indianneess * corrected formula for decoding of humidity and temperature values * documentation update Patch was generated against kernel v3.15-rc3 Signed-off-by: Tomas Pop --- Documentation/hwmon/shtc1 | 38 + drivers/hwmon/Kconfig | 10 ++ drivers/hwmon

[RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-01 Thread Tomas Pop
for conversion of indianneess * corrected formula for decoding of humidity and temperature values * documentation update Patch was generated against kernel v3.15-rc3 Signed-off-by: Tomas Pop tomas@sensirion.com --- Documentation/hwmon/shtc1 | 38 + drivers/hwmon/Kconfig | 10

[RFC][PATCH v2] hwmon: add support for Sensirion SHTC1 sensor

2014-05-01 Thread Tomas Pop
* using boolean variables instead of bitmaps where possible * macros be16_to_cpup used for conversion of indianneess * corrected formula for decoding of humidity and temperature values * documentation update Patch was generated against kernel v3.15-rc3 Signed-off-by: Tomas Pop tomas@sensirion.com