xref: /freebsd/sys/contrib/device-tree/Bindings/extcon/extcon-sm5502.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot
2*c66ec88fSEmmanuel Vadot* SM5502 MUIC (Micro-USB Interface Controller) device
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThe Silicon Mitus SM5502 is a MUIC (Micro-USB Interface Controller) device
5*c66ec88fSEmmanuel Vadotwhich can detect the state of external accessory when external accessory is
6*c66ec88fSEmmanuel Vadotattached or detached and button is pressed or released. It is interfaced to
7*c66ec88fSEmmanuel Vadotthe host controller using an I2C interface.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotRequired properties:
10*c66ec88fSEmmanuel Vadot- compatible: Should be "siliconmitus,sm5502-muic"
11*c66ec88fSEmmanuel Vadot- reg: Specifies the I2C slave address of the MUIC block. It should be 0x25
12*c66ec88fSEmmanuel Vadot- interrupts: Interrupt specifiers for detection interrupt sources.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExample:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot	sm5502@25 {
17*c66ec88fSEmmanuel Vadot		compatible = "siliconmitus,sm5502-muic";
18*c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpx1>;
19*c66ec88fSEmmanuel Vadot		interrupts = <5 0>;
20*c66ec88fSEmmanuel Vadot		reg = <0x25>;
21*c66ec88fSEmmanuel Vadot	};
22