Skip to content

Commit ca68e74

Browse files
0xB0Djiegan0107
authored andcommitted
FROMLIST: arm64: dts: qcom: x1e80100-dell-inspiron14-7441: Switch on CAMSS RGB sensor
Inspiron14 has a ov02e10 sensor on CSIPHY4. Enable the list of dependencies now. Link: https://lore.kernel.org/all/20260326-x1e-camss-csi2-phy-dtsi-v3-11-1d5a9306116a@linaro.org/ Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
1 parent 12e1653 commit ca68e74

1 file changed

Lines changed: 61 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/x1-dell-thena.dtsi

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <dt-bindings/input/gpio-keys.h>
1111
#include <dt-bindings/input/input.h>
1212
#include <dt-bindings/leds/common.h>
13+
#include <dt-bindings/phy/phy.h>
1314
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
1415

1516
#include "hamoa-pmics.dtsi"
@@ -792,6 +793,66 @@
792793
};
793794
};
794795

796+
&camss {
797+
status = "okay";
798+
799+
ports {
800+
/*
801+
* port0 => csiphy0
802+
* port1 => csiphy1
803+
* port2 => csiphy2
804+
* port3 => csiphy4
805+
*/
806+
port@3 {
807+
camss_csiphy4_inep0: endpoint@0 {
808+
clock-lanes = <7>;
809+
data-lanes = <0 1>;
810+
remote-endpoint = <&ov02e10_ep>;
811+
};
812+
};
813+
};
814+
};
815+
816+
&cci1 {
817+
status = "okay";
818+
};
819+
820+
&cci1_i2c1 {
821+
camera@10 {
822+
compatible = "ovti,ov02e10";
823+
reg = <0x10>;
824+
825+
reset-gpios = <&tlmm 237 GPIO_ACTIVE_LOW>;
826+
pinctrl-names = "default";
827+
pinctrl-0 = <&cam_rgb_default>;
828+
829+
clocks = <&camcc CAM_CC_MCLK4_CLK>;
830+
assigned-clocks = <&camcc CAM_CC_MCLK4_CLK>;
831+
assigned-clock-rates = <19200000>;
832+
833+
orientation = <0>; /* front facing */
834+
835+
avdd-supply = <&vreg_l7b_2p8>;
836+
dvdd-supply = <&vreg_l7b_2p8>;
837+
dovdd-supply = <&vreg_cam_1p8>;
838+
839+
port {
840+
ov02e10_ep: endpoint {
841+
data-lanes = <1 2>;
842+
link-frequencies = /bits/ 64 <360000000>;
843+
remote-endpoint = <&camss_csiphy4_inep0>;
844+
};
845+
};
846+
};
847+
};
848+
849+
&csiphy4 {
850+
vdda-0p9-supply = <&vreg_l2c_0p8>;
851+
vdda-1p2-supply = <&vreg_l1c_1p2>;
852+
853+
status = "okay";
854+
};
855+
795856
&i2c0 {
796857
clock-frequency = <400000>;
797858

0 commit comments

Comments
 (0)