Skip to content

RFC Add RGB ttl connection on rockchip phy

Michael Trimarchi dri-devel linux-arm-kernel linux-phy linux-rockchip lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4phy: add PHY_MODE_TTLinclude/linux/phy/phy.h+2 -10 replies
2/4phy: rockchip: Add inno_is_valid_phy_modedrivers/phy/rockchip/phy-rockchip-inno-dsidphy.c+19 -01 reply
3/4phy: rockchip: Implement TTY phy modedrivers/phy/rockchip/phy-rockchip-inno-dsidphy.c+53 -00 replies
4/4drm/rockchip: rgb: Add dphy connection to rgb outputdrivers/gpu/drm/rockchip/rockchip_rgb.c+18 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/4] Add RGB ttl connection on rockchip phy

The rockchip phy can be convigured in ttl mode. The phy is shared between lvds, dsi, ttl. The configuration that now I'm able to support has the display output on some set of pins on standard vop output and a set of pins using the ttl phy. The solution is not clean as I would like to have because some register that are used to enable the TTL, are in the same register area of the dsi controller. In order to test I must add the following

dsi_dphy: phy@ff2e0000 {

	reg = <0x0 0xff2e0000 0x0 0x10000>,
		<0x0 0xff450000 0x0 0x10000>;
	...
}

The problem here is the second region I have added is the same of dsi logic. Only one register is needed by the the phy driver

Michael Trimarchi (4):
phy: add PHY_MODE_TTL
phy: rockchip: Add inno_is_valid_phy_mode
phy: rockchip: Implement TTY phy mode drm/rockchip: rgb: Add dphy connection to rgb output

 drivers/gpu/drm/rockchip/rockchip_rgb.c       | 18 +++++
 .../phy/rockchip/phy-rockchip-inno-dsidphy.c  | 72 +++++++++++++++++++
 include/linux/phy/phy.h                       |  3 +-
 3 files changed, 92 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1