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/media/i2c/adp1653.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 * Analog Devices ADP1653 flash LED driver
    2 
    3 Required Properties:
    4 
    5   - compatible: Must contain "adi,adp1653"
    6 
    7   - reg: I2C slave address
    8 
    9   - enable-gpios: Specifier of the GPIO connected to EN pin
   10 
   11 There are two LED outputs available - flash and indicator. One LED is
   12 represented by one child node, nodes need to be named "flash" and "indicator".
   13 
   14 Required properties of the LED child node:
   15 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
   16 
   17 Required properties of the flash LED child node:
   18 
   19 - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
   20 - flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
   21 - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
   22 
   23 Example:
   24 
   25         adp1653: led-controller@30 {
   26                 compatible = "adi,adp1653";
   27                 reg = <0x30>;
   28                 enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; /* 88 */
   29 
   30                 flash {
   31                         flash-timeout-us = <500000>;
   32                         flash-max-microamp = <320000>;
   33                         led-max-microamp = <50000>;
   34                 };
   35                 indicator {
   36                         led-max-microamp = <17500>;
   37                 };
   38         };

Cache object: 8a5338b34163ef72ef97c91c8406e839


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