Re: [PATCH v4 2/2] hwmon: (sht15) Add device tree support

2017-02-27 Thread Rob Herring
On Mon, Feb 27, 2017 at 10:46 AM, Fabio Estevam wrote: > 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 t

Re: [PATCH v4 2/2] hwmon: (sht15) Add device tree support

2017-02-27 Thread Fabio Estevam
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

Re: [PATCH v4 2/2] hwmon: (sht15) Add device tree support

2017-02-27 Thread Rob Herring
On Thu, Feb 16, 2017 at 10:23:43AM -0200, Marco Franchi wrote: > Allow the driver to work with device tree support. > > Based on initial patch submission from Peter Fox. > > Tested on a imx7d-sdb board connected to a SHT15 board via Mikro Bus. > > Signed-off-by: Marco Franchi > --- > Changes si

Re: [PATCH v4 2/2] hwmon: (sht15) Add device tree support

2017-02-16 Thread Guenter Roeck
On 02/16/2017 04:23 AM, Marco Franchi wrote: Allow the driver to work with device tree support. Based on initial patch submission from Peter Fox. Tested on a imx7d-sdb board connected to a SHT15 board via Mikro Bus. Signed-off-by: Marco Franchi --- Changes since v3: -Remove the optional prope

Re: [PATCH v4 2/2] hwmon: (sht15) Add device tree support

2017-02-16 Thread Fabio Estevam
On Thu, Feb 16, 2017 at 10:23 AM, Marco Franchi wrote: > Allow the driver to work with device tree support. > > Based on initial patch submission from Peter Fox. > > Tested on a imx7d-sdb board connected to a SHT15 board via Mikro Bus. > > Signed-off-by: Marco Franchi Reviewed-by: Fabio Estevam

[PATCH v4 2/2] hwmon: (sht15) Add device tree support

2017-02-16 Thread Marco Franchi
Allow the driver to work with device tree support. Based on initial patch submission from Peter Fox. Tested on a imx7d-sdb board connected to a SHT15 board via Mikro Bus. Signed-off-by: Marco Franchi --- Changes since v3: -Remove the optional properties because they are not hardware description