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

Commit 2b65c92e authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "bindings: Documentation: add documentation for gpio-flash node"

parents 78029698 2aaf4105
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";
        };