Path: blob/master/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/extcon/siliconmitus,sm5502-muic.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: SM5502/SM5504 MUIC (Micro-USB Interface Controller) device78maintainers:9- Chanwoo Choi <cw00.choi@samsung.com>1011description:12The Silicon Mitus SM5502 is a MUIC (Micro-USB Interface Controller) device13which can detect the state of external accessory when external accessory is14attached or detached and button is pressed or released. It is interfaced to15the host controller using an I2C interface.1617properties:18compatible:19enum:20- siliconmitus,sm5502-muic21- siliconmitus,sm5504-muic22- siliconmitus,sm5703-muic2324reg:25maxItems: 126description: I2C slave address of the device. Usually 0x25 for SM550227and SM5703, 0x14 for SM5504.2829connector:30$ref: /schemas/connector/usb-connector.yaml#31unevaluatedProperties: false3233interrupts:34maxItems: 13536required:37- compatible38- reg39- interrupts4041additionalProperties: false4243examples:44- |45#include <dt-bindings/interrupt-controller/irq.h>46i2c {47#address-cells = <1>;48#size-cells = <0>;4950extcon@25 {51compatible = "siliconmitus,sm5502-muic";52reg = <0x25>;53interrupt-parent = <&msmgpio>;54interrupts = <12 IRQ_TYPE_EDGE_FALLING>;55};56};575859