All of lore.kernel.org
 help / color / mirror / Atom feed
* of_serial.c: adding UPF_FIXED_TYPE flag
@ 2009-06-03 16:26 David Mitchell
  2009-06-04 12:39 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: David Mitchell @ 2009-06-03 16:26 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: arnd

Hello,

Are there any objections or concerns on adding UPF_FIXED_TYPE to the
port flags for the of_serial driver? Or maybe - are there any
implementations using of_serial that rely on the 8250's probing to
determine type? Based on the configs it looks like just the 4xx and 6xx
variants are using this driver.

The UPF_FIXED_TYPE is a flag added earlier this year to bypass the
8250's autoconfig probing to determine type ("Serial: Allow port type to
be specified when calling serial8250_register_port").

On our 16750 capable parts, the 8250's autoconfig probing is identifying
the UARTs as a 16550a. Adding this flag to of_serial's would let us
drive the type directly from the device tree. Thus we could avoid
polluting the 8250 driver with processor-specific tests.

Thoughts or other suggestions?

Thanks,

Dave Mitchell
AppliedMicro

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: of_serial.c: adding UPF_FIXED_TYPE flag
  2009-06-03 16:26 of_serial.c: adding UPF_FIXED_TYPE flag David Mitchell
@ 2009-06-04 12:39 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2009-06-04 12:39 UTC (permalink / raw)
  To: David Mitchell; +Cc: linuxppc-dev

On Wednesday 03 June 2009, David Mitchell wrote:
> Hello,
> 
> Are there any objections or concerns on adding UPF_FIXED_TYPE to the
> port flags for the of_serial driver? Or maybe - are there any
> implementations using of_serial that rely on the 8250's probing to
> determine type? Based on the configs it looks like just the 4xx and 6xx
> variants are using this driver.

We also use the driver on ppc64/cell, which is what it was initially written for.
Passing UPF_FIXED_TYPE sounds ok to me. Can you send a patch?

	Arnd <><

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-04 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-03 16:26 of_serial.c: adding UPF_FIXED_TYPE flag David Mitchell
2009-06-04 12:39 ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.