arm64: dts: qcom: sdm450-lenovo-tbx605f: add DSI panel nodes

Add the necessary nodes to enable the DSI panel on the
Lenovo Smart Tab M10 tablet.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241115-topic-sdm450-upstream-lab-ibb-v1-2-8a8e74befbfe@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Neil Armstrong 2024-11-15 11:20:54 +01:00 committed by Bjorn Andersson
parent f8ed8fd084
commit cddaf23136

View File

@ -46,6 +46,18 @@ other-ext-region@0 {
};
};
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 {
@ -63,6 +75,49 @@ vph_pwr: vph-pwr-regulator {
};
};
&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>;
vsn-supply = <&ibb>;
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>;
@ -90,6 +145,18 @@ touchscreen@38 {
};
};
&ibb {
regulator-min-microvolt = <4600000>;
regulator-max-microvolt = <6000000>;
qcom,discharge-resistor-kohms = <32>;
};
&lab {
regulator-min-microvolt = <4600000>;
regulator-max-microvolt = <6000000>;
qcom,soft-start-us = <800>;
};
&pm8953_resin {
linux,code = <KEY_VOLUMEDOWN>;
status = "okay";
@ -237,6 +304,36 @@ &sdhc_2 {
&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";