Skip to content
Snippets Groups Projects
Commit aa01d255 authored by Dan Murphy's avatar Dan Murphy Committed by Jacek Anaszewski
Browse files

dt: lm3532: Add property for full scale current.


Add a property for each control bank to configure the
full scale current setting for the device.

Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
parent 6559ac32
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,9 @@ Optional LED child properties: ...@@ -62,6 +62,9 @@ Optional LED child properties:
- label : see Documentation/devicetree/bindings/leds/common.txt - label : see Documentation/devicetree/bindings/leds/common.txt
- linux,default-trigger : - linux,default-trigger :
see Documentation/devicetree/bindings/leds/common.txt see Documentation/devicetree/bindings/leds/common.txt
- led-max-microamp : Defines the full scale current value for each control
bank. The range is from 5000uA-29800uA in increments
of 800uA.
Example: Example:
led-controller@38 { led-controller@38 {
...@@ -85,6 +88,7 @@ led-controller@38 { ...@@ -85,6 +88,7 @@ led-controller@38 {
reg = <0>; reg = <0>;
led-sources = <2>; led-sources = <2>;
ti,led-mode = <1>; ti,led-mode = <1>;
led-max-microamp = <21800>;
label = ":backlight"; label = ":backlight";
linux,default-trigger = "backlight"; linux,default-trigger = "backlight";
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment