devicetree-spec.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* UART map / multiple uart connections
@ 2022-07-07 17:56 Kumar Gala
       [not found] ` <A6CFEC90-1DB9-419C-A9C6-4F490B06F015-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2022-07-07 17:56 UTC (permalink / raw)
  To: Rob Herring; +Cc: devicetree-spec-u79uwXL29TY76Z2rM5mHXA

Wondering if your aware of any examples of how to describe a modem with multiple UART connections.  Normally we have the “modem” as a child of the UART node.  So that would work for one connection, but not sure how we’d describe a second UART connection.  Some kinda of “uart-map”?

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: UART map / multiple uart connections
       [not found] ` <A6CFEC90-1DB9-419C-A9C6-4F490B06F015-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
@ 2022-07-12 14:33   ` Rob Herring
       [not found]     ` <CAL_JsqJ2_MRADvfHWARTVy4=9HnumB952WBnj-uNj1pnXxjSBg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring @ 2022-07-12 14:33 UTC (permalink / raw)
  To: Kumar Gala; +Cc: Mailing List

On Thu, Jul 7, 2022 at 11:56 AM Kumar Gala <galak.kernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Wondering if your aware of any examples of how to describe a modem with multiple UART connections.  Normally we have the “modem” as a child of the UART node.  So that would work for one connection, but not sure how we’d describe a second UART connection.  Some kinda of “uart-map”?

I haven't seen that come up. The closest thing I can think of is USB3
hubs which also have a USB2 connection. Those show up as 2 nodes under
their respective controller with a phandle link to each other. Is
there a primary vs. secondary connection?

Rob

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: UART map / multiple uart connections
       [not found]     ` <CAL_JsqJ2_MRADvfHWARTVy4=9HnumB952WBnj-uNj1pnXxjSBg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2022-07-14 15:58       ` Kumar Gala
       [not found]         ` <669C8BA3-8022-43D2-A6D7-CB0CC0F8F2F0-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2022-07-14 15:58 UTC (permalink / raw)
  To: Rob Herring; +Cc: Kumar Gala, Mailing List



> On Jul 12, 2022, at 9:33 AM, Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
> 
> On Thu, Jul 7, 2022 at 11:56 AM Kumar Gala <galak.kernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> 
>> Wondering if your aware of any examples of how to describe a modem with multiple UART connections.  Normally we have the “modem” as a child of the UART node.  So that would work for one connection, but not sure how we’d describe a second UART connection.  Some kinda of “uart-map”?
> 
> I haven't seen that come up. The closest thing I can think of is USB3
> hubs which also have a USB2 connection. Those show up as 2 nodes under
> their respective controller with a phandle link to each other. Is
> there a primary vs. secondary connection?
> 
> Rob

Do you have a pointer to the USB example?

I think on of the uart’s could be considered the main connection point.  But not sure it maters.  I’m guessing we need a few standard properties to represent phandles to devices on buses that would normally have the nodes as children.

So i2c, spi, uart, etc.. 

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: UART map / multiple uart connections
       [not found]         ` <669C8BA3-8022-43D2-A6D7-CB0CC0F8F2F0-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
@ 2022-08-19 12:44           ` Kumar Gala
  0 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2022-08-19 12:44 UTC (permalink / raw)
  To: Rob Herring; +Cc: Kumar Gala, Mailing List



> On Jul 14, 2022, at 10:58 AM, Kumar Gala <galak-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
> 
> 
> 
>> On Jul 12, 2022, at 9:33 AM, Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
>> 
>> On Thu, Jul 7, 2022 at 11:56 AM Kumar Gala <galak.kernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>> 
>>> Wondering if your aware of any examples of how to describe a modem with multiple UART connections.  Normally we have the “modem” as a child of the UART node.  So that would work for one connection, but not sure how we’d describe a second UART connection.  Some kinda of “uart-map”?
>> 
>> I haven't seen that come up. The closest thing I can think of is USB3
>> hubs which also have a USB2 connection. Those show up as 2 nodes under
>> their respective controller with a phandle link to each other. Is
>> there a primary vs. secondary connection?
>> 
>> Rob
> 
> Do you have a pointer to the USB example?
> 
> I think on of the uart’s could be considered the main connection point.  But not sure it maters.  I’m guessing we need a few standard properties to represent phandles to devices on buses that would normally have the nodes as children.
> 
> So i2c, spi, uart, etc.. 
> 
> - k

Rob, any follow up on this?

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-19 12:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-07 17:56 UART map / multiple uart connections Kumar Gala
     [not found] ` <A6CFEC90-1DB9-419C-A9C6-4F490B06F015-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2022-07-12 14:33   ` Rob Herring
     [not found]     ` <CAL_JsqJ2_MRADvfHWARTVy4=9HnumB952WBnj-uNj1pnXxjSBg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-14 15:58       ` Kumar Gala
     [not found]         ` <669C8BA3-8022-43D2-A6D7-CB0CC0F8F2F0-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2022-08-19 12:44           ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).