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/veml6030.yaml

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 # SPDX-License-Identifier: GPL-2.0+
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/iio/light/veml6030.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: VEML6030 Ambient Light Sensor (ALS)
    8 
    9 maintainers:
   10   - Rishi Gupta <gupt21@gmail.com>
   11 
   12 description: |
   13   Bindings for the ambient light sensor veml6030 from Vishay
   14   Semiconductors over an i2c interface.
   15 
   16   Irrespective of whether interrupt is used or not, application
   17   can get the ALS and White channel reading from IIO raw interface.
   18 
   19   If the interrupts are used, application will receive an IIO event
   20   whenever configured threshold is crossed.
   21 
   22   Specifications about the sensor can be found at:
   23     https://www.vishay.com/docs/84366/veml6030.pdf
   24 
   25 properties:
   26   compatible:
   27     enum:
   28       - vishay,veml6030
   29 
   30   reg:
   31     description:
   32       I2C address of the device.
   33     enum:
   34       - 0x10 # ADDR pin pulled down
   35       - 0x48 # ADDR pin pulled up
   36 
   37   interrupts:
   38     description:
   39       interrupt mapping for IRQ. Configure with IRQ_TYPE_LEVEL_LOW.
   40       Refer to interrupt-controller/interrupts.txt for generic
   41       interrupt client node bindings.
   42     maxItems: 1
   43 
   44 required:
   45   - compatible
   46   - reg
   47 
   48 additionalProperties: false
   49 
   50 examples:
   51   - |
   52     #include <dt-bindings/interrupt-controller/irq.h>
   53 
   54     i2c {
   55         #address-cells = <1>;
   56         #size-cells = <0>;
   57 
   58         light-sensor@10 {
   59                 compatible = "vishay,veml6030";
   60                 reg = <0x10>;
   61                 interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
   62         };
   63     };
   64 ...

Cache object: cb1d3f8ba73f3e6db862f582cba06317


[ 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.