NVIDIA Tegra DisplayPort AUX Interface

Schema identifier ($id): "http://devicetree.org/schemas/display/tegra/nvidia,tegra124-dpaux.yaml#"

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

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"

The Tegra Display Port Auxiliary (DPAUX) pad controller manages two pins which can be assigned to either the DPAUX channel or to an I2C controller.

When configured for DisplayPort AUX operation, the DPAUX controller can also be used to communicate with a DisplayPort device using the AUX channel.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^dpaux@[0-9a-f]+$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra124-dpaux", "nvidia,tegra210-dpaux", "nvidia,tegra186-dpaux", "nvidia,tegra194-dpaux"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra132-dpaux"

Item 2

Exact value (const): "nvidia,tegra124-dpaux"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

clock input for the DPAUX hardware

Item 2

reference clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dpaux"

Item 2

Exact value (const): "parent"

resets — required here #

Array item rules (items) #

Item 1

module reset

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dpaux"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

i2c-bus — not listed as required here #

Subnode where I2C slave devices are listed. This subnode must be always present. If there are no I2C slave devices, an empty node should be added. See ../../i2c/i2c.yaml for more information.

Value type (type): "object"

aux-bus — not listed as required here #

Shared schema rule ($ref): /schemas/display/dp-aux-bus.yaml#

vdd-supply — not listed as required here #

phandle of a supply that powers the DisplayPort link

Properties matching a name pattern (patternProperties) #

^pinmux-[a-z0-9]+$ — name matches this regular expression #

Since only three configurations are possible, only three child nodes are needed to describe the pin mux'ing options for the DPAUX pads. Furthermore, given that the pad functions are only applicable to a single set of pads, the child nodes only need to describe the pad group the functions are being applied to rather than the individual pads.

Value type (type): "object"

Properties and child nodes (properties) #

groups — required here

Exact value (const): "dpaux-io"

function — required here

Allowed values (enum): "aux", "i2c", "off"

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

false

Not allowed by this rule.

Required in this object (required): "groups", "function"

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "reset-names"

Examples (examples) #

#include <dt-bindings/clock/tegra210-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

dpaux: dpaux@545c0000 {
    compatible = "nvidia,tegra210-dpaux";
    reg = <0x545c0000 0x00040000>;
    interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&tegra_car TEGRA210_CLK_DPAUX>,
             <&tegra_car TEGRA210_CLK_PLL_DP>;
    clock-names = "dpaux", "parent";
    resets = <&tegra_car 181>;
    reset-names = "dpaux";
    power-domains = <&pd_sor>;

    state_dpaux_aux: pinmux-aux {
        groups = "dpaux-io";
        function = "aux";
    };

    state_dpaux_i2c: pinmux-i2c {
        groups = "dpaux-io";
        function = "i2c";
    };

    state_dpaux_off: pinmux-off {
        groups = "dpaux-io";
        function = "off";
    };

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

Source notes #

Annotations retained from the schema source

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

Edit this page