File Index
Files and directories
Sign in
FILE

richtek,rt8973a-muic.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/extcon/richtek,rt8973a-muic.yaml YAML
 1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/extcon/richtek,rt8973a-muic.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Richtek RT8973A MUIC
 8
 9maintainers:
10  - Chanwoo Choi <cw00.choi@samsung.com>
11
12description:
13  The Richtek RT8973A is Micro USB Switch with OVP and I2C interface. The RT8973A
14  is a USB port accessory detector and switch that is optimized to protect low
15  voltage system from abnormal high input voltage (up to 28V) and supports high
16  speed USB operation. Also, RT8973A support 'auto-configuration' mode.
17  If auto-configuration mode is enabled, RT8973A would control internal h/w patch
18  for USB D-/D+ switching.
19
20properties:
21  compatible:
22    const: richtek,rt8973a-muic
23
24  reg:
25    maxItems: 1
26
27  interrupts:
28    maxItems: 1
29
30required:
31  - compatible
32  - reg
33  - interrupts
34
35additionalProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/interrupt-controller/irq.h>
40    i2c {
41        #address-cells = <1>;
42        #size-cells = <0>;
43        usb-switch@14 {
44          compatible = "richtek,rt8973a-muic";
45          reg = <0x14>;
46          interrupt-parent = <&gpio>;
47          interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
48        };
49    };
~/ Read-only file preview.