Re: [PATCH v5 0/7] phy: cpcap-usb: improve charger detection and export cable state

From: Manivannan Sadhasivam

Date: Wed Sep 09 2026 - 13:16:33 EST


On Sat, Jul 11, 2026 at 11:42:03PM +0300, Ivaylo Dimitrov wrote:
> The Motorola CPCAP USB PHY contains the hardware state machine used for
> USB cable detection. Besides distinguishing USB peripheral and host
> connections, it can also detect dedicated charging ports (DCP).
>
> This series extends the CPCAP USB PHY driver to detect DCP connections
> and export the detected cable state through the Extcon framework. It also
> makes the idle UART mode optional, allowing the PHY to remain in its
> default USB detection configuration unless UART support is explicitly
> requested.
>
> The series updates the Device Tree binding for the optional charger
> detection interrupt and the optional "safe" pinctrl state. Corresponding
> mapphone Device Tree entries are added to describe the charger detection
> interrupt and enable the safe pinctrl state.
>
> The charger detection interrupt is not currently used by the driver.
> However, it is added to the binding and Device Tree because it describes
> a hardware capability of the CPCAP USB PHY.
>
> The series has been tested on Motorola Droid 4 hardware.
>

Due to mangled CC "--cc=linux-phy@xxxxxxxxxxxxxxxxxxx" PHY list was not CCed to
this series. Please fix it in the next version.

- Mani

--
மணிவண்ணன் சதாசிவம்