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

lcd_bias: regulator-lcd-bias {
compatible = "regulator-fixed";
regulator-name = "lcd_bias";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&pm4125_l17>;
gpio = <&tlmm 151 GPIO_ACTIVE_HIGH>;
enable-active-high;
pinctrl-0 = <&lcd_bias_en>;
pinctrl-names = "default";
};
};

&mdss {
status = "okay";
};

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

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

panel@0 {
compatible = "dlc,dlc0697";
reg = <0>;

reset-gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;
enable-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;

vddio-supply = <&pm4125_l15>;
bias-supply = <&lcd_bias>;

pinctrl-0 = <&panel_rst_n &panel_te_pin>;
pinctrl-1 = <&panel_rst_n_suspend>;
pinctrl-names = "default", "sleep";

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

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

&mdss_dsi0_phy {
status = "okay";
};

&audiocorecc {
Expand Down Expand Up @@ -84,3 +142,33 @@

status = "okay";
};

&tlmm {
lcd_bias_en: lcd-bias-en-state {
pins = "gpio151";
function = "gpio";
drive-strength = <2>;
bias-disable;
};

panel_rst_n: panel-rst-n-state {
pins = "gpio3";
function = "gpio";
drive-strength = <8>;
bias-disable;
};

panel_rst_n_suspend: panel-rst-n-suspend-state {
pins = "gpio3";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
};

panel_te_pin: panel-te-pin-state {
pins = "gpio86";
function = "mdp_vsync_p";
drive-strength = <2>;
bias-pull-down;
};
};
92 changes: 92 additions & 0 deletions arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,64 @@
chosen {
stdout-path = "serial0:115200n8";
};

lcd_bias: regulator-lcd-bias {
compatible = "regulator-fixed";
regulator-name = "lcd_bias";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&pm4125_l17>;
gpio = <&tlmm 151 GPIO_ACTIVE_HIGH>;
enable-active-high;
pinctrl-0 = <&lcd_bias_en>;
pinctrl-names = "default";
};
};

&mdss {
status = "okay";
};

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

panel@0 {
compatible = "dlc,dlc0697";
reg = <0>;

reset-gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;
enable-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;

vddio-supply = <&pm4125_l15>;
bias-supply = <&lcd_bias>;

pinctrl-0 = <&panel_rst_n &panel_te_pin>;
pinctrl-1 = <&panel_rst_n_suspend>;
pinctrl-names = "default", "sleep";

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

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

&mdss_dsi0_phy {
status = "okay";
};

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

&audiocorecc {
Expand Down Expand Up @@ -75,6 +133,10 @@
};
};

&usb_qmpphy_out {
remote-endpoint = <&pm4125_ss_in>;
};

&wifi {
vdd-0.8-cx-mx-supply = <&pm4125_l7>;
vdd-1.8-xo-supply = <&pm4125_l13>;
Expand All @@ -85,3 +147,33 @@

status = "okay";
};

&tlmm {
lcd_bias_en: lcd-bias-en-state {
pins = "gpio151";
function = "gpio";
drive-strength = <2>;
bias-disable;
};

panel_rst_n: panel-rst-n-state {
pins = "gpio3";
function = "gpio";
drive-strength = <8>;
bias-disable;
};

panel_rst_n_suspend: panel-rst-n-suspend-state {
pins = "gpio3";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
};

panel_te_pin: panel-te-pin-state {
pins = "gpio86";
function = "mdp_vsync_p";
drive-strength = <2>;
bias-pull-down;
};
};
Loading