Re: [RFC PATCH 0/1] dt-bindings: connector: Add role‑switch provider phandle

From: Elson Serrao

Date: Mon Mar 09 2026 - 16:43:14 EST




On 2/24/2026 10:56 AM, Elson Serrao wrote:
> +Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
>
> Adding Heikki since this relates to usb-role-switch provider modeling.
>
> Thanks,
> Elson
>
> On 2/23/2026 11:10 AM, Elson Serrao wrote:
>> Hi all,
>>
>> This RFC proposes a generic Devicetree mechanism for a USB connector to
>> reference the USB role‑switch provider when there is an intermediate,
>> block between the connector and the controller in the OF graph.
>>
>> Problem
>> =======
>> OF‑graph links are strictly point‑to‑point via remote-endpoint, so a
>> consumer can only discover its immediate neighbor in the graph. When an
>> intermediate node sits between the USB connector and the controller, the
>> connector cannot identify the controller (the role‑switch provider) from
>> the graph alone.
>>

[...]

Gentle ping on this RFC.

When you have a moment, I’d appreciate guidance on whether the proposed
modeling direction looks acceptable.

For context only, the following DTS patch illustrates this modeling:
https://lore.kernel.org/all/20260309203337.803986-11-elson.serrao@xxxxxxxxxxxxxxxx/

Thanks!