Analog Devices ADV748X video decoder with HDMI receiver

Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/adi,adv748x.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kieran Bingham <kieran.bingham@ideasonboard.com>", "Niklas Söderlund <niklas.soderlund@ragnatech.se>"

The ADV7481 and ADV7482 are multi format video decoders with an integrated HDMI receiver. They can output CSI-2 on two independent outputs TXA and TXB from three input sources HDMI, analog and TTL.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "adi,adv7481", "adi,adv7482"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 12

The ADV748x has up to twelve 256-byte maps that can be accessed via the main I2C ports. 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 remain at default values if not specified.

reg-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "main"

Item 2

Allowed values (enum): "dpll", "cp", "hdmi", "edid", "repeater", "infoframe", "cbus", "cec", "sdp", "txa", "txb"

Item 3

Allowed values (enum): "dpll", "cp", "hdmi", "edid", "repeater", "infoframe", "cbus", "cec", "sdp", "txa", "txb"

Item 4

Allowed values (enum): "dpll", "cp", "hdmi", "edid", "repeater", "infoframe", "cbus", "cec", "sdp", "txa", "txb"

Item 5

Allowed values (enum): "dpll", "cp", "hdmi", "edid", "repeater", "infoframe", "cbus", "cec", "sdp", "txa", "txb"

Item 6

Allowed values (enum): "dpll", "cp", "hdmi", "edid", "repeater", "infoframe", "cbus", "cec", "sdp", "txa", "txb"

Item 7

Allowed values (enum): "dpll", "cp", "hdmi", "edid", "repeater", "infoframe", "cbus", "cec", "sdp", "txa", "txb"

Item 8

Allowed values (enum): "dpll", "cp", "hdmi", "edid", "repeater", "infoframe", "cbus", "cec", "sdp", "txa", "txb"

Item 9

Allowed values (enum): "dpll", "cp", "hdmi", "edid", "repeater", "infoframe", "cbus", "cec", "sdp", "txa", "txb"

Item 10

Allowed values (enum): "dpll", "cp", "hdmi", "edid", "repeater", "infoframe", "cbus", "cec", "sdp", "txa", "txb"

Item 11

Allowed values (enum): "dpll", "cp", "hdmi", "edid", "repeater", "infoframe", "cbus", "cec", "sdp", "txa", "txb"

Item 12

Allowed values (enum): "dpll", "cp", "hdmi", "edid", "repeater", "infoframe", "cbus", "cec", "sdp", "txa", "txb"

interrupts — not listed as required here #

true — No constraints added by this property rule.

interrupt-names — not listed as required here #

true — No constraints added by this property rule.

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties matching a name pattern (patternProperties) #

^port@[0-7]$ — name matches this regular expression

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Input port nodes for analog inputs AIN[0-7].

Properties and child nodes (properties) #

port@8 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Input port node for HDMI.

port@9 — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Input port node for TTL.

port@a — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Output port node, single endpoint describing the CSI-2 transmitter TXA.

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

clock-lanes — required here

Maximum number of items (maxItems): 1

data-lanes — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Required in this object (required): "clock-lanes", "data-lanes"

port@b — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Output port node, single endpoint describing the CSI-2 transmitter TXB.

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

clock-lanes — required here

Maximum number of items (maxItems): 1

data-lanes — required here

Maximum number of items (maxItems): 1

Required in this object (required): "clock-lanes", "data-lanes"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "adi,adv7481"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

interrupt-names — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

Array item rules (items)

Allowed values (enum): "intrq1", "intrq2", "intrq3"

When the condition does not match (else) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupt-names — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Array item rules (items)

Allowed values (enum): "intrq1", "intrq2"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "ports"

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    video-receiver@70 {
        compatible = "adi,adv7482";
        reg = <0x70 0x71 0x72 0x73 0x74 0x75
               0x60 0x61 0x62 0x63 0x64 0x65>;
        reg-names = "main", "dpll", "cp", "hdmi", "edid", "repeater",
                    "infoframe", "cbus", "cec", "sdp", "txa", "txb";

        interrupt-parent = <&gpio6>;
        interrupts = <30 IRQ_TYPE_LEVEL_LOW>, <31 IRQ_TYPE_LEVEL_LOW>;
        interrupt-names = "intrq1", "intrq2";

        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            port@7 {
                reg = <7>;

                adv7482_ain7: endpoint {
                    remote-endpoint = <&cvbs_in>;
                };
            };

            port@8 {
                reg = <8>;

                adv7482_hdmi: endpoint {
                    remote-endpoint = <&hdmi_in>;
                };
            };

            port@a {
                reg = <10>;

                adv7482_txa: endpoint {
                    clock-lanes = <0>;
                    data-lanes = <1 2 3 4>;
                    remote-endpoint = <&csi40_in>;
                };
            };

            port@b {
                reg = <11>;

                adv7482_txb: endpoint {
                    clock-lanes = <0>;
                    data-lanes = <1>;
                    remote-endpoint = <&csi20_in>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page