linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* regarding cpm_uart and platform_bus_type
@ 2007-07-17 11:55 Alexandros Kostopoulos
  2007-07-17 12:15 ` Alexandros Kostopoulos
  2007-07-17 16:53 ` Scott Wood
  0 siblings, 2 replies; 3+ messages in thread
From: Alexandros Kostopoulos @ 2007-07-17 11:55 UTC (permalink / raw)
  To: linuxppc-dev

Hi all,

I was wondering, since arch/powerpc is now based on device trees,  
shouldn't the cpm_uart driver (or at least a branch of it for  
arch/powerpc) be changed to use of_platform_bus_type instead of  
platform_bus_type? In my opinion, cpm_uart driver should take all its  
configuration (uart address base, ints etc) from dts (via the of_platform  
code) without any intervention from board specific code. In any case,  
given the current situation, how can I pass cpm_uart the address/irq of  
the uarts? by hardcoding it in my board specific code? mpc82xx_ads.c  
doesn't seem to have such code, and I was wondering how SCC uarts work in  
this platform? Who initializes them?

thank you

Alex

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

* Re: regarding cpm_uart and platform_bus_type
  2007-07-17 11:55 regarding cpm_uart and platform_bus_type Alexandros Kostopoulos
@ 2007-07-17 12:15 ` Alexandros Kostopoulos
  2007-07-17 16:53 ` Scott Wood
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandros Kostopoulos @ 2007-07-17 12:15 UTC (permalink / raw)
  To: Alexandros Kostopoulos, linuxppc-dev

Hm, it seems that, after all, cpm_uart works fine without any board  
specific code whatsoever. Sorry about the fuss. My mistake

Regards

Alex


On Tue, 17 Jul 2007 14:55:30 +0300, Alexandros Kostopoulos  
<akostop@inaccessnetworks.com> wrote:

> Hi all,
>
> I was wondering, since arch/powerpc is now based on device trees,  
> shouldn't the cpm_uart driver (or at least a branch of it for  
> arch/powerpc) be changed to use of_platform_bus_type instead of  
> platform_bus_type? In my opinion, cpm_uart driver should take all its  
> configuration (uart address base, ints etc) from dts (via the  
> of_platform code) without any intervention from board specific code. In  
> any case, given the current situation, how can I pass cpm_uart the  
> address/irq of the uarts? by hardcoding it in my board specific code?  
> mpc82xx_ads.c doesn't seem to have such code, and I was wondering how  
> SCC uarts work in this platform? Who initializes them?
>
> thank you
>
> Alex

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

* Re: regarding cpm_uart and platform_bus_type
  2007-07-17 11:55 regarding cpm_uart and platform_bus_type Alexandros Kostopoulos
  2007-07-17 12:15 ` Alexandros Kostopoulos
@ 2007-07-17 16:53 ` Scott Wood
  1 sibling, 0 replies; 3+ messages in thread
From: Scott Wood @ 2007-07-17 16:53 UTC (permalink / raw)
  To: Alexandros Kostopoulos; +Cc: linuxppc-dev

On Tue, Jul 17, 2007 at 02:55:30PM +0300, Alexandros Kostopoulos wrote:
> I was wondering, since arch/powerpc is now based on device trees,  
> shouldn't the cpm_uart driver (or at least a branch of it for  
> arch/powerpc) be changed to use of_platform_bus_type instead of  
> platform_bus_type?

Yes.  The patch is on the way Really Soon Now(tm).

-Scott

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

end of thread, other threads:[~2007-07-17 16:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-17 11:55 regarding cpm_uart and platform_bus_type Alexandros Kostopoulos
2007-07-17 12:15 ` Alexandros Kostopoulos
2007-07-17 16:53 ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).