ARM: dts: msm: Add flash nodes to camera on msmcobalt

Add support for camera flash operation.
Add status property for csiphy, csid camera nodes.

CRs-Fixed: 1021009
Change-Id: Ifa62e4e4662d72904411ff4dda10a29a76962851
Signed-off-by: Viswanadha Raju Thotakura <viswanad@codeaurora.org>
This commit is contained in:
Viswanadha Raju Thotakura 2016-05-25 14:38:37 -07:00 committed by Kyle Yan
parent 8c8a1a12e8
commit 71a1b15ffd
3 changed files with 47 additions and 0 deletions

View file

@ -11,6 +11,24 @@
* GNU General Public License for more details.
*/
&soc {
led_flash0: qcom,camera-flash@0 {
cell-index = <0>;
compatible = "qcom,camera-flash";
qcom,flash-source = <&pmicobalt_flash0 &pmicobalt_flash1>;
qcom,switch-source = <&pmicobalt_switch>;
status = "ok";
};
led_flash1: qcom,camera-flash@1 {
cell-index = <1>;
compatible = "qcom,camera-flash";
qcom,flash-source = <&pmicobalt_flash2>;
qcom,switch-source = <&pmicobalt_switch>;
status = "ok";
};
};
&cci {
actuator0: qcom,actuator@0 {
cell-index = <0>;
@ -181,6 +199,7 @@
qcom,csiphy-sd-index = <0>;
qcom,csid-sd-index = <0>;
qcom,mount-angle = <90>;
qcom,led-flash-src = <&led_flash0>;
qcom,actuator-src = <&actuator0>;
qcom,ois-src = <&ois0>;
qcom,eeprom-src = <&eeprom0>;
@ -269,6 +288,7 @@
qcom,csid-sd-index = <2>;
qcom,mount-angle = <90>;
qcom,eeprom-src = <&eeprom2>;
qcom,led-flash-src = <&led_flash1>;
qcom,actuator-src = <&actuator1>;
cam_vio-supply = <&pmcobalt_lvs1>;
cam_vana-supply = <&pmcobalt_l22>;

View file

@ -11,6 +11,24 @@
* GNU General Public License for more details.
*/
&soc {
led_flash0: qcom,camera-flash@0 {
cell-index = <0>;
compatible = "qcom,camera-flash";
qcom,flash-source = <&pmicobalt_flash0 &pmicobalt_flash1>;
qcom,switch-source = <&pmicobalt_switch>;
status = "ok";
};
led_flash1: qcom,camera-flash@1 {
cell-index = <1>;
compatible = "qcom,camera-flash";
qcom,flash-source = <&pmicobalt_flash2>;
qcom,switch-source = <&pmicobalt_switch>;
status = "ok";
};
};
&cci {
actuator0: qcom,actuator@0 {
cell-index = <0>;
@ -181,6 +199,7 @@
qcom,csiphy-sd-index = <0>;
qcom,csid-sd-index = <0>;
qcom,mount-angle = <90>;
qcom,led-flash-src = <&led_flash0>;
qcom,actuator-src = <&actuator0>;
qcom,ois-src = <&ois0>;
qcom,eeprom-src = <&eeprom0>;
@ -269,6 +288,7 @@
qcom,csid-sd-index = <2>;
qcom,mount-angle = <90>;
qcom,eeprom-src = <&eeprom2>;
qcom,led-flash-src = <&led_flash1>;
qcom,actuator-src = <&actuator1>;
cam_vio-supply = <&pmcobalt_lvs1>;
cam_vana-supply = <&pmcobalt_l22>;

View file

@ -50,6 +50,7 @@
"camss_ispif_ahb_clk", "csiphy_clk_src", "csiphy_clk";
qcom,clock-rates = <0 0 0 0 0 0 256000000 0 0 269333333 0
0 256000000 0>;
status = "ok";
};
qcom,csiphy@ca35000 {
@ -81,6 +82,7 @@
"camss_ispif_ahb_clk", "csiphy_clk_src", "csiphy_clk";
qcom,clock-rates = <0 0 0 0 0 0 256000000 0 0 269333333 0
0 256000000 0>;
status = "ok";
};
qcom,csiphy@ca36000 {
@ -112,6 +114,7 @@
"camss_ispif_ahb_clk", "csiphy_clk_src", "csiphy_clk";
qcom,clock-rates = <0 0 0 0 0 0 256000000 0 0 269333333 0
0 256000000 0>;
status = "ok";
};
qcom,csid@ca30000 {
@ -187,6 +190,7 @@
"csi_pix_clk", "cphy_csid_clk", "cphy_clk_src";
qcom,clock-rates = <0 0 0 0 0 0 0 256000000 0 0 0 0 0 0
256000000>;
status = "ok";
};
qcom,csid@ca30800 {
@ -224,6 +228,7 @@
"csi_pix_clk", "cphy_csid_clk", "cphy_clk_src";
qcom,clock-rates = <0 0 0 0 0 0 0 256000000 0 0 0 0 0 0
256000000>;
status = "ok";
};
qcom,csid@ca30c00 {
@ -260,7 +265,9 @@
"csi_pix_clk", "cphy_csid_clk", "cphy_clk_src";
qcom,clock-rates = <0 0 0 0 0 0 0 256000000 0 0 0 0 0
256000000>;
status = "ok";
};
qcom,cam_smmu {
compatible = "qcom,msm-cam-smmu";
status = "ok";