devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* using labels for stdout-path
@ 2017-05-11 13:05 Uwe Kleine-König
       [not found] ` <20170511130545.co6pyyvlwuitbyne-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Uwe Kleine-König @ 2017-05-11 13:05 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA; +Cc: kernel-bIcnvbaLZ9MEGnE8C9+IrQ

Hello,

on an i.MX28 based machine I want to have the console on &duart with
115200 Bd, 8 Bit, no parity.

The options for that are AFAICT:

 - use an alias, like:

 	stdout-path = "serialX:115200n8";

   the problem here is, that the duart doesn't have an alias. I guess I
   shouldn't introduce a new one for my setup?

 - use a label, like:

 	stdout-path = &duart, ":115200n8";

   This would be the prettiest, but that doesn't work, because there is
   a '\0' separating the path and the options.

 - use the full path, like:

 	stdout-path = "/apb@80000000/apbx@80040000/serial@80074000:115200n8";

   This is ugly.

Do I miss something? Is that worth to introduce new syntax, maybe

	stdout-path = &duart . ":115200n8";

or similar?

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2017-05-13  8:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-11 13:05 using labels for stdout-path Uwe Kleine-König
     [not found] ` <20170511130545.co6pyyvlwuitbyne-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2017-05-11 15:49   ` Rob Herring
     [not found]     ` <CAL_JsqL66sWFovGhYGaA_sB_pnvTrjyaQ7MW3=5pkD5Qwb6y_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-11 18:40       ` Uwe Kleine-König
     [not found]         ` <20170511184023.oi4bwwrutllexjen-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2017-05-12  3:48           ` David Gibson
     [not found]             ` <20170512034816.GA12908-K0bRW+63XPQe6aEkudXLsA@public.gmane.org>
2017-05-12  7:41               ` Uwe Kleine-König
     [not found]                 ` <20170512074155.oshpdio2hb7cz377-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2017-05-13  8:29                   ` David Gibson

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).