Skip to content

Commit

Permalink
dts: msm8*16-samsung: update panel selection for fortuna
Browse files Browse the repository at this point in the history
```
$ ls -d SM-G530*
SM-G5306W_CHU  SM-G5309W_CTC  SM-G530FZ_DBT  SM-G530H_LYS   SM-G530M_BVO  SM-G530R4_USC  SM-G530T1_TMB  SM-G530W_XAC
SM-G5308W_TGY  SM-G530BT_ZTO  SM-G530F_XSG   SM-G530MU_TNZ  SM-G530P_SPR  SM-G530R7_ACG  SM-G530T_TMB   SM-G530Y_BRI
$ grep -rnw mdss_dsi_hx8389c_qhd_video SM-G530*/*.dts
SM-G5306W_CHU/plat_ce-var_ce08ff01-sub_b.dts:1261:                      qcom,mdss_dsi_hx8389c_qhd_video {
SM-G5308W_TGY/plat_ce-var_ce08ff01-sub_b.dts:1261:                      qcom,mdss_dsi_hx8389c_qhd_video {
SM-G5309W_CTC/plat_ce-var_ce08ff01-sub_b.dts:1261:                      qcom,mdss_dsi_hx8389c_qhd_video {
SM-G530MU_TNZ/plat_ce-var_ce08ff01-sub_b.dts:1261:                      qcom,mdss_dsi_hx8389c_qhd_video {
SM-G530Y_BRI/plat_ce-var_ce08ff01-sub_b.dts:1261:                       qcom,mdss_dsi_hx8389c_qhd_video {
```

There are only 5 models known for using `qcom,mdss_dsi_hx8389c_qhd_video`. Drop it from the other models.

```
$ grep -rnw qcom,mdss_dsi_.* SM-G530{{6,8,9}W,MU,Y}_*/*.dts
SM-G5306W_CHU/plat_ce-var_ce08ff01-sub_b.dts:1261:                      qcom,mdss_dsi_hx8389c_qhd_video {
SM-G5308W_TGY/plat_ce-var_ce08ff01-sub_b.dts:1261:                      qcom,mdss_dsi_hx8389c_qhd_video {
SM-G5309W_CTC/plat_ce-var_ce08ff01-sub_b.dts:1261:                      qcom,mdss_dsi_hx8389c_qhd_video {
SM-G530MU_TNZ/plat_ce-var_ce08ff01-sub_b.dts:1261:                      qcom,mdss_dsi_hx8389c_qhd_video {
SM-G530Y_BRI/plat_ce-var_ce08ff01-sub_b.dts:1261:                       qcom,mdss_dsi_hx8389c_qhd_video {
$ grep -rnw ss_dsi_panel.* SM-G530{{6,8,9}W,MU,Y}_*/*.dts
$
```

There is only one panel `qcom,mdss_dsi_hx8389c_qhd_video` on the models above. Drop panel selection for them.
  • Loading branch information
wonderfulShrineMaidenOfParadise authored and TravMurav committed Aug 18, 2024
1 parent 90887e8 commit 3368cb5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
3 changes: 0 additions & 3 deletions lk2nd/device/dts/msm8916/msm8216-samsung.dts
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@
panel {
compatible = "samsung,gprime-panel", "lk2nd,panel";

qcom,mdss_dsi_hx8389c_qhd_video {
compatible = "samsung,hx8389c-gh9607501a";
};
ss_dsi_panel_HX8389C_GH9607501A_QHD {
compatible = "samsung,hx8389c-gh9607501a";
};
Expand Down
20 changes: 0 additions & 20 deletions lk2nd/device/dts/msm8916/msm8916-samsung.dts
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@
panel {
compatible = "samsung,gprime-panel", "lk2nd,panel";

qcom,mdss_dsi_hx8389c_qhd_video {
compatible = "samsung,hx8389c-gh9607501a";
};
ss_dsi_panel_HX8389C_GH9607501A_QHD {
compatible = "samsung,hx8389c-gh9607501a";
};
Expand Down Expand Up @@ -278,9 +275,6 @@
panel {
compatible = "samsung,gprime-panel", "lk2nd,panel";

qcom,mdss_dsi_hx8389c_qhd_video {
compatible = "samsung,hx8389c-gh9607501a";
};
ss_dsi_panel_HX8389C_GH9607501A_QHD {
compatible = "samsung,hx8389c-gh9607501a";
};
Expand Down Expand Up @@ -855,19 +849,5 @@
i2c-sda-gpios = <&tlmm 2 I2C_GPIO_FLAGS>;
i2c-scl-gpios = <&tlmm 3 I2C_GPIO_FLAGS>;
};

panel {
compatible = "samsung,gprime-panel", "lk2nd,panel";

qcom,mdss_dsi_hx8389c_qhd_video {
compatible = "samsung,hx8389c-gh9607501a";
};
ss_dsi_panel_HX8389C_GH9607501A_QHD {
compatible = "samsung,hx8389c-gh9607501a";
};
ss_dsi_panel_S6D78A0_GH9607501A_QHD {
compatible = "samsung,s6d78a0-gh9607501a";
};
};
};
};
3 changes: 0 additions & 3 deletions lk2nd/device/dts/msm8916/msm8929-samsung.dts
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@
panel {
compatible = "samsung,gprime-panel", "lk2nd,panel";

qcom,mdss_dsi_hx8389c_qhd_video {
compatible = "samsung,hx8389c-gh9607501a";
};
ss_dsi_panel_HX8389C_GH9607501A_QHD {
compatible = "samsung,hx8389c-gh9607501a";
};
Expand Down

0 comments on commit 3368cb5

Please sign in to comment.