Texas Instruments TWL4030 USB PHY and Comparator
Schema identifier ($id): "http://devicetree.org/schemas/usb/ti,twl4030-usb.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Peter Ujfalusi <peter.ujfalusi@gmail.com>"
Bindings for the USB PHY and comparator module found within the TWL4030 family of companion chips. If a sibling node is compatible with "ti,twl4030-bci", the driver for that node will query this device for USB power status.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,twl4030-usb"
interrupts — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
OTG interrupt number for ID events.
Item 2
USB interrupt number for VBUS events.
usb1v5-supply — required here #
Phandle to the vusb1v5 regulator.
usb1v8-supply — required here #
Phandle to the vusb1v8 regulator.
usb3v1-supply — required here #
Phandle to the vusb3v1 regulator.
usb_mode — required here #
The mode used by the PHY to connect to the controller:
1: ULPI mode
2: CEA2011_3PIN mode
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
#phy-cells — not listed as required here #
Exact value (const): 0
Required in this object (required): "compatible", "interrupts", "usb1v5-supply", "usb1v8-supply", "usb3v1-supply", "usb_mode"
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-phy {
compatible = "ti,twl4030-usb";
interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
usb1v5-supply = <®_vusb1v5>;
usb1v8-supply = <®_vusb1v8>;
usb3v1-supply = <®_vusb3v1>;
usb_mode = <1>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)