1593504baSSam Ravnborg# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2593504baSSam Ravnborg%YAML 1.2
3593504baSSam Ravnborg---
4593504baSSam Ravnborg$id: http://devicetree.org/schemas/display/bridge/ingenic,jz4780-hdmi.yaml#
5593504baSSam Ravnborg$schema: http://devicetree.org/meta-schemas/core.yaml#
6593504baSSam Ravnborg
7*9d69d47fSKrzysztof Kozlowskititle: Ingenic JZ4780 HDMI Transmitter
8593504baSSam Ravnborg
9593504baSSam Ravnborgmaintainers:
10593504baSSam Ravnborg  - H. Nikolaus Schaller <hns@goldelico.com>
11593504baSSam Ravnborg
12593504baSSam Ravnborgdescription: |
13593504baSSam Ravnborg  The HDMI Transmitter in the Ingenic JZ4780 is a Synopsys DesignWare HDMI 1.4
14593504baSSam Ravnborg  TX controller IP with accompanying PHY IP.
15593504baSSam Ravnborg
16593504baSSam RavnborgallOf:
17593504baSSam Ravnborg  - $ref: synopsys,dw-hdmi.yaml#
18593504baSSam Ravnborg
19593504baSSam Ravnborgproperties:
20593504baSSam Ravnborg  compatible:
21593504baSSam Ravnborg    const: ingenic,jz4780-dw-hdmi
22593504baSSam Ravnborg
23593504baSSam Ravnborg  reg-io-width:
24593504baSSam Ravnborg    const: 4
25593504baSSam Ravnborg
26593504baSSam Ravnborg  clocks:
27593504baSSam Ravnborg    maxItems: 2
28593504baSSam Ravnborg
29593504baSSam Ravnborg  ports:
30593504baSSam Ravnborg    $ref: /schemas/graph.yaml#/properties/ports
31593504baSSam Ravnborg
32593504baSSam Ravnborg    properties:
33593504baSSam Ravnborg      port@0:
34593504baSSam Ravnborg        $ref: /schemas/graph.yaml#/properties/port
35593504baSSam Ravnborg        description: Input from LCD controller output.
36593504baSSam Ravnborg
37593504baSSam Ravnborg      port@1:
38593504baSSam Ravnborg        $ref: /schemas/graph.yaml#/properties/port
39593504baSSam Ravnborg        description: Link to the HDMI connector.
40593504baSSam Ravnborg
41593504baSSam Ravnborgrequired:
42593504baSSam Ravnborg  - compatible
43593504baSSam Ravnborg  - clocks
44593504baSSam Ravnborg  - clock-names
45593504baSSam Ravnborg  - ports
46593504baSSam Ravnborg  - reg-io-width
47593504baSSam Ravnborg
48593504baSSam RavnborgunevaluatedProperties: false
49593504baSSam Ravnborg
50593504baSSam Ravnborgexamples:
51593504baSSam Ravnborg  - |
52593504baSSam Ravnborg    #include <dt-bindings/clock/ingenic,jz4780-cgu.h>
53593504baSSam Ravnborg
54593504baSSam Ravnborg    hdmi: hdmi@10180000 {
55593504baSSam Ravnborg        compatible = "ingenic,jz4780-dw-hdmi";
56593504baSSam Ravnborg        reg = <0x10180000 0x8000>;
57593504baSSam Ravnborg        reg-io-width = <4>;
58593504baSSam Ravnborg        interrupt-parent = <&intc>;
59593504baSSam Ravnborg        interrupts = <3>;
60593504baSSam Ravnborg        clocks = <&cgu JZ4780_CLK_AHB0>, <&cgu JZ4780_CLK_HDMI>;
61593504baSSam Ravnborg        clock-names = "iahb", "isfr";
62593504baSSam Ravnborg
63593504baSSam Ravnborg        ports {
64593504baSSam Ravnborg            #address-cells = <1>;
65593504baSSam Ravnborg            #size-cells = <0>;
66593504baSSam Ravnborg            hdmi_in: port@0 {
67593504baSSam Ravnborg                reg = <0>;
68593504baSSam Ravnborg                dw_hdmi_in: endpoint {
69593504baSSam Ravnborg                    remote-endpoint = <&jz4780_lcd_out>;
70593504baSSam Ravnborg                };
71593504baSSam Ravnborg            };
72593504baSSam Ravnborg            hdmi_out: port@1 {
73593504baSSam Ravnborg                reg = <1>;
74593504baSSam Ravnborg                dw_hdmi_out: endpoint {
75593504baSSam Ravnborg                    remote-endpoint = <&hdmi_con>;
76593504baSSam Ravnborg                };
77593504baSSam Ravnborg            };
78593504baSSam Ravnborg        };
79593504baSSam Ravnborg    };
80593504baSSam Ravnborg
81593504baSSam Ravnborg...
82