summary refs log tree commit diff
path: root/samples/trace_events
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>2021-02-10 12:10:17 +0100
committerHeiko Stuebner <heiko@sntech.de>2021-07-25 17:19:49 +0200
commit71f68fe7f12182ed968cfbbd1ef018721e4dee30 (patch)
tree8bc855a31db6310aa542e19b24fc707d2ff3bfa1 /samples/trace_events
parenta8124139845fecfa9c0100f580c03132f9774967 (diff)
downloadlinux-71f68fe7f12182ed968cfbbd1ef018721e4dee30.tar.gz
drm/rockchip: dsi: add ability to work as a phy instead of full dsi
SoCs like the rk3288 and rk3399 have 3 mipi dphys on them. One is TX-
only, one is RX-only and one can be configured to do either TX or RX.

The RX phy is statically connected to the first Image Signal Processor,
the TX phy is statically connected to the first DSI controller and
the TXRX phy is connected to both the second DSI controller as well
as the second ISP.

The RX dphy is controlled externally through registers in the "General
Register Files", while the other two are controlled through the
"Configuration and Test Interface" inside their DSI controller's
io-memory area.

The Rockchip dw-dsi controller already controls these dphys for the
TX case in the driver, but when we want to also allow configuration
for RX to the ISP from the media subsystem we need to expose phy-
functionality instead.

So add a bit of infrastructure to allow the dsi driver to work as a
phy and make sure it can be only one or the other at a time.

Similarly as the dsi-controller will be part of the drm-graph when
active, add an empty component to the drm-graph when in phy-mode
to make the rest of the drm-graph not wait for it.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Tested-by: Sebastian Fricke <sebastian.fricke@posteo.net>
Acked-by: Helen Koike <helen.koike@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210210111020.2476369-4-heiko@sntech.de
Diffstat (limited to 'samples/trace_events')
0 files changed, 0 insertions, 0 deletions