This patch adds device tree binding documentation for
1.5A Step-Up Current Regulator for Flash LEDs.
Signed-off-by: Andrzej Hajda <redacted>
Acked-by: Kyungmin Park <redacted>
Cc: Rob Herring <redacted>
Cc: Pawel Moll <redacted>
Cc: Mark Rutland <redacted>
Cc: Ian Campbell <redacted>
Cc: Kumar Gala <redacted>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
.../devicetree/bindings/leds/leds-aat1290.txt | 22 ++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/leds-aat1290.txt
diff --git a/Documentation/devicetree/bindings/leds/leds-aat1290.txt b/Documentation/devicetree/bindings/leds/leds-aat1290.txt
new file mode 100644
index 0000000..05acb01
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/leds-aat1290.txt
@@ -0,0 +1,22 @@
+* Skyworks Solutions, Inc. AAT1290 Current Regulator for Flash LEDs
+
+Required properties:
+
+- compatible : should be "skyworks,aat1290"
+- gpios: three gpio pins - the first two control FLEN and EN/SET device pins
+ and the third one is used for switching the state of a third-party
+ multiplexer used for re-routing the FLEN and EN/SET pins to the
+ signals outgoing from a camera sensor device.
+- skyworks,flash-timeout - maximum flash timeout - it can be calculated
+ using following formula: T = 8.82s/uF * Ct
+- skyworks,flash-iout - maximum flash current - it can be calculated
+ using following formula: I = 1A * 162 kohm / Rset
+
+Example:
+
+flash_led: flash-led {
+ compatible = "skyworks,aat1290";
+ gpios = <&gpj1 1 0>, <&gpj1 2 0>, <&gpj1 0 0>;
+ skyworks,flash-timeout = <1940>;
+ skyworks,flash-iout = <1000>;
+}--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html