Analog Devices ADV7533/35 HDMI Encoders
Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/adi,adv7533.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/sound/dai-common.yaml#
The ADV7533 and ADV7535 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 MIPI DSI.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adv7533", "adi,adv7535"
reg — required here #
I2C slave addresses.
The ADV7533/35 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.
a2vdd-supply — required here #
A 1.8V supply that powers up the A2VDD pin.
v3p3-supply — required here #
A 3.3V supply that powers up the V3P3 pin.
v1p2-supply — not listed as required here #
A supply that powers up the V1P2 pin. It can be either 1.2V or 1.8V for ADV7533 but only 1.8V for ADV7535.
adi,disable-timing-generator — not listed as required here #
Disables the internal timing generator. The chip will rely on the sync signals in the DSI data lanes, rather than generating its own timings for HDMI output.
Value type (type): "boolean"
adi,dsi-lanes — required here #
Number of DSI data lanes connected to the DSI host.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 2, 3, 4
#sound-dai-cells — not listed as required here #
Exact value (const): 0
ports — required here #
The ADV7533/35 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 DSI input. The remote endpoint phandle should be a reference to a valid mipi_dsi_host_device.
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
Required in this object (required): "compatible", "reg", "ports", "adi,dsi-lanes", "avdd-supply", "dvdd-supply", "pvdd-supply", "a2vdd-supply", "v3p3-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>;
adv7533: hdmi@39 {
compatible = "adi,adv7533";
/*
* 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";
adi,dsi-lanes = <4>;
avdd-supply = <&v1v8>;
dvdd-supply = <&v1v8>;
pvdd-supply = <&v1v8>;
a2vdd-supply = <&v1v8>;
v3p3-supply = <&v3v3>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
adv7533_in: endpoint {
remote-endpoint = <&dsi_out>;
};
};
port@1 {
reg = <1>;
adv7533_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)