[v2,0/8] dsi: rework clock parents and timing handling

Message ID 20210709210729.953114-1-dmitry.baryshkov@linaro.org
Headers show
Series
  • dsi: rework clock parents and timing handling
Related show

Message

Dmitry Baryshkov July 9, 2021, 9:07 p.m.
This patch series brings back several patches targeting assigning dispcc
clock parents, that were removed from the massive dsi rework patchset
earlier.

Few notes:
 - assign-clock-parents is a mandatory proprety according to the current
   dsi.txt description.
 - There is little point in duplicating this functionality with the ad-hoc
   implementation in the dsi code.

On top of that come few minor cleanups for the DSI PHY drivers.

I'd kindly ask to bring all dts changes also through the drm tree, so
that there won't be any breakage of the functionality.

The patchset was tested on RB3 (single DSI), RB5 (single DSI, two
independent DSI, bonded DSI, two last configs require additional patches
which do not concern the DSI timings code).

Changes since v1:
 - add dt-bindings change
 - drop the patch removing msm_dsi_dphy_timing

The following changes since commit e88bbc91849b2bf57683119c339e52916d34433f:

  Revert "drm/msm/mdp5: provide dynamic bandwidth management" (2021-06-23 14:06:20 -0700)

are available in the Git repository at:

  https://git.linaro.org/people/dmitry.baryshkov/kernel.git dsi-phy-update

for you to fetch changes up to a79d84d8eac721a7ebaf3cfc65b200077b1d6947:

  drm/msm/dsi: drop msm_dsi_phy_get_shared_timings (2021-07-10 00:02:18 +0300)

----------------------------------------------------------------
Dmitry Baryshkov (8):
      dt-bindings: display: msm: dsi-controller-main: restore assigned-clocks
      arm64: dts: qcom: sc7180: assign DSI clock source parents
      arm64: dts: qcom: sdm845: assign DSI clock source parents
      arm64: dts: qcom: sdm845-mtp: assign DSI clock source parents
      arm64: dts: qcom: sm8250: assign DSI clock source parents
      drm/msm/dsi: stop setting clock parents manually
      drm/msm/dsi: phy: use of_device_get_match_data
      drm/msm/dsi: drop msm_dsi_phy_get_shared_timings

 .../bindings/display/msm/dsi-controller-main.yaml  | 17 ++++++++
 arch/arm64/boot/dts/qcom/sc7180.dtsi               |  3 ++
 arch/arm64/boot/dts/qcom/sdm845-mtp.dts            |  3 ++
 arch/arm64/boot/dts/qcom/sdm845.dtsi               |  6 +++
 arch/arm64/boot/dts/qcom/sm8250.dtsi               |  6 +++
 drivers/gpu/drm/msm/dsi/dsi.h                      |  7 +--
 drivers/gpu/drm/msm/dsi/dsi_host.c                 | 51 ----------------------
 drivers/gpu/drm/msm/dsi/dsi_manager.c              |  8 +---
 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c              | 34 ++++-----------
 9 files changed, 47 insertions(+), 88 deletions(-)