On Aug 2, 2007, at 12:35 PM, Anton Vorontsov wrote:

> mmc_spi already tested to work. When it will hit mainline
> the only change that will be needed is replacing "spidev"
> by "mmc_spi".
>
> Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]>
> ---
>  arch/powerpc/boot/dts/mpc832x_rdb.dts     |   27 +++++++++++++-
>  arch/powerpc/platforms/83xx/mpc832x_rdb.c |   55 ++++++++++++++++++ 
> +++++++++++
>  2 files changed, 81 insertions(+), 1 deletions(-)
>
> diff --git a/arch/powerpc/boot/dts/mpc832x_rdb.dts b/arch/powerpc/ 
> boot/dts/mpc832x_rdb.dts
> index e9c332f..5ed92ca 100644
> --- a/arch/powerpc/boot/dts/mpc832x_rdb.dts
> +++ b/arch/powerpc/boot/dts/mpc832x_rdb.dts
> @@ -183,6 +183,21 @@

[snip]

> @@ -206,16 +221,26 @@
>               };
>
>               [EMAIL PROTECTED] {
> +                     #address-cells = <1>;
> +                     #size-cells = <0>;
>                       device_type = "spi";
> +                     fsl,device-id = <1>;
>                       compatible = "fsl_spi";
>                       reg = <4c0 40>;
>                       interrupts = <2>;
>                       interrupt-parent = <&qeic>;
> -                     mode = "cpu";
> +                     mode = "cpu-qe";
> +                     pio-handle = <&spi1pio>;
> +
> +                     [EMAIL PROTECTED] {
> +                             reg = <0>;
> +                             pio-handle = <&mmc0pio>;
> +                     };
>               };

I'm still against this.  Why don't we just do this in 83xx/mpc832x_rdb.c

- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to