SM5502/SM5504 MUIC (Micro-USB Interface Controller) device

Schema identifier ($id): "http://devicetree.org/schemas/extcon/siliconmitus,sm5502-muic.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>"

The Silicon Mitus SM5502 is a MUIC (Micro-USB Interface Controller) device which can detect the state of external accessory when external accessory is attached or detached and button is pressed or released. It is interfaced to the host controller using an I2C interface.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "siliconmitus,sm5502-muic", "siliconmitus,sm5504-muic", "siliconmitus,sm5703-muic"

reg — required here #

Maximum number of items (maxItems): 1

I2C slave address of the device. Usually 0x25 for SM5502 and SM5703, 0x14 for SM5504.

connector — not listed as required here #

Shared schema rule ($ref): /schemas/connector/usb-connector.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    extcon@25 {
            compatible = "siliconmitus,sm5502-muic";
            reg = <0x25>;
            interrupt-parent = <&msmgpio>;
            interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page