File tree Expand file tree Collapse file tree 5 files changed +1359
-0
lines changed
Documentation/devicetree/bindings/display/rockchip Expand file tree Collapse file tree 5 files changed +1359
-0
lines changed Original file line number Diff line number Diff line change
1
+ Rockchip specific extensions to the Innosilicon HDMI
2
+ ================================
3
+
4
+ Required properties:
5
+ - compatible:
6
+ "rockchip,rk3036-inno-hdmi";
7
+ - reg:
8
+ Physical base address and length of the controller's registers.
9
+ - clocks, clock-names:
10
+ Phandle to hdmi controller clock, name should be "pclk"
11
+ - interrupts:
12
+ HDMI interrupt number
13
+ - ports:
14
+ Contain one port node with endpoint definitions as defined in
15
+ Documentation/devicetree/bindings/graph.txt.
16
+ - pinctrl-0, pinctrl-name:
17
+ Switch the iomux of HPD/CEC pins to HDMI function.
18
+
19
+ Example:
20
+ hdmi: hdmi@20034000 {
21
+ compatible = "rockchip,rk3036-inno-hdmi";
22
+ reg = <0x20034000 0x4000>;
23
+ interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
24
+ clocks = <&cru PCLK_HDMI>;
25
+ clock-names = "pclk";
26
+ pinctrl-names = "default";
27
+ pinctrl-0 = <&hdmi_ctl>;
28
+ status = "disabled";
29
+
30
+ hdmi_in: port {
31
+ #address-cells = <1>;
32
+ #size-cells = <0>;
33
+ hdmi_in_lcdc: endpoint@0 {
34
+ reg = <0>;
35
+ remote-endpoint = <&lcdc_out_hdmi>;
36
+ };
37
+ };
38
+ };
39
+
40
+ &pinctrl {
41
+ hdmi {
42
+ hdmi_ctl: hdmi-ctl {
43
+ rockchip,pins = <1 8 RK_FUNC_1 &pcfg_pull_none>,
44
+ <1 9 RK_FUNC_1 &pcfg_pull_none>,
45
+ <1 10 RK_FUNC_1 &pcfg_pull_none>,
46
+ <1 11 RK_FUNC_1 &pcfg_pull_none>;
47
+ };
48
+ };
49
+
50
+ };
Original file line number Diff line number Diff line change @@ -35,3 +35,11 @@ config ROCKCHIP_DW_MIPI_DSI
35
35
for the Synopsys DesignWare HDMI driver. If you want to
36
36
enable MIPI DSI on RK3288 based SoC, you should selet this
37
37
option.
38
+
39
+ config ROCKCHIP_INNO_HDMI
40
+ tristate "Rockchip specific extensions for Innosilicon HDMI"
41
+ depends on DRM_ROCKCHIP
42
+ help
43
+ This selects support for Rockchip SoC specific extensions
44
+ for the Innosilicon HDMI driver. If you want to enable
45
+ HDMI on RK3036 based SoC, you should select this option.
Original file line number Diff line number Diff line change @@ -8,5 +8,6 @@ rockchipdrm-$(CONFIG_DRM_FBDEV_EMULATION) += rockchip_drm_fbdev.o
8
8
9
9
obj-$(CONFIG_ROCKCHIP_DW_HDMI) += dw_hdmi-rockchip.o
10
10
obj-$(CONFIG_ROCKCHIP_DW_MIPI_DSI) += dw-mipi-dsi.o
11
+ obj-$(CONFIG_ROCKCHIP_INNO_HDMI) += inno_hdmi.o
11
12
12
13
obj-$(CONFIG_DRM_ROCKCHIP) += rockchipdrm.o rockchip_vop_reg.o
You can’t perform that action at this time.
0 commit comments