From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 In-Reply-To: <20170227155752.b6yshpowa4ioty6a@rob-hp-laptop> References: <1487247824-10005-1-git-send-email-marco.franchi@nxp.com> <20170227155752.b6yshpowa4ioty6a@rob-hp-laptop> From: Fabio Estevam Date: Mon, 27 Feb 2017 13:46:42 -0300 Message-ID: Subject: Re: [PATCH v4 2/2] hwmon: (sht15) Add device tree support To: Rob Herring Cc: Marco Franchi , Guenter Roeck , "devicetree@vger.kernel.org" , linux-hwmon@vger.kernel.org, Marco Antonio Franchi , FoxPeter@kabelbw.de Content-Type: text/plain; charset=UTF-8 List-ID: Hi Rob, On Mon, Feb 27, 2017 at 12:57 PM, Rob Herring wrote: >> +Required properties: >> + >> + - "compatible": must be "sensirion,sht15". >> + - "data-gpios": GPIO connected to the data line. >> + - "clk-gpios": GPIO connected to the clock line. > > Looks like this device is I2C perhaps? Though I'm not sure the waveforms > before and after transactions are compliant. No, the SHT15 datasheet is very clear that the device does not operate in I2C mode: "The sensor cannot be addressed by I2C protocol". From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Subject: Re: [PATCH v4 2/2] hwmon: (sht15) Add device tree support Date: Mon, 27 Feb 2017 13:46:42 -0300 Message-ID: References: <1487247824-10005-1-git-send-email-marco.franchi@nxp.com> <20170227155752.b6yshpowa4ioty6a@rob-hp-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <20170227155752.b6yshpowa4ioty6a@rob-hp-laptop> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rob Herring Cc: Marco Franchi , Guenter Roeck , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-hwmon-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Marco Antonio Franchi , FoxPeter-5t/GDYzpMLSELgA04lAiVw@public.gmane.org List-Id: devicetree@vger.kernel.org Hi Rob, On Mon, Feb 27, 2017 at 12:57 PM, Rob Herring wrote: >> +Required properties: >> + >> + - "compatible": must be "sensirion,sht15". >> + - "data-gpios": GPIO connected to the data line. >> + - "clk-gpios": GPIO connected to the clock line. > > Looks like this device is I2C perhaps? Though I'm not sure the waveforms > before and after transactions are compliant. No, the SHT15 datasheet is very clear that the device does not operate in I2C mode: "The sensor cannot be addressed by I2C protocol". -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html