Skip to content
Open
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
122 changes: 122 additions & 0 deletions arch/arm64/boot/dts/qcom/shikra-iqs-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@
stdout-path = "serial0:115200n8";
};

hdmi-connector {
compatible = "hdmi-connector";
type = "a";

port {
hdmi_con: endpoint {
remote-endpoint = <&lt9611_out>;
};
};
};

sound {
compatible = "qcom,shikra-iqs-sndcard";
model = "shikra-iqs-evk";
Expand Down Expand Up @@ -112,6 +123,25 @@
regulator-always-on;
};

vreg_lt9611_vcc: regulator-lt9611-vcc {
compatible = "regulator-fixed";
regulator-name = "lt9611_vcc";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&pm8150_gpios 4 GPIO_ACTIVE_HIGH>;
enable-active-high;
pinctrl-names = "default";
pinctrl-0 = <&hdmi_reg_en>;
};

vreg_lt9611_vdd: regulator-lt9611-vdd {
compatible = "regulator-fixed";
regulator-name = "lt9611_vdd";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};

vreg_0p9: regulator-0v9 {
compatible = "regulator-fixed";
regulator-name = "VREG_0P9";
Expand Down Expand Up @@ -452,6 +482,78 @@
};
};

&i2c4 {
status = "okay";

lt9611uxd: lt9611uxd@41 {
compatible = "lontium,lt9611uxd";
reg = <0x41>;
interrupts-extended = <&tlmm 85 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&tlmm 76 GPIO_ACTIVE_HIGH>;
vcc-supply = <&vreg_lt9611_vcc>;
vdd-supply = <&vreg_lt9611_vdd>;
lontium,port-select = <1>; /* PORT_SELECT_B */

pinctrl-names = "default";
pinctrl-0 = <&lt9611_irq_pin &lt9611_rst_pin>;

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;

lt9611_a: endpoint {
remote-endpoint = <&mdss_dsi0_out>;
};
};

port@2 {
reg = <2>;

lt9611_out: endpoint {
remote-endpoint = <&hdmi_con>;
};
};
};
};
};

&mdss {
status = "okay";
};

&mdss_dsi0 {
vdda-supply = <&pm8150_l11>;
status = "okay";

};

&mdss_dsi0_out {
remote-endpoint = <&lt9611_a>;
data-lanes = <0 1 2 3>;
};

&mdss_dsi0_phy {
status = "okay";
};

&pm8150_gpios {
hdmi_reg_en: hdmi-reg-en-state {
pins = "gpio4";
function = PMIC_GPIO_FUNC_NORMAL;
bias-disable;
};
};

&pm8150_l11 {
/* DSI VDDA - must be at NOM voltage for PHY PLL lock */
regulator-min-microvolt = <1232000>;
regulator-max-microvolt = <1232000>;
regulator-allow-set-load;
};

&remoteproc_cdsp {
firmware-name = "qcom/shikra/cdsp.mbn";

Expand Down Expand Up @@ -595,6 +697,26 @@
};
};

&tlmm {
lt9611_irq_pin: lt9611-irq-state {
pins = "gpio85";
function = "gpio";
drive-strength = <2>;
bias-pull-up;
};

lt9611_rst_pin: lt9611-rst-state {
pins = "gpio76";
function = "gpio";
drive-strength = <8>;
output-high;
};
};

&uart0 {
status = "okay";
};

&uart8 {
status = "okay";

Expand Down