Maxim’s app note on a highly compact Type-C charger solution. Link here (PDF)

A highly integrated solution, as seen with the MAX77860 USB Type-C 3A switch-mode charger, dramatically reduces system complexity by integrating the charger, the power path, the Safeout LDO, ADC, and the USB-C CC and BC 1.2 detection in a small 3.9mm x 4.0mm, 0.4mm pitch, WLP package. OTG functionality is seamlessly integrated without the need for an extra inductor. This level of integration simplifies the design, enabling the delivery of more power and more functionality in minimal PCB space.