drm/rockchip: rk618: Add support for dsi

Change-Id: I14e43f6edccf62392ac6a005ce12cf0961583573
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
Wyon Bi
2018-11-22 19:19:01 +08:00
committed by Tao Huang
parent 56eefb4ebb
commit 0573096c0e
3 changed files with 1246 additions and 1 deletions

View File

@@ -257,3 +257,56 @@ Example:
};
};
};
DSI Connector
------------
Required properties:
- compatible: value should be one of the following:
"rockchip,rk618-dsi"
- clocks: must include clock specifiers corresponding to entries in the
clock-names property.
See ../clocks/clock-bindings.txt for details.
- clock-names: list of clock names sorted in the same order as the clocks
property. Must contain "dsi".
- #address-cells, #size-cells: should be set respectively to <1> and <0>.
Optional properties:
- rockchip,lane-rate: specifies the lane data rate [Mbps]
Child nodes:
Should contain DSI peripheral nodes
(see Documentation/devicetree/bindings/display/mipi-dsi-bus.txt).
Required nodes:
The connections to the video ports are modeled using the OF graph
bindings specified in Documentation/devicetree/bindings/graph.txt.
Example:
&rk618 {
status = "okay";
dsi {
compatible = "rockchip,rk618-dsi";
clocks = <&CRU MIPI_CLK>;
clock-names = "dsi";
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
bridge_input_rgb: endpoint {
remote-endpoint = <&rgb_out_bridge>;
};
};
};
};
};

View File

@@ -8,4 +8,5 @@ obj-$(CONFIG_DRM_ROCKCHIP_RK618) += rk618_scaler.o \
rk618_dither.o \
rk618_lvds.o \
rk618_rgb.o \
rk618_hdmi.o
rk618_hdmi.o \
rk618_dsi.o

File diff suppressed because it is too large Load Diff