msm-camera-flash.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. * Qualcomm MSM CAMERA FLASH
  2. Required properties:
  3. - cell-index : Should contain flash source index to diffentiate
  4. between different flash devices. These indexes represent flash devices
  5. for multiple sensors.
  6. - 0, 1, 2, 3
  7. - compatible :
  8. - "qcom,camera-led-flash"
  9. - qcom,flash-type : Should contain type flash device
  10. - 1 for LED flash
  11. - 2 for strobe flash
  12. - 3 for simple led flash controlled by one gpio
  13. This is a low cost led used for camera flash, the led is driven by
  14. system power, and use a transistor controlled by external pin to
  15. gate its on/off state.
  16. - qcom,flash-source : Should contain array of phandles to flash source nodes.
  17. - pm8941_flash0 pm8941_flash1
  18. Optional properties:
  19. -qcom,torch-source : Should contain phandle to torch source node.
  20. -pm8941_torch
  21. Example:
  22. qcom,camera-led-flash {
  23. cell-index = <0>;
  24. compatible = "qcom,camera-led-flash";
  25. qcom,flash-type = <1>;
  26. qcom,flash-source = <&pm8941_flash0 &pm8941_flash1>;
  27. qcom,torch-source = <&pm8941_torch>;
  28. };