Analog Devices ADV7511/11W/13 HDMI Encoders
Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/adi,adv7511.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The ADV7511, ADV7511W and ADV7513 are HDMI audio and video transmitters compatible with HDMI 1.4 and DVI 1.0. They support color space conversion, S/PDIF, CEC and HDCP. The transmitter input is parallel RGB or YUV data.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adv7511", "adi,adv7511w", "adi,adv7513"
reg — required here #
I2C slave addresses.
The ADV7511/11W/13 internal registers are split into four pages exposed through different I2C addresses, creating four register maps. Each map has it own I2C address and acts as a standard slave device on the I2C bus. The main address is mandatory, others are optional and revert to defaults if not specified.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
reg-names — not listed as required here #
Names of maps with programmable addresses. It can contain any map needing a non-default address.
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"main"
Item 2
Exact value (
const):"edid"
Item 3
Exact value (
const):"cec"
Item 4
Exact value (
const):"packet"
clocks — not listed as required here #
Reference to the CEC clock.
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "cec"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
pd-gpios — not listed as required here #
GPIO connected to the power down signal.
Maximum number of items (maxItems): 1
avdd-supply — required here #
A 1.8V supply that powers up the AVDD pin.
dvdd-supply — required here #
A 1.8V supply that powers up the DVDD pin.
pvdd-supply — required here #
A 1.8V supply that powers up the PVDD pin.
dvdd-3v-supply — required here #
A 3.3V supply that powers up the DVDD_3V pin.
bgvdd-supply — required here #
A 1.8V supply that powers up the BGVDD pin.
adi,input-depth — required here #
Number of bits per color component at the input.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 8, 10, 12
adi,input-colorspace — required here #
Input color space.
Allowed values (enum): "rgb", "yuv422", "yuv444"
adi,input-clock — required here #
Input clock type.
"1x": one clock cycle per pixel
"2x": two clock cycles per pixel
"dd": one clock cycle per pixel, data driven on both edges
Allowed values (enum): "1x", "2x", "dd"
adi,clock-delay — not listed as required here #
Video data clock delay relative to the pixel clock, in ps (-1200ps .. 1600 ps).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
adi,embedded-sync — not listed as required here #
If defined, the input uses synchronization signals embedded in the data stream (similar to BT.656).
Value type (type): "boolean"
adi,input-style — not listed as required here #
Input components arrangement variant as listed in the input format tables in the datasheet.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 3
adi,input-justification — not listed as required here #
Input bit justification.
Allowed values (enum): "left", "evenly", "right"
ports — required here #
The ADV7511(W)/13 has two video ports and one audio port.
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Video port for the RGB or YUV input.
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
port@1 — not listed as required here
Video port for the HDMI output.
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
port@2 — not listed as required here
Audio port for the HDMI output.
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Condition (if) #
This rule must not match (
not) #Properties and child nodes (
properties) #
adi,input-colorspace— not listed as required hereRule for matching array elements (
contains)
adi,input-clock— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"1x"
When the condition matches (then) #
Required in this object (
required):"adi,input-style","adi,input-justification"
When the condition does not match (else) #
Properties and child nodes (
properties) #
adi,input-style— not listed as required here #
false— Not permitted by this property rule.
adi,input-justification— not listed as required here #
false— Not permitted by this property rule.
Required in this object (required): "compatible", "reg", "ports", "adi,input-depth", "adi,input-colorspace", "adi,input-clock", "avdd-supply", "dvdd-supply", "pvdd-supply", "dvdd-3v-supply", "bgvdd-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c@e6500000 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0 0xe6500000>;
adv7511w: hdmi@39 {
compatible = "adi,adv7511w";
/*
* The EDID page will be accessible on address 0x66 on the I2C
* bus. All other maps continue to use their default addresses.
*/
reg = <0x39>, <0x66>;
reg-names = "main", "edid";
interrupt-parent = <&gpio3>;
interrupts = <29 IRQ_TYPE_EDGE_FALLING>;
clocks = <&cec_clock>;
clock-names = "cec";
avdd-supply = <&v1v8>;
dvdd-supply = <&v1v8>;
pvdd-supply = <&v1v8>;
dvdd-3v-supply = <&v3v3>;
bgvdd-supply = <&v1v8>;
adi,input-depth = <8>;
adi,input-colorspace = "yuv422";
adi,input-clock = "1x";
adi,input-style = <3>;
adi,input-justification = "right";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
adv7511w_in: endpoint {
remote-endpoint = <&dpi_out>;
};
};
port@1 {
reg = <1>;
adv7511_out: endpoint {
remote-endpoint = <&hdmi_connector_in>;
};
};
port@2 {
reg = <2>;
codec_endpoint: endpoint {
remote-endpoint = <&i2s0_cpu_endpoint>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 136: adi,input-colorspace and adi,input-clock are required except in
Line 137: "rgb 1x" and "yuv444 1x" modes, in which case they must not be
Line 138: specified.