[PATCH] qe: add function qe_clock_source

Kumar Gala galak at kernel.crashing.org
Wed Oct 10 05:15:45 EST 2007


On Oct 9, 2007, at 1:17 PM, Timur Tabi wrote:

> Kumar Gala wrote:
>
>> But that's a function of linux' use.  Remember decouple the device  
>> tree from how linux does things.
>
> Ok, I just understand what your point is.  I'm proposing that we  
> just put the name of the clock source in the device tree, and have  
> a function which converts that into an internal representation.   
> The clock is called "BRG3". It's not called BRG, #3 or something  
> like that.  Same thing with the CLK sources.

Ok.  I guess I'm not in favor of changing the device tree to address  
this issue.  I think it would be solved if "dtc" had #define support.

- k



More information about the Linuxppc-dev mailing list