mirror_ubuntu-kernels/drivers/gpu/drm/msm/dsi
Luca Weiss 1531d0b923 drm/msm/dsi: Add phy configuration for MSM8226
MSM8226 uses a modified PLL lock sequence compared to MSM8974, which is
based on the function dsi_pll_enable_seq_m in the msm-3.10 kernel.

Worth noting that the msm-3.10 downstream kernel also will try other
sequences in case this one doesn't work, but during testing it has shown
that the _m sequence succeeds first time also:

  .pll_enable_seqs[0] = dsi_pll_enable_seq_m,
  .pll_enable_seqs[1] = dsi_pll_enable_seq_m,
  .pll_enable_seqs[2] = dsi_pll_enable_seq_d,
  .pll_enable_seqs[3] = dsi_pll_enable_seq_d,
  .pll_enable_seqs[4] = dsi_pll_enable_seq_f1,
  .pll_enable_seqs[5] = dsi_pll_enable_seq_c,
  .pll_enable_seqs[6] = dsi_pll_enable_seq_e,

We may need to expand this in the future.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/540618/
Link: https://lore.kernel.org/r/20230308-msm8226-mdp-v3-6-b6284145d67a@z3ntu.xyz
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-06-04 05:40:43 +03:00
..
phy drm/msm/dsi: Add phy configuration for MSM8226 2023-06-04 05:40:43 +03:00
dsi_cfg.c drm/msm/dsi: Add configuration for MSM8226 2023-06-04 05:40:40 +03:00
dsi_cfg.h drm/msm/dsi: Add configuration for MSM8226 2023-06-04 05:40:40 +03:00
dsi_host.c drm/msm/dsi: use mult_frac for pclk_bpp calculation 2023-06-04 04:50:05 +03:00
dsi_manager.c drm/msm/dsi: More properly handle errors in regards to dsi_mgr_bridge_power_on() 2023-05-21 02:18:32 +03:00
dsi_phy_7nm.xml.h drm/msm: Update generated headers 2023-03-21 09:10:47 -07:00
dsi_phy_10nm.xml.h drm/msm: Update generated headers 2023-03-21 09:10:47 -07:00
dsi_phy_14nm.xml.h drm/msm: Update generated headers 2023-03-21 09:10:47 -07:00
dsi_phy_20nm.xml.h drm/msm: Update generated headers 2023-03-21 09:10:47 -07:00
dsi_phy_28nm_8960.xml.h drm/msm: Update generated headers 2023-03-21 09:10:47 -07:00
dsi_phy_28nm.xml.h drm/msm: Update generated headers 2023-03-21 09:10:47 -07:00
dsi.c drm/msm/dsi: Remove custom DSI config handling 2023-04-06 20:29:45 +03:00
dsi.h drm/msm/dsi: correct byte intf clock rate for 14nm DSI PHY 2023-01-22 22:42:58 +02:00
dsi.xml.h drm/msm: Update generated headers 2023-03-21 09:10:47 -07:00
mmss_cc.xml.h drm/msm: Update generated headers 2023-03-21 09:10:47 -07:00
sfpb.xml.h drm/msm: Update generated headers 2023-03-21 09:10:47 -07:00