Skip to content

Add DSI support for RK3128

Alex Bee dri-devel linux-arm-kernel linux-clk linux-devicetree linux-rockchip lkml 4 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. v3 Latest posting 2/27 patches 2 repliesApplied
  2. v3 posting 1/20 of 7 patches 0 repliesSuperseded
  3. v27 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches2 repliesSuperseded

Changes in v3 from the cover letter

Dropped the changes for the additional AHB clock for the DSI controller, as it's not part of the IP block. (Heiko)

Patches in v3 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/7dt-bindings: display: rockchip,dw-mipi-dsi: Document RK3128 DSIDocumentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml+2 -00 replies
2/7dt-bindings: clock: rk3128: Add PCLK_MIPIPHYinclude/dt-bindings/clock/rk3128-cru.h+1 -00 replies
3/7clk: rockchip: rk3128: Export PCLK_MIPIPHYdrivers/clk/rockchip/clk-rk3128.c+1 -10 replies
4/7clk: rockchip: rk3128: Add hclk_vio_h2p to critical clocksdrivers/clk/rockchip/clk-rk3128.c+1 -00 replies
5/7drm/rockchip: dsi: Add support for RK3128drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c+20 -00 replies
6/7ARM: dts: rockchip: Add D-PHY for RK3128arch/arm/boot/dts/rockchip/rk3128.dtsi+14 -00 replies
7/7ARM: dts: rockchip: Add DSI for RK3128arch/arm/boot/dts/rockchip/rk3128.dtsi+36 -00 replies

Reviews trailers per patch

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

PatchConor Dooley
1/7A-b
2/7A-b
3/7
4/7
5/7
6/7
7/7

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

Read the v3 thread

Cover letter [PATCH v3 0/7] Add DSI support for RK3128

This series aims to add support for the DesignWare MIPI DSI controller and the Innoslicon D-PHY found in RK3128 SoCs. The code additions are rather
tiny: It only need some code in the Rockchip dw-mipi-dsi glue layer for this SoC and do some changes in the SoC's clock driver. Support for the phy was already added when the Innosilicon D-PHY driver was initially submitted. I tested it with a 800x1280 DSI panel where all 4 lanes that are supported are used.

changes in v2:
To improve power-efficiency when the DSI controller is not in use, I dropped the patch which made hclk_vio_h2p a critical clock and instead added support for an AHB clock to the DSI controller driver and updated the bindings and the addition to the SoC DT accordingly.

Link to v1:
https://lore.kernel.org/linux-kernel/[email protected]/

changes in v3:
Dropped the changes for the additional AHB clock for the DSI controller, as it's not part of the IP block. (Heiko)

Link to v2:
https://lore.kernel.org/linux-kernel/[email protected]/

Please see individual patches for details about the changes.

Alex Bee (7):
dt-bindings: display: rockchip,dw-mipi-dsi: Document RK3128 DSI
dt-bindings: clock: rk3128: Add PCLK_MIPIPHY
clk: rockchip: rk3128: Export PCLK_MIPIPHY
clk: rockchip: rk3128: Add hclk_vio_h2p to critical clocks drm/rockchip: dsi: Add support for RK3128
ARM: dts: rockchip: Add D-PHY for RK3128
ARM: dts: rockchip: Add DSI for RK3128

 .../rockchip/rockchip,dw-mipi-dsi.yaml        |  2 +
 arch/arm/boot/dts/rockchip/rk3128.dtsi        | 50 +++++++++++++++++++
 drivers/clk/rockchip/clk-rk3128.c             |  3 +-
 .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c   | 20 ++++++++
 include/dt-bindings/clock/rk3128-cru.h        |  1 +
 5 files changed, 75 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.2