drm/rockchip: rk618: Add support for hdmi
Change-Id: I009e39d4d81e3e0c3f3937ea830f170f08272e21 Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
@@ -210,3 +210,50 @@ Example:
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
HDMI Connector
|
||||||
|
------------
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
- compatible: value should be one of the following:
|
||||||
|
"rockchip,rk618-hdmi"
|
||||||
|
- 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 "hdmi".
|
||||||
|
- interrupt-parent: phandle for the interrupt gpio controller
|
||||||
|
- interrupts: GPIO interrupt to which the chip is connected
|
||||||
|
|
||||||
|
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";
|
||||||
|
|
||||||
|
hdmi {
|
||||||
|
compatible = "rockchip,rk618-hdmi";
|
||||||
|
clocks = <&CRU HDMI_CLK>;
|
||||||
|
clock-names = "hdmi";
|
||||||
|
interrupt-parent = <&gpio3>;
|
||||||
|
interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
ports {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
port@0 {
|
||||||
|
reg = <0>;
|
||||||
|
|
||||||
|
bridge_input_rgb: endpoint {
|
||||||
|
remote-endpoint = <&rgb_out_bridge>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|||||||
@@ -7,4 +7,5 @@ obj-$(CONFIG_DRM_ROCKCHIP_RK618) += rk618_scaler.o \
|
|||||||
rk618_vif.o \
|
rk618_vif.o \
|
||||||
rk618_dither.o \
|
rk618_dither.o \
|
||||||
rk618_lvds.o \
|
rk618_lvds.o \
|
||||||
rk618_rgb.o
|
rk618_rgb.o \
|
||||||
|
rk618_hdmi.o
|
||||||
|
|||||||
1579
drivers/gpu/drm/rockchip/rk618/rk618_hdmi.c
Normal file
1579
drivers/gpu/drm/rockchip/rk618/rk618_hdmi.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user