Amlogic specific extensions to the Synopsys Designware HDMI Controller
Schema identifier ($id): "http://devicetree.org/schemas/display/amlogic,meson-dw-hdmi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/sound/dai-common.yaml#
The Amlogic Meson Synopsys Designware Integration is composed of - A Synopsys DesignWare HDMI Controller IP - A TOP control block controlling the Clocks and PHY - A custom HDMI PHY in order to convert video to TMDS signal ___________________________________ | HDMI TOP |<= HPD |___________________________________| | | | | Synopsys HDMI | HDMI PHY |=> TMDS | Controller |________________| |___________________________________|<=> DDC
The HDMI TOP block only supports HPD sensing. The Synopsys HDMI Controller interrupt is routed through the TOP Block interrupt. Communication to the TOP Block and the Synopsys HDMI Controller is done via a pair of dedicated addr+read/write registers. The HDMI PHY is configured by registers in the HHI register block.
Pixel data arrives in "4:4:4" format from the VENC block and the VPU HDMI mux selects either the ENCI encoder for the 576i or 480i formats or the ENCP encoder for all the other formats including interlaced HD formats.
The VENC uses a DVI encoder on top of the ENCI or ENCP encoders to generate DVI timings for the HDMI controller.
Amlogic Meson GXBB, GXL and GXM SoCs families embeds the Synopsys DesignWare HDMI TX IP version 2.01a with HDCP and I2C & S/PDIF audio source interfaces.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"amlogic,meson-gxbb-dw-hdmi","amlogic,meson-gxl-dw-hdmi","amlogic,meson-gxm-dw-hdmi"Item 2
Exact value (
const):"amlogic,meson-gx-dw-hdmi"
Rule 2
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"isfr"
Item 2
Exact value (
const):"iahb"
Item 3
Exact value (
const):"venci"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
phandle to the associated power domain
resets — required here #
Minimum number of items (minItems): 3
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"hdmitx_apb"
Item 2
Exact value (
const):"hdmitx"
Item 3
Exact value (
const):"hdmitx_phy"
hdmi-supply — not listed as required here #
phandle to an external 5V regulator to power the HDMI logic
port@0 — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
A port node pointing to the VENC Input port node.
port@1 — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
A port node pointing to the TMDS Output port node.
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
#sound-dai-cells — not listed as required here #
Exact value (const): 0
sound-name-prefix — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "reset-names", "port@0", "port@1", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
hdmi_tx: hdmi-tx@c883a000 {
compatible = "amlogic,meson-gxbb-dw-hdmi", "amlogic,meson-gx-dw-hdmi";
reg = <0xc883a000 0x1c>;
interrupts = <57>;
resets = <&reset_apb>, <&reset_hdmitx>, <&reset_hdmitx_phy>;
reset-names = "hdmitx_apb", "hdmitx", "hdmitx_phy";
clocks = <&clk_isfr>, <&clk_iahb>, <&clk_venci>;
clock-names = "isfr", "iahb", "venci";
power-domains = <&pd_vpu>;
#address-cells = <1>;
#size-cells = <0>;
/* VPU VENC Input */
hdmi_tx_venc_port: port@0 {
reg = <0>;
hdmi_tx_in: endpoint {
remote-endpoint = <&hdmi_tx_out>;
};
};
/* TMDS Output */
hdmi_tx_tmds_port: port@1 {
reg = <1>;
hdmi_tx_tmds_out: endpoint {
remote-endpoint = <&hdmi_connector_in>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2019 BayLibre, SAS
Line 52: GXBB (S905)
Line 53: GXL (S905X, S905D)
Line 54: GXM (S912)
Line 57: G12A (S905X2, S905Y2, S905D2)