Re: [Gta04-owner] [PATCH 3/3] tty/slaves: add a driver to power on/off UART attached devices.
From: Pavel Machek
Date: Fri Mar 20 2015 - 15:50:26 EST
Hi!
> >>
> >> Wouldnât it be easier to simply write
> >>
> >> &uart1 {
> >> vdd-suppy = <&vaux4>;
> >> }
> >
> > Easier to write: certainly.
> > Easier to justify? No.
>
> I just justified.
>
> > Easier to get merged upstream? Definitely not.
>
> Are you the maintainer?
And you? I believe Neil is right here, and this kind of shortcut can
not be taken.
> > After all, the uart itself doesn't require a power supply.
> > It is the device connected to the uart which requires the power supply.
>
> Yes.
There's UART, long rs/232 cable, and a GPS.
UART needs some kind of power supply, to present voltages on the
rs/232 cable.
GPS needs some kind of power supply to work.
They are different power supplies, and we should have way to tell them
apart.
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/