Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/extcon/maxim,max14526.yaml
29548 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/maxim,max14526.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Maxim MAX14526 MicroUSB Integrated Circuit (MUIC)
8
9
maintainers:
10
- Svyatoslav Ryhel <clamor95@gmail.com>
11
12
properties:
13
compatible:
14
const: maxim,max14526
15
16
reg:
17
maxItems: 1
18
19
interrupts:
20
maxItems: 1
21
22
connector:
23
$ref: /schemas/connector/usb-connector.yaml#
24
25
port:
26
$ref: /schemas/graph.yaml#/properties/port
27
28
required:
29
- compatible
30
- reg
31
- interrupts
32
- connector
33
- port
34
35
unevaluatedProperties: false
36
37
examples:
38
- |
39
#include <dt-bindings/gpio/gpio.h>
40
#include <dt-bindings/interrupt-controller/irq.h>
41
42
i2c {
43
#address-cells = <1>;
44
#size-cells = <0>;
45
46
muic@44 {
47
compatible = "maxim,max14526";
48
reg = <0x44>;
49
50
interrupt-parent = <&gpio>;
51
interrupts = <72 IRQ_TYPE_EDGE_FALLING>;
52
53
connector {
54
compatible = "usb-b-connector";
55
label = "micro-USB";
56
type = "micro";
57
};
58
59
port {
60
#address-cells = <1>;
61
#size-cells = <0>;
62
63
muic_to_charger: endpoint@0 {
64
reg = <0>;
65
remote-endpoint = <&charger_input>;
66
};
67
68
muic_to_usb: endpoint@1 {
69
reg = <1>;
70
remote-endpoint = <&usb_input>;
71
};
72
73
muic_to_mhl: endpoint@2 {
74
reg = <2>;
75
remote-endpoint = <&mhl_input>;
76
};
77
};
78
};
79
};
80
...
81
82