aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2019-07-29 17:26:04 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2019-07-29 17:27:03 +0530
commit6250d8970a1b45e6b40b8356a5719ae3228f5fd0 (patch)
tree6dfcee3a925b989600f5758099bcc99b5bfdf6fb
parentd65620fef1ded4c2c163c06303d838487525244d (diff)
download96b-common-6250d8970a1b45e6b40b8356a5719ae3228f5fd0.tar.gz
Enable FRAMOS IMX290 Camera sensor driver
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-rw-r--r--arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi30
-rw-r--r--arch/arm64/configs/defconfig1
2 files changed, 28 insertions, 3 deletions
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
index aac1da4f1d3c..f71649f352d6 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
@@ -373,6 +373,31 @@
cci@1b0c000 {
status = "ok";
+ imx290: imx290@1a {
+ compatible = "sony,imx290";
+ reg = <0x1a>;
+
+ reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&camera_rear_default>;
+
+ clocks = <&gcc GCC_CAMSS_MCLK0_CLK>;
+ clock-names = "xclk";
+ clock-frequency = <37125000>;
+
+ vdddo-supply = <&camera_vdddo_1v8>;
+ vdda-supply = <&camera_vdda_2v8>;
+ vddd-supply = <&camera_vddd_1v5>;
+
+ port {
+ imx290_ep: endpoint {
+ clock-lanes = <1>;
+ data-lanes = <0 2 3 4>;
+ remote-endpoint = <&csiphy0_ep>;
+ };
+ };
+ };
+
camera_rear@3b {
compatible = "ovti,ov5645";
reg = <0x3b>;
@@ -439,9 +464,8 @@
reg = <0>;
csiphy0_ep: endpoint {
clock-lanes = <1>;
- data-lanes = <0 2>;
- remote-endpoint = <&ov5645_ep>;
- status = "disabled";
+ data-lanes = <0 2 3 4>;
+ remote-endpoint = <&imx290_ep>;
};
};
port@1 {
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index bb1abec5cb0a..6add9ecca932 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -385,6 +385,7 @@ CONFIG_VIDEO_RENESAS_FCP=m
CONFIG_VIDEO_RENESAS_VSP1=m
CONFIG_VIDEO_QCOM_VENUS=m
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
+CONFIG_VIDEO_IMX290=m
CONFIG_VIDEO_OV5645=m
CONFIG_VIDEO_OV7251=m
CONFIG_DRM=m