All of lore.kernel.org
 help / color / mirror / Atom feed
* How do /dev/ttyS* devices get assigned from the device tree?
@ 2016-07-08 16:58 Patrick Doyle
  2016-07-09 19:37   ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Doyle @ 2016-07-08 16:58 UTC (permalink / raw)
  To: linux-arm-kernel

Do they show up numerically in the sequence in which they appear in
the device tree?

Where could I learn more?

--wpd

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

* How do /dev/ttyS* devices get assigned from the device tree?
  2016-07-08 16:58 How do /dev/ttyS* devices get assigned from the device tree? Patrick Doyle
@ 2016-07-09 19:37   ` Baruch Siach
  0 siblings, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2016-07-09 19:37 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Patrick,

On Fri, Jul 08, 2016 at 12:58:06PM -0400, Patrick Doyle wrote:
> Do they show up numerically in the sequence in which they appear in
> the device tree?
> 
> Where could I learn more?

Adding devicetree ML to Cc.

You may use an "aliases" node for that, if your UART driver supports that. The 
8250/16550 driver does. See arch/arm/boot/dts/aspeed-ast2500-evb.dts, for 
example. Note though that the use of aliases for this purpose is contentious.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

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

* Re: How do /dev/ttyS* devices get assigned from the device tree?
@ 2016-07-09 19:37   ` Baruch Siach
  0 siblings, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2016-07-09 19:37 UTC (permalink / raw)
  To: Patrick Doyle; +Cc: devicetree, linux-arm-kernel

Hi Patrick,

On Fri, Jul 08, 2016 at 12:58:06PM -0400, Patrick Doyle wrote:
> Do they show up numerically in the sequence in which they appear in
> the device tree?
> 
> Where could I learn more?

Adding devicetree ML to Cc.

You may use an "aliases" node for that, if your UART driver supports that. The 
8250/16550 driver does. See arch/arm/boot/dts/aspeed-ast2500-evb.dts, for 
example. Note though that the use of aliases for this purpose is contentious.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

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

end of thread, other threads:[~2016-07-09 19:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-08 16:58 How do /dev/ttyS* devices get assigned from the device tree? Patrick Doyle
2016-07-09 19:37 ` Baruch Siach
2016-07-09 19:37   ` Baruch Siach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.