sky81452-backlight.txt 922 B

1234567891011121314151617181920212223242526272829
  1. SKY81452-backlight bindings
  2. Required properties:
  3. - compatible : Must be "skyworks,sky81452-backlight"
  4. Optional properties:
  5. - name : Name of backlight device. Default is 'lcd-backlight'.
  6. - gpios : GPIO to use to EN pin.
  7. See Documentation/devicetree/bindings/gpio/gpio.txt
  8. - led-sources : List of enabled channels from 0 to 5.
  9. See Documentation/devicetree/bindings/leds/common.txt
  10. - skyworks,ignore-pwm : Ignore both PWM input
  11. - skyworks,dpwm-mode : Enable DPWM dimming mode, otherwise Analog dimming.
  12. - skyworks,phase-shift : Enable phase shift mode
  13. - skyworks,short-detection-threshold-volt
  14. : It should be one of 4, 5, 6 and 7V.
  15. - skyworks,current-limit-mA
  16. : It should be 2300mA or 2750mA.
  17. Example:
  18. backlight {
  19. compatible = "skyworks,sky81452-backlight";
  20. name = "pwm-backlight";
  21. led-sources = <0 1 2 5>;
  22. skyworks,ignore-pwm;
  23. skyworks,phase-shift;
  24. skyworks,current-limit-mA = <2300>;
  25. };