Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2aaf4105 authored by Darshan Kumsi Srinivasa's avatar Darshan Kumsi Srinivasa
Browse files

bindings: Documentation: add documentation for gpio-flash node

Added documentation for gpio based flash device node which is used
to enable flash and torch on qm215.

Change-Id: I5d4325aeebda391070a7d876df4b8c71c9486901
parent 8cc3d017
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -130,3 +130,20 @@ led_flash_rear: qcom,camera-flash@0 {
		qcom,max-current = <1500>;
		qcom,max-duration = <1200>;
	};

Example:

flash0: qcom,camera-flash {
                cell-index = <0>;
                compatible = "qcom,qm215-gpio-flash";
                qcom,flash-type = <2>;
                gpios = <&tlmm 34 0>;
                        <&tlmm 33 0>;
                qcom,gpio-req-tbl-num = <0 1>;
                qcom,gpio-req-tbl-flags = <1 0>;
                qcom,gpio-flash-en = <0>;
                qcom,gpio-flash-now = <1>;
                qcom,gpio-req-tbl-label = "CAM_FLASH",
                        "CAM_TORCH";
                status = "ok";
        };