The MP5402 integrates a monolithic, step-down, switch-mode converter with two USB current-limit switches and a charging port identification circuit. The MP5402 achieves 5A of continuous output current with excellent load and line regulation over a wide input supply range. The output of the USB switch is current-limited. Both USB ports support DCP schemes for the battery charging specification (BC1.2), divider mode, and 1.2V/1.2V mode, eliminating the need for outside user interaction. The output voltage has programmable line drop compensation. Full protection features include hiccup current limiting, output over-voltage protection (OVP), and thermal shutdown. The MP5402 requires a minimal number of readily available, standard, external components and is available in a QFN-26 (4mmx4mm) package.