xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/extcon/extcon-sm5502.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun
2*4882a593Smuzhiyun* SM5502 MUIC (Micro-USB Interface Controller) device
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThe Silicon Mitus SM5502 is a MUIC (Micro-USB Interface Controller) device
5*4882a593Smuzhiyunwhich can detect the state of external accessory when external accessory is
6*4882a593Smuzhiyunattached or detached and button is pressed or released. It is interfaced to
7*4882a593Smuzhiyunthe host controller using an I2C interface.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunRequired properties:
10*4882a593Smuzhiyun- compatible: Should be "siliconmitus,sm5502-muic"
11*4882a593Smuzhiyun- reg: Specifies the I2C slave address of the MUIC block. It should be 0x25
12*4882a593Smuzhiyun- interrupts: Interrupt specifiers for detection interrupt sources.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	sm5502@25 {
17*4882a593Smuzhiyun		compatible = "siliconmitus,sm5502-muic";
18*4882a593Smuzhiyun		interrupt-parent = <&gpx1>;
19*4882a593Smuzhiyun		interrupts = <5 0>;
20*4882a593Smuzhiyun		reg = <0x25>;
21*4882a593Smuzhiyun	};
22