Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: extcon: Document Maxim MAX14526 MUIC

Add bindings for Maxim MAX14526 MicroUSB Integrated Circuit.

Link: https://lore.kernel.org/lkml/20250506073216.43059-2-clamor95@gmail.com/
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>

authored by

Svyatoslav Ryhel and committed by
Chanwoo Choi
de33ea61 92bac7d4

+80
+80
Documentation/devicetree/bindings/extcon/maxim,max14526.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/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 + ...