Skip to content

Commit

Permalink
arm64: dts: qcom: sdm450-lenovo-tbx605f: add DSI panel nodes
Browse files Browse the repository at this point in the history
Add DSI panel nodes for the Lenovo Smart Tab M10.

This patch is not upstream yet due to the lack of upstream
suppport for pm8953 lab/ibb.

Signed-off-by: Neil Armstrong <[email protected]>
  • Loading branch information
superna9999 authored and barni2000 committed Jul 25, 2024
1 parent e88ddd8 commit e8f3d9a
Showing 1 changed file with 85 additions and 0 deletions.
85 changes: 85 additions & 0 deletions arch/arm64/boot/dts/qcom/sdm450-lenovo-tbx605f.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,18 @@
};
};

backlight: gpio-backlight {
compatible = "gpio-backlight";

gpios = <&tlmm 16 GPIO_ACTIVE_HIGH>;

default-on;

pinctrl-names = "default";
pinctrl-0 = <&backlight_enable_active>;
pinctrl-1 = <&backlight_enable_sleep>;
};

gpio-keys {
compatible = "gpio-keys";
key-volume-up {
Expand All @@ -72,6 +84,49 @@
};
};

&mdss {
status = "okay";
};

&mdss_dsi0 {
vdda-supply = <&pm8953_s3>;
vddio-supply = <&pm8953_l6>;

status = "okay";

panel@0 {
compatible = "boe,tv101wum-ll2";
reg = <0>;

vsp-supply = <&lab_vreg>;
vsn-supply = <&ibb_vreg>;
reset-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;

backlight = <&backlight>;

pinctrl-names = "default";
pinctrl-0 = <&panel_reset_active>;
pinctrl-1 = <&panel_reset_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 {
vcca-supply = <&pm8953_l3>;

status = "okay";
};

&hsusb_phy {
vdd-supply = <&pm8953_l3>;
vdda-pll-supply = <&pm8953_l7>;
Expand Down Expand Up @@ -257,6 +312,36 @@
&tlmm {
gpio-reserved-ranges = <0 4>, <135 4>;

backlight_enable_active: backlight-enable-active-state {
pins = "gpio16";
function = "gpio";
drive-strength = <8>;
bias-disable;
output-high;
};

backlight_enable_sleep: backlight-enable-sleep-state {
pins = "gpio16";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
};

panel_reset_active: panel-reset-active-state {
pins = "gpio61";
function = "gpio";
drive-strength = <8>;
bias-disable;
output-high;
};

panel_reset_sleep: panel-reset-sleep-state {
pins = "gpio61";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
};

ts_int_active: ts-int-active-state {
pins = "gpio65";
function = "gpio";
Expand Down

0 comments on commit e8f3d9a

Please sign in to comment.