Re: [Gta04-owner] [PATCH 3/3] tty/slaves: add a driver to power on/off UART attached devices.

From: Pavel Machek
Date: Sat Apr 04 2015 - 03:52:50 EST


Hi!

> >> And if you want to hide uart1 from the user-space, that should be a property
> >> of the uart1 node (whereever it is defined).
> >
> > Sorry? That would be one heck of layering violation.
>
> Which layering?

Device tree is not operating system specific. It does not know what
"user space" is, and can't assume we have uart nodes in
/dev. Therefore it can't contain information that it should be hidden.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/