| 1 |
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/bridge/ingenic,jz4780-hdmi.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Ingenic JZ4780 HDMI Transmitter |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- H. Nikolaus Schaller <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
The HDMI Transmitter in the Ingenic JZ4780 is a Synopsys DesignWare HDMI 1.4 |
| 14 |
TX controller IP with accompanying PHY IP. |
| 15 |
|
| 16 |
allOf: |
| 17 |
- $ref: synopsys,dw-hdmi.yaml# |
| 18 |
|
| 19 |
properties: |
| 20 |
compatible: |
| 21 |
const: ingenic,jz4780-dw-hdmi |
| 22 |
|
| 23 |
reg-io-width: |
| 24 |
const: 4 |
| 25 |
|
| 26 |
clocks: |
| 27 |
maxItems: 2 |
| 28 |
|
| 29 |
clock-names: |
| 30 |
maxItems: 2 |
| 31 |
|
| 32 |
ports: |
| 33 |
$ref: /schemas/graph.yaml#/properties/ports |
| 34 |
|
| 35 |
properties: |
| 36 |
port@0: |
| 37 |
$ref: /schemas/graph.yaml#/properties/port |
| 38 |
description: Input from LCD controller output. |
| 39 |
|
| 40 |
port@1: |
| 41 |
$ref: /schemas/graph.yaml#/properties/port |
| 42 |
description: Link to the HDMI connector. |
| 43 |
|
| 44 |
required: |
| 45 |
- compatible |
| 46 |
- clocks |
| 47 |
- clock-names |
| 48 |
- ports |
| 49 |
- reg-io-width |
| 50 |
|
| 51 |
unevaluatedProperties: false |
| 52 |
|
| 53 |
examples: |
| 54 |
- | |
| 55 |
#include <dt-bindings/clock/ingenic,jz4780-cgu.h> |
| 56 |
|
| 57 |
hdmi: hdmi@10180000 { |
| 58 |
compatible = "ingenic,jz4780-dw-hdmi"; |
| 59 |
reg = <0x10180000 0x8000>; |
| 60 |
reg-io-width = <4>; |
| 61 |
interrupt-parent = <&intc>; |
| 62 |
interrupts = <3>; |
| 63 |
clocks = <&cgu JZ4780_CLK_AHB0>, <&cgu JZ4780_CLK_HDMI>; |
| 64 |
clock-names = "iahb", "isfr"; |
| 65 |
|
| 66 |
ports { |
| 67 |
#address-cells = <1>; |
| 68 |
#size-cells = <0>; |
| 69 |
hdmi_in: port@0 { |
| 70 |
reg = <0>; |
| 71 |
dw_hdmi_in: endpoint { |
| 72 |
remote-endpoint = <&jz4780_lcd_out>; |
| 73 |
}; |
| 74 |
}; |
| 75 |
hdmi_out: port@1 { |
| 76 |
reg = <1>; |
| 77 |
dw_hdmi_out: endpoint { |
| 78 |
remote-endpoint = <&hdmi_con>; |
| 79 |
}; |
| 80 |
}; |
| 81 |
}; |
| 82 |
}; |
| 83 |
|
| 84 |
... |