Thread (7 messages) 7 messages, 3 authors, 2013-08-12

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

From: s.hauer@pengutronix.de (Sascha Hauer)
Date: 2013-08-05 13:16:28
Also in: linux-serial, lkml

On Mon, Aug 05, 2013 at 07:59:01AM -0500, Rob Herring wrote:
On 08/05/2013 07:40 AM, Sascha Hauer wrote:
quoted
devicetrees may have a linux,stdout-path property in the chosen
node describing the console device. This adds a helper function
to match a device against this property so a driver can call
add_preferred_console for a matching device.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Rob Herring <redacted>

There are no existing users that could take advantage of this?
The existing users do not register the console in the drivers probe
function but instead have initcalls which parse the linux,stdout-path
property manually and register whatever they find there. The better
implementations at least check whether the node they find actually is
compatible to the driver.

Sorry, no users to change here without having access to the hardware.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help