Message ID | 1474978047-28290-2-git-send-email-andrea.merello@gmail.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
On Tue, Sep 27, 2016 at 02:07:26PM +0200, Andrea Merello wrote: > Signed-off-by: Andrea Merello <andrea.merello@gmail.com> > Cc: Rob Herring <robh+dt@kernel.org> > Cc: Mark Rutland <mark.rutland@arm.com> > --- > Documentation/devicetree/bindings/hwmon/stts751.txt | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/stts751.txt > > diff --git a/Documentation/devicetree/bindings/hwmon/stts751.txt b/Documentation/devicetree/bindings/hwmon/stts751.txt > new file mode 100644 > index 0000000..277ad46 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/stts751.txt > @@ -0,0 +1,19 @@ > +* STTS751 thermometer. > + > +Required node properties: > +- compatible: "stts751" > +- reg: I2C bus address of the device > + > +Optional properties: > +- has-therm: specifies that the "therm" pin is wired > +- has-event: specifies that the "event" pin is wired As mentioned in the code patch, I don't think those properties are actually needed. Guenter > +- smbus-timeout-disable: when set, the smbus timeout function will be disabled > + > +Example stts751 node: > + > +temp-sensor { > + compatible = "stts751"; > + reg = <0x48>; > + has-therm; > + has-event; > +} > -- > 2.7.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/hwmon/stts751.txt b/Documentation/devicetree/bindings/hwmon/stts751.txt new file mode 100644 index 0000000..277ad46 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/stts751.txt @@ -0,0 +1,19 @@ +* STTS751 thermometer. + +Required node properties: +- compatible: "stts751" +- reg: I2C bus address of the device + +Optional properties: +- has-therm: specifies that the "therm" pin is wired +- has-event: specifies that the "event" pin is wired +- smbus-timeout-disable: when set, the smbus timeout function will be disabled + +Example stts751 node: + +temp-sensor { + compatible = "stts751"; + reg = <0x48>; + has-therm; + has-event; +}
Signed-off-by: Andrea Merello <andrea.merello@gmail.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> --- Documentation/devicetree/bindings/hwmon/stts751.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/stts751.txt