[PATCH v4 1/9] of: property: add of_graph_get_next_port()
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Thu Aug 29 23:29:00 UTC 2024
Hi Rob
> > node {
> > => ports at 0 {
> > port at 0 { ... };
> > port at 1 { ... };
> > ...
> > };
> > => ports at 1 {
> > ...
> > };
> > };
>
> There is no schema that supports this structure. The closest thing we
> have is in-ports and out-ports in Coresight bindings.
>
> In any case, it should be a separate patch, not buried in here.
Oops, my driver is using multi ports already.
it is handling like below
+-- Board -------------+
|+--------+ +------+|
||SoC (A)|<--->|Codec1|| Sound Card0
|| | +------+|
|| (B)|<-+ |
|+--------+ | |
+------------|----------+
+-- Expansion board ----+
| | +------+|
| +->|Codec2|| Sound Card1
| +------+|
+-----------------------+
Here (A) is handled by ports0, and (B) is handled by ports1,
and each ports has many port nodes.
Thank you for your help !!
Best regards
---
Kuninori Morimoto
More information about the dri-devel
mailing list