On Oct 6, 2007, at 3:06 PM, Peter Korsgaard wrote:
>> "Kumar" == Kumar Gala <[EMAIL PROTECTED]> writes:
>
> Kumar> On Oct 3, 2007, at 11:01 PM, Stephen Rothwell wrote:
>
>>> On Wed, 03 Oct 2007 17:43:50 +0200 Peter Korsgaard
>>> <[EMAIL PROTECTED]> wrote:
@@ -1220,14 +1220,17 @@ in
> "Kumar" == Kumar Gala <[EMAIL PROTECTED]> writes:
Kumar> On Oct 3, 2007, at 11:01 PM, Stephen Rothwell wrote:
>> On Wed, 03 Oct 2007 17:43:50 +0200 Peter Korsgaard
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> @@ -1220,14 +1220,17 @@ int __init fsl_spi_init(struct
>>> spi_board_info *board_i
On Oct 3, 2007, at 11:01 PM, Stephen Rothwell wrote:
> On Wed, 03 Oct 2007 17:43:50 +0200 Peter Korsgaard
> <[EMAIL PROTECTED]> wrote:
>>
>> @@ -1220,14 +1220,17 @@ int __init fsl_spi_init(struct
>> spi_board_info *board_infos,
>> {
>> struct device_node *np;
>> unsigned int i;
>>
On Wed, 03 Oct 2007 17:43:50 +0200 Peter Korsgaard <[EMAIL PROTECTED]> wrote:
>
> @@ -1220,14 +1220,17 @@ int __init fsl_spi_init(struct spi_board_info
> *board_infos,
> {
> struct device_node *np;
> unsigned int i;
> - const u32 *sysclk;
> + const u32 *qe_sysclk = 0, *soc_sys
On Oct 3, 2007, at 1:17 PM, Grant Likely wrote:
> On 10/3/07, Peter Korsgaard <[EMAIL PROTECTED]> wrote:
>>> "Grant" == Grant Likely <[EMAIL PROTECTED]> writes:
>>
>> Hi,
>>
>> Grant> Why not just:
>>
>> Grant> np = of_find_node_by_type(NULL, "qe");
>> Grant> + if (!np)
>> G
On 10/3/07, Peter Korsgaard <[EMAIL PROTECTED]> wrote:
> > "Grant" == Grant Likely <[EMAIL PROTECTED]> writes:
>
> Hi,
>
> Grant> Why not just:
>
> Grant> np = of_find_node_by_type(NULL, "qe");
> Grant> + if (!np)
> Grant> + np = of_find_node_by_type(NULL, "soc")
> "Grant" == Grant Likely <[EMAIL PROTECTED]> writes:
Hi,
Grant> Why not just:
Grant> np = of_find_node_by_type(NULL, "qe");
Grant> + if (!np)
Grant> + np = of_find_node_by_type(NULL, "soc");
Grant> if (!np)
Grant> return -ENODEV;
My
On 10/3/07, Peter Korsgaard <[EMAIL PROTECTED]> wrote:
> On non-QE processors (mpc831x/mpc834x) the SPI clock is the SoC clock.
>
> Signed-off-by: Peter Korsgaard <[EMAIL PROTECTED]>
> ---
> arch/powerpc/sysdev/fsl_soc.c | 27 +++
> 1 files changed, 19 insertions(+), 8 de