Re: [PATCH] arm64: dts: rockchip: Describe the Type-C port on RK3576 EVB1
From: Chaoyi Chen
Date: Fri Nov 13 2026 - 02:11:12 EST
On 11/12/2026 9:25 PM, Alexey Charkov wrote:
> On Thu, Nov 12, 2026 at 5:01 AM Chaoyi Chen <chaoyi.chen@xxxxxxxxxxxxxx> wrote:
>>
>> Hi Alexey,
>>
>> On 11/11/2026 6:45 PM, Alexey Charkov wrote:
>>> Hi Chaoyi,
>>>
>>> On Wed, Nov 11, 2026 at 1:31 PM Chaoyi Chen <chaoyi.chen@xxxxxxxxxxxxxx> wrote:
>>>>
>>>> Hi Alexey,
>>>>
>>>> On 11/7/2026 1:52 AM, Alexey Charkov wrote:
>>>>> RK3576 EVB1 has its USBDP PHY routed to a Type-C port with a HUSB311 CC
>>>>> controller and a fixed-voltage VBUS supply.
>>>>>
>>>>> Describe it in the device tree, including the wiring for both the USB and
>>>>> the DP side.
>>>>>
>>>>> This makes the data roles follow the Type-C port's negotiation, so the
>>>>> port stops being host only. It also leaves the VBUS regulator to be
>>>>> managed by TCPM instead of being hardwired via the tangentially related
>>>>> phy-supply on a USB controller. DP lanes are also muxed dynamically by
>>>>> the USBDP PHY based on the Type-C port's negotiation, so the hacky fixed
>>>>> lane muxing also goes away.
>>>>>
>>>>
>>>> Have you tested this? As far as I know, dw-dp driver does not support
>>>> Type-C HPD yet.
>>>
>>> I did - it works fine for me under Linux with Sebastian's patches. My
>>> primary motivation, however, was U-Boot, where the current phy-supply
>>> hack breaks USB data role switching, due to VBUS being forced
>>> always-on. With this patch it works, and now the DT actually describes
>>> the hardware, as it is supposed to.
>>>
>>
>> Oh, I almost forgot about that. I think it should be this patch series[0], right?
>>
>> But I think we probably need more than just this series, because
>> richtek,rt1711h does not register the HPD bridge, so we will get this:
>>
>> [ 14.828983] auxiliary aux_bridge.aux_bridge.0: deferred probe pending: aux_bridge.aux_bridge: failed to acquire drm_bridge
>>
>> Maybe you have already added the corresponding patch yourself?
>> Another option is to use the generic AUX HPD patch[1]. :)
>>
>> [0]: https://lore.kernel.org/linux-rockchip/20260806-synopsys-dw-dp-improvements-v11-0-0d508505f383@xxxxxxxxxxxxx/
>> [1]: https://lore.kernel.org/all/20261020072816.180-1-kernel@xxxxxxxxxx/
>
> Yes, on my daily-use branch [0] I've got a local commit enabling the
> HPD bridge specifically for TCPCI (69b7c806b334). But that's all
> driver territory, so out of scope for DT discussion ;-)
>
> [0] https://github.com/flipperdevices/flipper-linux-kernel
Great! Also worked for me.
Tested-by: Chaoyi Chen <chaoyi.chen@xxxxxxxxxxxxxx>
--
Best,
Chaoyi