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/leds/backlight/lp855x.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 lp855x bindings
    2 
    3 Required properties:
    4   - compatible: "ti,lp8550", "ti,lp8551", "ti,lp8552", "ti,lp8553",
    5                 "ti,lp8555", "ti,lp8556", "ti,lp8557"
    6   - reg: I2C slave address (u8)
    7   - dev-ctrl: Value of DEVICE CONTROL register (u8). It depends on the device.
    8 
    9 Optional properties:
   10   - bl-name: Backlight device name (string)
   11   - init-brt: Initial value of backlight brightness (u8)
   12   - pwm-period: PWM period value. Set only PWM input mode used (u32)
   13   - rom-addr: Register address of ROM area to be updated (u8)
   14   - rom-val: Register value to be updated (u8)
   15   - power-supply: Regulator which controls the 3V rail
   16   - enable-supply: Regulator which controls the EN/VDDIO input
   17 
   18 Example:
   19 
   20         /* LP8555 */
   21         backlight@2c {
   22                 compatible = "ti,lp8555";
   23                 reg = <0x2c>;
   24 
   25                 dev-ctrl = /bits/ 8 <0x00>;
   26                 pwm-period = <10000>;
   27 
   28                 /* 4V OV, 4 output LED0 string enabled */
   29                 rom_14h {
   30                         rom-addr = /bits/ 8 <0x14>;
   31                         rom-val = /bits/ 8 <0xcf>;
   32                 };
   33 
   34                 /* Heavy smoothing, 24ms ramp time step */
   35                 rom_15h {
   36                         rom-addr = /bits/ 8 <0x15>;
   37                         rom-val = /bits/ 8 <0xc7>;
   38                 };
   39 
   40                 /* 4 output LED1 string enabled */
   41                 rom_19h {
   42                         rom-addr = /bits/ 8 <0x19>;
   43                         rom-val = /bits/ 8 <0x0f>;
   44                 };
   45         };
   46 
   47         /* LP8556 */
   48         backlight@2c {
   49                 compatible = "ti,lp8556";
   50                 reg = <0x2c>;
   51 
   52                 bl-name = "lcd-bl";
   53                 dev-ctrl = /bits/ 8 <0x85>;
   54                 init-brt = /bits/ 8 <0x10>;
   55         };
   56 
   57         /* LP8557 */
   58         backlight@2c {
   59                 compatible = "ti,lp8557";
   60                 reg = <0x2c>;
   61                 enable-supply = <&backlight_vddio>;
   62                 power-supply = <&backlight_vdd>;
   63 
   64                 dev-ctrl = /bits/ 8 <0x41>;
   65                 init-brt = /bits/ 8 <0x0a>;
   66 
   67                 /* 4V OV, 4 output LED string enabled */
   68                 rom_14h {
   69                         rom-addr = /bits/ 8 <0x14>;
   70                         rom-val = /bits/ 8 <0xcf>;
   71                 };
   72         };

Cache object: d8c6962a93b72bdef749b99e94b775c1


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