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
87 changes: 87 additions & 0 deletions arch/arm64/boot/dts/qcom/shikra-cqm-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
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";
};

sound: sound {
compatible = "qcom,shikra-cqm-sndcard";
model = "shikra-cqm-evk";
Expand Down Expand Up @@ -259,6 +271,46 @@
};
};

&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>;
backlight-en-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;

vddi-supply = <&pm4125_l15>;
avdd-supply = <&lcd_bias>;
avee-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";
};

&pcie {
wake-gpios = <&tlmm 119 GPIO_ACTIVE_LOW>;

Expand Down Expand Up @@ -371,6 +423,13 @@
remote-endpoint = <&usb_1_dwc3_hs>;
};

&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;
};

&pm4125_ss_in {
remote-endpoint = <&usb_qmpphy_out>;
};
Expand Down Expand Up @@ -542,6 +601,34 @@
bias-disable;
};

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;
};

pcie_default_state: pcie-default-state {
clkreq-pins {
pins = "gpio117";
Expand Down
87 changes: 87 additions & 0 deletions arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,18 @@
};
};

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";
};

vreg_0p9: regulator-0v9 {
compatible = "regulator-fixed";
regulator-name = "VREG_0P9";
Expand Down Expand Up @@ -239,6 +251,46 @@
};
};

&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>;
backlight-en-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;

vddi-supply = <&pm4125_l15>;
avdd-supply = <&lcd_bias>;
avee-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";
};

&pcie {
wake-gpios = <&tlmm 119 GPIO_ACTIVE_LOW>;

Expand Down Expand Up @@ -351,6 +403,13 @@
remote-endpoint = <&usb_1_dwc3_hs>;
};

&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;
};

&pm4125_ss_in {
remote-endpoint = <&usb_qmpphy_out>;
};
Expand Down Expand Up @@ -463,6 +522,34 @@
bias-disable;
};

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;
};

pcie_default_state: pcie-default-state {
clkreq-pins {
pins = "gpio117";
Expand Down
Loading