Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/extcon/richtek,rt8973a-muic.yaml
29539 views
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
7
title: Richtek RT8973A MUIC
8
9
maintainers:
10
- Chanwoo Choi <cw00.choi@samsung.com>
11
12
description:
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
20
properties:
21
compatible:
22
const: richtek,rt8973a-muic
23
24
reg:
25
maxItems: 1
26
27
interrupts:
28
maxItems: 1
29
30
required:
31
- compatible
32
- reg
33
- interrupts
34
35
additionalProperties: false
36
37
examples:
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
};
50
51