Analog Devices ADV7604/10/11/12 video decoder with HDMI receiver
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/adi,adv7604.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hans Verkuil <hverkuil@kernel.org>"
The ADV7604 and ADV7610/11/12 are multiformat video decoders with an integrated HDMI receiver. The ADV7604 has four multiplexed HDMI inputs and one analog input, and the ADV7610/11 have one HDMI input and no analog input. The ADV7612 is similar to the ADV7610/11 but has 2 HDMI inputs. These device tree bindings support the ADV7610/11/12 only at the moment.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"adi,adv7610","adi,adv7611","adi,adv7612"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 13
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):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 3
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 4
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 5
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 6
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 7
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 8
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 9
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 10
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 11
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 12
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 13
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
hpd-gpios — not listed as required here #
Minimum number of items (minItems): 1
References to the GPIOs that control the HDMI hot-plug detection pins, one per HDMI input. The active flag indicates the GPIO level that enables hot-plug detection.
default-input — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Select which input is selected after reset.
ports — required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"adi,adv7611"When the condition matches (
then) #Properties and child nodes (
properties)
ports— not listed as required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portsProperties and child nodes (
properties)
port@0— not listed as required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portInput port
port@1— required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portOutput port
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"adi,adv7612"When the condition matches (
then) #Properties and child nodes (
properties)
ports— not listed as required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portsProperties and child nodes (
properties)
port@2— required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portOutput port
Properties matching a name pattern (
patternProperties)
^port@[0-1]$— name matches this regular expressionShared schema rule (
$ref):/schemas/graph.yaml#/properties/portInput port
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
hdmi_receiver@4c {
compatible = "adi,adv7611";
/*
* The edid page will be accessible @ 0x66 on the I2C bus. All
* other maps will retain their default addresses.
*/
reg = <0x4c>, <0x66>;
reg-names = "main", "edid";
reset-gpios = <&ioexp 0 GPIO_ACTIVE_LOW>;
hpd-gpios = <&ioexp 2 GPIO_ACTIVE_HIGH>;
default-input = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
};
port@1 {
reg = <1>;
hdmi_in: endpoint {
remote-endpoint = <&ccdc_in>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)