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:
parent
8c8a1a12e8
commit
71a1b15ffd
3 changed files with 47 additions and 0 deletions
|
@ -11,6 +11,24 @@
|
||||||
* GNU General Public License for more details.
|
* 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 {
|
&cci {
|
||||||
actuator0: qcom,actuator@0 {
|
actuator0: qcom,actuator@0 {
|
||||||
cell-index = <0>;
|
cell-index = <0>;
|
||||||
|
@ -181,6 +199,7 @@
|
||||||
qcom,csiphy-sd-index = <0>;
|
qcom,csiphy-sd-index = <0>;
|
||||||
qcom,csid-sd-index = <0>;
|
qcom,csid-sd-index = <0>;
|
||||||
qcom,mount-angle = <90>;
|
qcom,mount-angle = <90>;
|
||||||
|
qcom,led-flash-src = <&led_flash0>;
|
||||||
qcom,actuator-src = <&actuator0>;
|
qcom,actuator-src = <&actuator0>;
|
||||||
qcom,ois-src = <&ois0>;
|
qcom,ois-src = <&ois0>;
|
||||||
qcom,eeprom-src = <&eeprom0>;
|
qcom,eeprom-src = <&eeprom0>;
|
||||||
|
@ -269,6 +288,7 @@
|
||||||
qcom,csid-sd-index = <2>;
|
qcom,csid-sd-index = <2>;
|
||||||
qcom,mount-angle = <90>;
|
qcom,mount-angle = <90>;
|
||||||
qcom,eeprom-src = <&eeprom2>;
|
qcom,eeprom-src = <&eeprom2>;
|
||||||
|
qcom,led-flash-src = <&led_flash1>;
|
||||||
qcom,actuator-src = <&actuator1>;
|
qcom,actuator-src = <&actuator1>;
|
||||||
cam_vio-supply = <&pmcobalt_lvs1>;
|
cam_vio-supply = <&pmcobalt_lvs1>;
|
||||||
cam_vana-supply = <&pmcobalt_l22>;
|
cam_vana-supply = <&pmcobalt_l22>;
|
||||||
|
|
|
@ -11,6 +11,24 @@
|
||||||
* GNU General Public License for more details.
|
* 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 {
|
&cci {
|
||||||
actuator0: qcom,actuator@0 {
|
actuator0: qcom,actuator@0 {
|
||||||
cell-index = <0>;
|
cell-index = <0>;
|
||||||
|
@ -181,6 +199,7 @@
|
||||||
qcom,csiphy-sd-index = <0>;
|
qcom,csiphy-sd-index = <0>;
|
||||||
qcom,csid-sd-index = <0>;
|
qcom,csid-sd-index = <0>;
|
||||||
qcom,mount-angle = <90>;
|
qcom,mount-angle = <90>;
|
||||||
|
qcom,led-flash-src = <&led_flash0>;
|
||||||
qcom,actuator-src = <&actuator0>;
|
qcom,actuator-src = <&actuator0>;
|
||||||
qcom,ois-src = <&ois0>;
|
qcom,ois-src = <&ois0>;
|
||||||
qcom,eeprom-src = <&eeprom0>;
|
qcom,eeprom-src = <&eeprom0>;
|
||||||
|
@ -269,6 +288,7 @@
|
||||||
qcom,csid-sd-index = <2>;
|
qcom,csid-sd-index = <2>;
|
||||||
qcom,mount-angle = <90>;
|
qcom,mount-angle = <90>;
|
||||||
qcom,eeprom-src = <&eeprom2>;
|
qcom,eeprom-src = <&eeprom2>;
|
||||||
|
qcom,led-flash-src = <&led_flash1>;
|
||||||
qcom,actuator-src = <&actuator1>;
|
qcom,actuator-src = <&actuator1>;
|
||||||
cam_vio-supply = <&pmcobalt_lvs1>;
|
cam_vio-supply = <&pmcobalt_lvs1>;
|
||||||
cam_vana-supply = <&pmcobalt_l22>;
|
cam_vana-supply = <&pmcobalt_l22>;
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
"camss_ispif_ahb_clk", "csiphy_clk_src", "csiphy_clk";
|
"camss_ispif_ahb_clk", "csiphy_clk_src", "csiphy_clk";
|
||||||
qcom,clock-rates = <0 0 0 0 0 0 256000000 0 0 269333333 0
|
qcom,clock-rates = <0 0 0 0 0 0 256000000 0 0 269333333 0
|
||||||
0 256000000 0>;
|
0 256000000 0>;
|
||||||
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
qcom,csiphy@ca35000 {
|
qcom,csiphy@ca35000 {
|
||||||
|
@ -81,6 +82,7 @@
|
||||||
"camss_ispif_ahb_clk", "csiphy_clk_src", "csiphy_clk";
|
"camss_ispif_ahb_clk", "csiphy_clk_src", "csiphy_clk";
|
||||||
qcom,clock-rates = <0 0 0 0 0 0 256000000 0 0 269333333 0
|
qcom,clock-rates = <0 0 0 0 0 0 256000000 0 0 269333333 0
|
||||||
0 256000000 0>;
|
0 256000000 0>;
|
||||||
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
qcom,csiphy@ca36000 {
|
qcom,csiphy@ca36000 {
|
||||||
|
@ -112,6 +114,7 @@
|
||||||
"camss_ispif_ahb_clk", "csiphy_clk_src", "csiphy_clk";
|
"camss_ispif_ahb_clk", "csiphy_clk_src", "csiphy_clk";
|
||||||
qcom,clock-rates = <0 0 0 0 0 0 256000000 0 0 269333333 0
|
qcom,clock-rates = <0 0 0 0 0 0 256000000 0 0 269333333 0
|
||||||
0 256000000 0>;
|
0 256000000 0>;
|
||||||
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
qcom,csid@ca30000 {
|
qcom,csid@ca30000 {
|
||||||
|
@ -187,6 +190,7 @@
|
||||||
"csi_pix_clk", "cphy_csid_clk", "cphy_clk_src";
|
"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
|
qcom,clock-rates = <0 0 0 0 0 0 0 256000000 0 0 0 0 0 0
|
||||||
256000000>;
|
256000000>;
|
||||||
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
qcom,csid@ca30800 {
|
qcom,csid@ca30800 {
|
||||||
|
@ -224,6 +228,7 @@
|
||||||
"csi_pix_clk", "cphy_csid_clk", "cphy_clk_src";
|
"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
|
qcom,clock-rates = <0 0 0 0 0 0 0 256000000 0 0 0 0 0 0
|
||||||
256000000>;
|
256000000>;
|
||||||
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
qcom,csid@ca30c00 {
|
qcom,csid@ca30c00 {
|
||||||
|
@ -260,7 +265,9 @@
|
||||||
"csi_pix_clk", "cphy_csid_clk", "cphy_clk_src";
|
"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
|
qcom,clock-rates = <0 0 0 0 0 0 0 256000000 0 0 0 0 0
|
||||||
256000000>;
|
256000000>;
|
||||||
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
qcom,cam_smmu {
|
qcom,cam_smmu {
|
||||||
compatible = "qcom,msm-cam-smmu";
|
compatible = "qcom,msm-cam-smmu";
|
||||||
status = "ok";
|
status = "ok";
|
||||||
|
|
Loading…
Add table
Reference in a new issue