[PATCH v2 0/7] drm/msm/dsi: Get PHY ref clocks from the DT

From: Matthias Kaehlcke
Date: Mon Nov 26 2018 - 18:12:34 EST


The MSM DSI PHY drivers currently hardcode the name and the rate of
the PHY ref clock. Get the ref clock from the device tree instead.

Note: testing of this series was limited to SDM845 and the 10nm PHY

Major changes in v2:
- apply to all MSM DSI PHY drivers, not only 10nm

Matthias Kaehlcke (7):
dt-bindings: msm/dsi: Add ref clock for PHYs
drm/msm/dsi: 14nm PHY: Get ref clock from the DT
drm/msm/dsi: 28nm 8960 PHY: Get ref clock from the DT
arm64: dts: qcom: msm8916: Set 'xo_board' as ref clock of the DSI PHY
drm/msm/dsi: 28nm PHY: Get ref clock from the DT
arm64: dts: sdm845: Set 'bi_tcxo' as ref clock of the DSI PHYs
drm/msm/dsi: 10nm PHY: Get ref clock from the DT

.../devicetree/bindings/display/msm/dsi.txt | 1 +
arch/arm64/boot/dts/qcom/msm8916.dtsi | 5 ++--
arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 ++++---
drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c | 13 ++++++++-
drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c | 16 ++++++++--
drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c | 29 +++++++++++++------
.../gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c | 17 +++++++++--
7 files changed, 69 insertions(+), 22 deletions(-)

--
2.20.0.rc0.387.gc7a69e6b6c-goog