ITE IT5202 Type-C USB Alternate Mode Passive MUX
Schema identifier ($id): "http://devicetree.org/schemas/usb/ite,it5205.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>", "Tianping Fang <tianping.fang@mediatek.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ite,it5205"
reg — required here #
Maximum number of items (maxItems): 1
vcc-supply — not listed as required here #
Power supply for VCC pin (3.3V)
mode-switch — not listed as required here #
Flag the port as possible handle of altmode switching
Value type (type): "boolean"
orientation-switch — required here #
Flag the port as possible handler of orientation switching
Value type (type): "boolean"
ite,ovp-enable — not listed as required here #
Enable Over Voltage Protection functionality
Value type (type): "boolean"
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
A port node to link the IT5205 to a TypeC controller for the purpose of handling altmode muxing and orientation switching.
Required in this object (required): "compatible", "reg", "orientation-switch", "port"
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 {
#address-cells = <1>;
#size-cells = <0>;
typec-mux@48 {
compatible = "ite,it5205";
reg = <0x48>;
mode-switch;
orientation-switch;
vcc-supply = <&mt6359_vibr_ldo_reg>;
port {
it5205_usbss_sbu: endpoint {
remote-endpoint = <&typec_controller>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause