From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965337AbcALMuT (ORCPT ); Tue, 12 Jan 2016 07:50:19 -0500 Received: from smtp-1b.atlantis.sk ([80.94.52.26]:55321 "EHLO smtp-1b.atlantis.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934890AbcALMuR (ORCPT ); Tue, 12 Jan 2016 07:50:17 -0500 From: Ondrej Zary To: Daniel Baluta Subject: Re: [PATCH] iio: Add TH06 Humidity and Temperature sensor driver Date: Tue, 12 Jan 2016 13:50:10 +0100 User-Agent: KMail/1.9.10 (enterprise35 0.20100827.1168748) Cc: "Peter Meerwald-Stadler" , Cristina Moraru , Jonathan Cameron , Hartmut Knaack , "Lars-Peter Clausen" , Ludovic Tancerel , Matt Ranostaj , Linux Kernel Mailing List , "linux-iio@vger.kernel.org" , "octavian.purdila@intel.com" References: <1452553042-4495-1-git-send-email-cristina.moraru09@gmail.com> In-Reply-To: X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201601121350.11076.linux@rainbow-software.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 12 January 2016, Daniel Baluta wrote: > On Tue, Jan 12, 2016 at 1:07 PM, Peter Meerwald-Stadler > > wrote: > >> Add implementation for Hoperf TH06 Humidity and Temperature > >> sensor driver. > >> > >> Datasheet: http://www.hoperf.com/upload/sensor/TH06_Module_v01.pdf > > > > I think it would be good to make to manufacturer's company name (Hoperf) > > more visible in the driver; it is currently just mentioned in the commit > > message; just 'TH06' is hard to google :) > > > > maybe you could list the TODOs / unsupported features here... > > > > the I2C register layout looks close to the si7020, maybe the chip can be > > supported there without duplicating code? > > Yes, they look pretty similar. We can give it a try to add the support > for TH06 into > already existing code for si7020. > > There will be some fun with Kconfig part :). Any idea if Hoperf and > Silabs are related > companies :D. Looks like TH06 is just a module with Si7020 chip. Try the "Read Electronic ID" and "Read Firmware Revision" commands from Si7020 datasheet. -- Ondrej Zary