On Fri, Jan 29, 2016 at 01:03:00PM -0600, Andreas Dannenberg wrote: > Signed-off-by: Andreas Dannenberg <dannenberg@xxxxxx> > --- > .../devicetree/bindings/iio/light/opt3001.txt | 26 ++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/light/opt3001.txt > > diff --git a/Documentation/devicetree/bindings/iio/light/opt3001.txt b/Documentation/devicetree/bindings/iio/light/opt3001.txt > new file mode 100644 > index 0000000..55b9cb3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/light/opt3001.txt > @@ -0,0 +1,26 @@ > +* Texas Instruments OPT3001 Ambient Light Sensor > + > +The driver supports interrupt-driven and interrupt-less operation, depending > +on whether an interrupt property has been populated into the DT. Note that > +the optional generation of IIO events on rising/falling light threshold changes > +requires the use of interrupts. Without interrupts, only the simple reading > +of the current light value is supported through the IIO API. Seems like you could poll and do the threshold changes in s/w. Anyway, that's all irrelevant to the DT binding. Acked-by: Rob Herring <robh@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html