The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/iio/light/opt3001.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * Texas Instruments OPT3001 Ambient Light Sensor
    2 
    3 The driver supports interrupt-driven and interrupt-less operation, depending
    4 on whether an interrupt property has been populated into the DT. Note that
    5 the optional generation of IIO events on rising/falling light threshold changes
    6 requires the use of interrupts. Without interrupts, only the simple reading
    7 of the current light value is supported through the IIO API.
    8 
    9 https://www.ti.com/product/opt3001
   10 
   11 Required properties:
   12   - compatible: should be "ti,opt3001"
   13   - reg: the I2C address of the sensor
   14 
   15 Optional properties:
   16   - interrupts: interrupt mapping for GPIO IRQ (configure for falling edge)
   17 
   18 Example:
   19 
   20 opt3001@44 {
   21         compatible = "ti,opt3001";
   22         reg = <0x44>;
   23         interrupt-parent = <&gpio1>;
   24         interrupts = <28 IRQ_TYPE_EDGE_FALLING>;
   25 };

Cache object: cd8a64f0cb5079cb99bf773ff2668331


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.