Texas Instruments TWL6030 USB Comparator
Schema identifier ($id): "http://devicetree.org/schemas/usb/ti,twl6030-usb.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Peter Ujfalusi <peter.ujfalusi@gmail.com>"
Bindings for the USB comparator module found within the TWL6030 family of companion chips.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,twl6030-usb"
interrupts — required here #
Array item rules (items) #
Item 1
OTG for ID events in host mode
Item 2
USB device mode for VBUS events
usb-supply — required here #
Phandle to the VUSB regulator. For TWL6030, this should be the 'vusb' regulator. For TWL6032 subclass, it should be the 'ldousb' regulator.
Required in this object (required): "compatible", "interrupts", "usb-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>
usb {
compatible = "ti,twl6030-usb";
interrupts = <4 IRQ_TYPE_LEVEL_HIGH>, <10 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
usb-supply = <®_vusb>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)