aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2019-11-21 18:38:17 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2019-11-21 18:38:17 +0530
commita25aed3d4fc536cec0204f6bc418927f2b5b0736 (patch)
tree78a411a781e2e6389f25bcc282653fe3efc648ab /arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
parent8bdd343f96dc838eefba94a051e84c6db4d1c55d (diff)
download96b-common-ar1337.tar.gz
[WIP] Initial OnSemi AR1337 CMOS sensor supportar1337
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi')
-rw-r--r--arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi89
1 files changed, 29 insertions, 60 deletions
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
index aac1da4f1d3c..123b3ad3120b 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
@@ -127,6 +127,14 @@
/* On Low speed expansion */
label = "LS-I2C1";
status = "okay";
+
+ adux1020@64 {
+ compatible = "adi,adux1020";
+ reg = <0x64>;
+ clock-frequency = <100000>;
+ interrupt-parent = <&msmgpio>;
+ interrupts = <24 IRQ_TYPE_LEVEL_HIGH>;
+ };
};
spi@78b7000 {
@@ -354,80 +362,50 @@
regulator-always-on;
};
- camera_vdda_2v8: fixedregulator@1 {
+ camera_vdda_2v7: fixedregulator@1 {
compatible = "regulator-fixed";
regulator-name = "camera_vdda";
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
+ regulator-min-microvolt = <2700000>;
+ regulator-max-microvolt = <2700000>;
regulator-always-on;
};
- camera_vddd_1v5: fixedregulator@2 {
+ camera_vddd_1v2: fixedregulator@2 {
compatible = "regulator-fixed";
regulator-name = "camera_vddd";
- regulator-min-microvolt = <1500000>;
- regulator-max-microvolt = <1500000>;
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
regulator-always-on;
};
cci@1b0c000 {
status = "ok";
- camera_rear@3b {
- compatible = "ovti,ov5645";
- reg = <0x3b>;
+ camera_rear@36 {
+ compatible = "onsemi,ar1337";
+ reg = <0x36>;
- enable-gpios = <&msmgpio 34 GPIO_ACTIVE_HIGH>;
- reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
+ powerdown-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 = <23880000>;
+ clock-frequency = <24000000>;
vdddo-supply = <&camera_vdddo_1v8>;
- vdda-supply = <&camera_vdda_2v8>;
- vddd-supply = <&camera_vddd_1v5>;
-
- status = "disabled";
+ vdda-supply = <&camera_vdda_2v7>;
+ vddd-supply = <&camera_vddd_1v2>;
port {
- ov5645_ep: endpoint {
- clock-lanes = <1>;
- data-lanes = <0 2>;
+ ar1337_ep: endpoint {
+ status = "ok";
+ clock-lanes = <0>;
+ data-lanes = <1 2>;
remote-endpoint = <&csiphy0_ep>;
};
};
};
-
- camera_front@3a {
- compatible = "ovti,ov5645";
- reg = <0x3a>;
-
- enable-gpios = <&msmgpio 33 GPIO_ACTIVE_HIGH>;
- reset-gpios = <&msmgpio 28 GPIO_ACTIVE_LOW>;
- pinctrl-names = "default";
- pinctrl-0 = <&camera_front_default>;
-
- clocks = <&gcc GCC_CAMSS_MCLK1_CLK>;
- clock-names = "xclk";
- clock-frequency = <23880000>;
-
- vdddo-supply = <&camera_vdddo_1v8>;
- vdda-supply = <&camera_vdda_2v8>;
- vddd-supply = <&camera_vddd_1v5>;
-
- status = "disabled";
-
- port {
- ov5645_2_ep: endpoint {
- clock-lanes = <1>;
- data-lanes = <0 2>;
- remote-endpoint = <&csiphy1_ep>;
- };
- };
- };
};
camss@1b00000 {
@@ -438,19 +416,10 @@
port@0 {
reg = <0>;
csiphy0_ep: endpoint {
- clock-lanes = <1>;
- data-lanes = <0 2>;
- remote-endpoint = <&ov5645_ep>;
- status = "disabled";
- };
- };
- port@1 {
- reg = <1>;
- csiphy1_ep: endpoint {
- clock-lanes = <1>;
- data-lanes = <0 2>;
- remote-endpoint = <&ov5645_2_ep>;
- status = "disabled";
+ remote-endpoint = <&ar1337_ep>;
+ status = "ok";
+ clock-lanes = <0>;
+ data-lanes = <1 2>;
};
};
};