Skip to content

drm/rockchip: Add MIPI DSI support for RK3368

WeiHao Li linux-arm-kernel linux-clk linux-devicetree linux-rockchip lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 5 repliesApplied
  2. v17 patches 16 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/8drm/rockchip: dsi: Add support for RK3368drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c+20 -00 replies
2/8drm/rockchip: vop: add lut_size for RK3368 vop_datadrivers/gpu/drm/rockchip/rockchip_vop_reg.c+1 -00 replies
3/8dt-bindings: clock: rk3368: Add SCLK_MIPIDSI_24Minclude/dt-bindings/clock/rk3368-cru.h+1 -02 replies
4/8clk: rockchip: use clock ids for SCLK_MIPIDSI_24M on rk3368drivers/clk/rockchip/clk-rk3368.c+1 -10 replies
5/8arm64: dts: rockchip: Add display subsystem for RK3368arch/arm64/boot/dts/rockchip/rk3368.dtsi+25 -00 replies
6/8arm64: dts: rockchip: Add D-PHY for RK3368arch/arm64/boot/dts/rockchip/rk3368.dtsi+11 -00 replies
7/8arm64: dts: rockchip: Add DSI for RK3368arch/arm64/boot/dts/rockchip/rk3368.dtsi+40 -00 replies
8/8dt-bindings: display: rockchip,dw-mipi-dsi: Document RK3368 DSIDocumentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml+2 -01 reply

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchWeiHao LiRob Herring (Arm)
SeriesT-b
1/8
2/8
3/8A-b A-b
4/8
5/8
6/8
7/8
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] drm/rockchip: Add MIPI DSI support for RK3368

This series adds MIPI DSI support for the Rockchip RK3368 SoC, enabling native display connectivity through the MIPI DSI host controller and PHY. The changes span multiple subsystems, including clock control, DRM/VOP integration, DSI controller binding.

Key changes:
- Update dw-mipi-dsi-rockchip driver to preperly handle RK3368 dsi initialization.
- Add missing lut_size of vop_data for RK3368.
- Add missing clock ID SCLK_MIPIDSI_24M to the RK3368 CRU driver, which is required for enabling the 24MHz reference clock.
- Add MIPI DSI node to rk3368.dtsi with correct clocks, resets, and register mappings.
- Add dt-bindings document.

The following changes since v1:
- Rebased on linux-next tree 20250903.
- Adjust the dts node order according to the document requirements.
- Patch 3, ("dt-bindings: clock: rk3368: Add SCLK_MIPIDSI_24M") has been applied.
- Patch 4, ("clk: rockchip: use clock ids for SCLK_MIPIDSI_24M on rk3368") has been applied.
- New patch 8, ("dt-bindings: display: rockchip,dw-mipi-dsi: Document RK3368 DSI").

These changes were tested on a RK3368-based board with a MIPI DSI panel [1]. The display boots successfully with console output.

Thanks to reviewers for feedback:
- Heiko Stuebner
- Rob Herring

[1] https://ieiao.github.io/wiki/embedded-dev/rockchip/rk3368

WeiHao Li (8):
drm/rockchip: dsi: Add support for RK3368 drm/rockchip: vop: add lut_size for RK3368 vop_data
dt-bindings: clock: rk3368: Add SCLK_MIPIDSI_24M
clk: rockchip: use clock ids for SCLK_MIPIDSI_24M on rk3368
arm64: dts: rockchip: Add display subsystem for RK3368
arm64: dts: rockchip: Add D-PHY for RK3368
arm64: dts: rockchip: Add DSI for RK3368
dt-bindings: display: rockchip,dw-mipi-dsi: Document RK3368 DSI

 .../rockchip/rockchip,dw-mipi-dsi.yaml        |  2 +
 arch/arm64/boot/dts/rockchip/rk3368.dtsi      | 76 +++++++++++++++++++
 drivers/clk/rockchip/clk-rk3368.c             |  2 +-
 .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c   | 20 +++++
 drivers/gpu/drm/rockchip/rockchip_vop_reg.c   |  1 +
 include/dt-bindings/clock/rk3368-cru.h        |  1 +
 6 files changed, 101 insertions(+), 1 deletion(-)
Signature · 1 line
2.39.5