Re: [PATCH v5 1/2] arm64: dts: qcom: shikra: Add CYPD6129/CYPD6229 Type-C controller support
From: Konrad Dybcio
Date: Thu Dec 03 2026 - 07:23:54 EST
On 11/26/26 11:42 AM, Akash Kumar wrote:
> Add the Cypress CYPD6129/CYPD6229 Type-C PD controllers used on the
> Shikra CQM, CQS and IQS platforms, and wire up their connectors to
> the corresponding USB controllers.
>
> CQM and CQS each expose a single USB-C port driven by a CYPD6129 on
> I2C3, connected to the HS-only usb_2 controller. IQS exposes two
> USB-C ports driven by a CYPD6229 (CYPD6129-compatible) on I2C3: the
> first port is HS-only and connects to usb_2, while the second port
> carries both the HS and SuperSpeed lanes and connects to usb_1 and
> its QMP SS PHY.
>
> Both affected USB controllers are switched from the board-default
> peripheral-only mode to OTG, so that the role-switch framework can
> move them between host and device roles based on the data role the
> PD controller negotiates.
>
> The PD controller's interrupt line is routed through a TLMM pin and
> marked as a wakeup source, since Type-C attach/detach and role
> events need to wake the SoC. On IQS, the 5V VBUS boost supply is
> driven by a GPIO rather than a PMIC rail, so it is modeled as an
> always-on regulator-fixed node, matching the existing boost-supply
> pattern used elsewhere on Shikra/Purwa. It is left unconnected to
^^^^^ ???
[...]
> +&usb_2 {
> + dr_mode = "otg";
> +};
OTG is the default value for this property
Konrad