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(-) -- 2.39.0