Thread (7 messages) 7 messages, 5 authors, 2012-11-22

Re: [PATCH 1/4] OF: Add helper for matching against linux,stdout-path

From: Jean-Christophe PLAGNIOL-VILLARD <hidden>
Date: 2012-11-22 05:41:38
Also in: linux-arm-kernel, linux-serial

Possibly related (same subject, not in this thread)

On 18:03 Wed 21 Nov     , Grant Likely wrote:
On Wed, Nov 21, 2012 at 3:57 PM, Jean-Christophe PLAGNIOL-VILLARD
[off-list ref] wrote:
quoted
From: Sascha Hauer <s.hauer@pengutronix.de>

devicetrees may have a linux,stdout-path or stdout-path property
in the chosen node describing the console device. This adds a helper
function to match a device against this property and retrieve the options
so a driver can call add_preferred_console for a matching device.
NIce. Looks like the right behaviour, but is a little inefficient.
Since the stdout property doesn't change this code could be called
once right after the tree is unflattened and then cache the pointer to
the node anarguments. Can you add the code to of_alias_scan()?
do we assume that we can have only one stdout-path?

I think we could have more serial, framebuffer console

Best Regards,
J.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help