leds-is31fl319x.txt 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. LEDs connected to is31fl319x LED controller chip
  2. Required properties:
  3. - compatible : Should be any of
  4. "issi,is31fl3190"
  5. "issi,is31fl3191"
  6. "issi,is31fl3193"
  7. "issi,is31fl3196"
  8. "issi,is31fl3199"
  9. "si-en,sn3199".
  10. - #address-cells: Must be 1.
  11. - #size-cells: Must be 0.
  12. - reg: 0x64, 0x65, 0x66, or 0x67.
  13. Optional properties:
  14. - audio-gain-db : audio gain selection for external analog modulation input.
  15. Valid values: 0 - 21, step by 3 (rounded down)
  16. Default: 0
  17. Each led is represented as a sub-node of the issi,is31fl319x device.
  18. There can be less leds subnodes than the chip can support but not more.
  19. Required led sub-node properties:
  20. - reg : number of LED line
  21. Valid values: 1 - number of leds supported by the chip variant.
  22. Optional led sub-node properties:
  23. - label : see Documentation/devicetree/bindings/leds/common.txt.
  24. - linux,default-trigger :
  25. see Documentation/devicetree/bindings/leds/common.txt.
  26. - led-max-microamp : (optional)
  27. Valid values: 5000 - 40000, step by 5000 (rounded down)
  28. Default: 20000 (20 mA)
  29. Note: a driver will take the lowest of all led limits since the
  30. chip has a single global setting. The lowest value will be chosen
  31. due to the PWM specificity, where lower brightness is achieved
  32. by reducing the dury-cycle of pulses and not the current, which
  33. will always have its peak value equal to led-max-microamp.
  34. Examples:
  35. fancy_leds: leds@65 {
  36. compatible = "issi,is31fl3196";
  37. #address-cells = <1>;
  38. #size-cells = <0>;
  39. reg = <0x65>;
  40. red_aux: led@1 {
  41. label = "red:aux";
  42. reg = <1>;
  43. led-max-microamp = <10000>;
  44. };
  45. green_power: led@5 {
  46. label = "green:power";
  47. reg = <5>;
  48. linux,default-trigger = "default-on";
  49. };
  50. };