[PATCH] qe: add function qe_clock_source

Kumar Gala galak at kernel.crashing.org
Wed Oct 10 04:15:43 EST 2007


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

> Kumar Gala wrote:
>
>> rx-clock-type = "brg" or "clk"
>> rx-clock-id = 3
>> I don't see how this doesn't cover what you need in the device tree.
>
> That just looks more complicated than what my patch proposes.  Why  
> have two properties when one will suffice?  I still need to have a  
> look-up table that will convert "3" to QE_BRG3, since the latter is  
> an enum.

But that's a function of linux' use.  Remember decouple the device  
tree from how linux does things.

- k



More information about the Linuxppc-dev mailing list