Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa
- From: Dmitry <dbaryshkov@xxxxxxxxx>
- Date: Wed, 9 Apr 2008 23:39:12 +0400
Hi, Russell,
2008/4/9, Russell King <rmk+lkml@xxxxxxxxxxxxxxxx>:
On Wed, Apr 09, 2008 at 08:09:16PM +0100, Alan Cox wrote:
> > Basically what I'm thinking is a serial_core function which could be
> > called to say "I'm an IrDA driver, and I think I should be using the
> > serial port located <here>, please give me control of it" and it'd
> > pass over the various parameters including the struct device for it.
> > Or something like that.
>
> It's called a line discipline, we've had them for many years. We may need
> a way for ldiscs and drivers to co-operate a bit more but these days we
> support proper buffering and arbitary baud rates (except on a few
> platforms whose maintainers are not paying attention ;)).
That would be a good thing to have.
I feel that's a "it would be nice if" solution - and something worth
aiming for, but the amount of work required to get there is not going
to be insignificant.
Maybe Dmitry can bite his nails on the NULL device clklib issue for a
while as this transition is happening ? (Though we need to find someone
to make it happen... we need volunteers!)
Russell, I'd propose to agree to bind PXA's IrDA to STUARTCLK and
leave UARTCLK function to real pxa uart driver. If you would oppose, I
won't have any choises other that to agree with it.
--
With best wishes
Dmitry
--
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/
- References:
- [PATCH 0/6] Clocklib: generic clocks framework
- From: Dmitry Baryshkov
- [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa
- From: Dmitry Baryshkov
- Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa
- From: Andrew Morton
- Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa
- From: Russell King
- Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa
- From: Dmitry
- Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa
- From: Russell King
- Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa
- From: Dmitry
- Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa
- From: Russell King
- Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa
- From: Alan Cox
- Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa
- From: Russell King
- [PATCH 0/6] Clocklib: generic clocks framework
- Prev by Date: Re: [ANNOUNCE] e1000 to e1000e migration of PCI Express devices
- Next by Date: [patch] e1000=y && e1000e=m regression fix (was: Re: [regression] e1000e broke e1000)
- Previous by thread: Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa
- Next by thread: Re: [PATCH 5/6] Clocklib: Use correct clock for IrDA on pxa
- Index(es):
Relevant Pages
|