forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devicetree: Add new SKY81452 backlight binding
Signed-off-by: Gyungoh Yoo <[email protected]> Acked-by: Bryan Wu <[email protected]> Signed-off-by: Lee Jones <[email protected]>
- Loading branch information
Gyungoh Yoo
authored and
Lee Jones
committed
Mar 12, 2015
1 parent
beedfad
commit 1144d9e
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
Documentation/devicetree/bindings/video/backlight/sky81452-backlight.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
SKY81452-backlight bindings | ||
|
||
Required properties: | ||
- compatible : Must be "skyworks,sky81452-backlight" | ||
|
||
Optional properties: | ||
- name : Name of backlight device. Default is 'lcd-backlight'. | ||
- gpios : GPIO to use to EN pin. | ||
See Documentation/devicetree/bindings/gpio/gpio.txt | ||
- led-sources : List of enabled channels from 0 to 5. | ||
See Documentation/devicetree/bindings/leds/common.txt | ||
- skyworks,ignore-pwm : Ignore both PWM input | ||
- skyworks,dpwm-mode : Enable DPWM dimming mode, otherwise Analog dimming. | ||
- skyworks,phase-shift : Enable phase shift mode | ||
- skyworks,short-detection-threshold-volt | ||
: It should be one of 4, 5, 6 and 7V. | ||
- skyworks,current-limit-mA | ||
: It should be 2300mA or 2750mA. | ||
|
||
Example: | ||
|
||
backlight { | ||
compatible = "skyworks,sky81452-backlight"; | ||
name = "pwm-backlight"; | ||
led-sources = <0 1 2 5>; | ||
skyworks,ignore-pwm; | ||
skyworks,phase-shift; | ||
skyworks,current-limit-mA = <2300>; | ||
}; |