Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: qcom: sm6115p-j606f: Hook up display

Enable the required nodes, add the required pins and tweak a
regulator to enable non-simplefb display on the Tab P11.

Do note that there exists a second SKU with a different panel+touch
combo, but due to insufficient information, that will need to be
handled separately.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230620-topic-gpu_tablet_disp-v2-2-0538ea1beb0b@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Konrad Dybcio and committed by
Bjorn Andersson
e3dc814d 11750af2

+52 -5
+52 -5
arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts
··· 65 65 }; 66 66 }; 67 67 68 - &dispcc { 69 - /* HACK: disable until a panel driver is ready to retain simplefb */ 70 - status = "disabled"; 68 + &mdss { 69 + status = "okay"; 70 + }; 71 + 72 + &mdss_dsi0 { 73 + vdda-supply = <&pm6125_l18>; 74 + status = "okay"; 75 + 76 + panel: panel@0 { 77 + compatible = "lenovo,j606f-boe-nt36523w", "novatek,nt36523w"; 78 + reg = <0>; 79 + 80 + reset-gpios = <&tlmm 82 GPIO_ACTIVE_LOW>; 81 + vddio-supply = <&pm6125_l9>; 82 + 83 + pinctrl-names = "default"; 84 + pinctrl-0 = <&te_active &mdss_dsi_active>; 85 + 86 + rotation = <180>; /* Yep, it's mounted upside down! */ 87 + 88 + port { 89 + panel_in: endpoint { 90 + remote-endpoint = <&mdss_dsi0_out>; 91 + }; 92 + }; 93 + }; 94 + }; 95 + 96 + &mdss_dsi0_out { 97 + data-lanes = <0 1 2 3>; 98 + remote-endpoint = <&panel_in>; 99 + }; 100 + 101 + &mdss_dsi0_phy { 102 + status = "okay"; 71 103 }; 72 104 73 105 &pm6125_gpios { ··· 244 212 }; 245 213 246 214 pm6125_l18: l18 { 247 - regulator-min-microvolt = <1104000>; 248 - regulator-max-microvolt = <1312000>; 215 + /* 1.104V-1.312V fixed @ 1.232V for DSIPHY */ 216 + regulator-min-microvolt = <1232000>; 217 + regulator-max-microvolt = <1232000>; 249 218 }; 250 219 251 220 pm6125_l19: l19 { ··· 314 281 drive-strength = <2>; 315 282 bias-pull-up; 316 283 output-high; 284 + }; 285 + 286 + te_active: te-active-state { 287 + pins = "gpio81"; 288 + function = "mdp_vsync"; 289 + drive-strength = <2>; 290 + bias-pull-down; 291 + }; 292 + 293 + mdss_dsi_active: dsi-active-state { 294 + pins = "gpio82"; 295 + function = "gpio"; 296 + drive-strength = <8>; 297 + bias-disable; 317 298 }; 318 299 }; 319 300