forked from Minki/linux
Fix documentation for adp1653 DT
Property names do not match real names needed by driver itself. This patch fix this problem. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
414ee536df
commit
dc17340e30
@ -12,12 +12,13 @@ There are two LED outputs available - flash and indicator. One LED is
|
|||||||
represented by one child node, nodes need to be named "flash" and "indicator".
|
represented by one child node, nodes need to be named "flash" and "indicator".
|
||||||
|
|
||||||
Required properties of the LED child node:
|
Required properties of the LED child node:
|
||||||
- max-microamp : see Documentation/devicetree/bindings/leds/common.txt
|
- led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
|
||||||
|
|
||||||
Required properties of the flash LED child node:
|
Required properties of the flash LED child node:
|
||||||
|
|
||||||
- flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
|
- flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
|
||||||
- flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
|
- flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt
|
||||||
|
- led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
@ -29,9 +30,9 @@ Example:
|
|||||||
flash {
|
flash {
|
||||||
flash-timeout-us = <500000>;
|
flash-timeout-us = <500000>;
|
||||||
flash-max-microamp = <320000>;
|
flash-max-microamp = <320000>;
|
||||||
max-microamp = <50000>;
|
led-max-microamp = <50000>;
|
||||||
};
|
};
|
||||||
indicator {
|
indicator {
|
||||||
max-microamp = <17500>;
|
led-max-microamp = <17500>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user