Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions arch/arm64/boot/dts/qcom/maili-mtp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/media/video-interfaces.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
Expand Down Expand Up @@ -861,6 +862,28 @@
};
};

&camss {
status = "okay";
};

&camss_csiphy2_inep {
data-lanes = <1 2 3 4>;
};

&csiphy2 {
vdda-0p9-supply = <&vreg_l1d_0p9>;
vdda-1p2-supply = <&vreg_l3g_1p2>;

status = "okay";
};

&csiphy2_in_ep {
bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
clock-lanes = <0>;
data-lanes = <1 2 3 4>;
remote-endpoint = <&s5kjn5_ep>;
};

&i2c3 {

status = "okay";
Expand Down Expand Up @@ -888,6 +911,40 @@
};
};

&i2c9 {
clock-frequency = <400000>;
power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>;
status = "okay";

camera@10 {
compatible = "samsung,s5kjn5";
reg = <0x10>;

reset-gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;

pinctrl-0 = <&mclk2_default &cam2_reset_default>;
pinctrl-names = "default";

clocks = <&cambistmclkcc CAM_BIST_MCLK_CC_MCLK2_CLK>;
assigned-clocks = <&cambistmclkcc CAM_BIST_MCLK_CC_MCLK2_CLK>;
assigned-clock-rates = <19200000>;

afvdd-supply = <&vreg_l5m_2p8>;
vdda-supply = <&vreg_l7m_2p2>;
vddd-supply = <&vreg_l1m_1p0>;
vddio-supply = <&vreg_l4n_1p8>;
vddio1p2-supply = <&vreg_l2n_1p2>;

port {
s5kjn5_ep: endpoint {
link-frequencies = /bits/ 64 <1248000000>;
data-lanes = <1 2 3 4>;
remote-endpoint = <&csiphy2_in_ep>;
};
};
};
};

&lpass_vamacro {
pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
pinctrl-names = "default";
Expand Down Expand Up @@ -1099,6 +1156,13 @@
<144 2>, /* CXM UART */
<211 1>; /* NFC Secure IO */

cam2_reset_default: cam2-reset-default-state {
pins = "gpio3";
function = "gpio";
drive-strength = <16>;
bias-disable;
};

wcd_default: wcd-reset-n-active-state {
pins = "gpio161";
function = "gpio";
Expand Down
Loading
Loading