mbox series

[v2,0/4] drm/msm/mdss: enable access to hw_rev from MDSS driver

Message ID 20230109005209.247356-1-dmitry.baryshkov@linaro.org (mailing list archive)
Headers show
Series drm/msm/mdss: enable access to hw_rev from MDSS driver | expand

Message

Dmitry Baryshkov Jan. 9, 2023, 12:52 a.m. UTC
On newer platforms mdss can read hw_rev register. On older platforms the
mdss driver can not read hw_rev register (to determine the platform).
Add optional 'core' clock that enables access to MDSS registers before
MDP5/DPU device is bound (and enabled the core clock).

Dmitry Baryshkov (4):
  dt-bindings: display/msm: add core clock to the mdss bindings
  drm/msm/mdss: enable optional core clock for MDP5 MDSS
  drm/msm/mdss: check for core clk before accessing HW_REV
  drm/msm/mdss: move is_mdp5 condition to msm_mdss_init

 .../bindings/display/msm/qcom,mdss.yaml       | 34 ++++++++++++++-----
 drivers/gpu/drm/msm/msm_mdss.c                | 31 ++++++++++++-----
 2 files changed, 48 insertions(+), 17 deletions(-)