mbox series

[RESEND,0/3] Update STM DSI PHY driver

Message ID 20231124071649.372270-1-raphael.gallais-pou@foss.st.com (mailing list archive)
Headers show
Series Update STM DSI PHY driver | expand

Message

Raphael Gallais-Pou Nov. 24, 2023, 7:16 a.m. UTC
This patch series aims to add several features of the dw-mipi-dsi phy
driver that are missing or need to be updated.

First patch adds runtime PM functionality to the driver.

Second patch adds a clock provider generated by the PHY itself.  As
explained in the commit log of the second patch, a clock declaration is
missing.  Since this clock is parent of 'dsi_k', it leads to an orphan
clock.  Most importantly this patch is an anticipation for future
versions of the DSI PHY, and its inclusion within the display subsystem
and the DRM framework.

Last patch fixes a corner effect introduced previously.  Since 'dsi' and
'dsi_k' are gated by the same bit on the same register, both reference
work as peripheral clock in the device-tree.

Raphael Gallais-Pou (2):
  drm/stm: dsi: expose DSI PHY internal clock
  arm: dts: st: fix DSI peripheral clock on stm32mp15 boards

Yannick Fertre (1):
  drm/stm: dsi: add pm runtime ops

 arch/arm/boot/dts/st/stm32mp157.dtsi          |   2 +-
 arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts |   2 +-
 arch/arm/boot/dts/st/stm32mp157c-dk2-scmi.dts |   2 +-
 arch/arm/boot/dts/st/stm32mp157c-ed1-scmi.dts |   2 +-
 arch/arm/boot/dts/st/stm32mp157c-ev1-scmi.dts |   2 +-
 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c         | 274 +++++++++++++++---
 6 files changed, 240 insertions(+), 44 deletions(-)