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

From: Heikki Krogerus

Date: Wed Mar 11 2026 - 09:31:08 EST


Mon, Mar 09, 2026 at 01:41:20PM -0700, Elson Serrao kirjoitti:
>
>
> 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/

FWIW you proposal is okay by me.

thanks,

--
heikki