Re: [PATCH v3 1/2] [POWERPC] MPC832x_RDB: update dts to use spi, register mmc_spi stub
From: David Gibson <hidden>
Date: 2007-08-09 03:07:52
On Wed, Aug 08, 2007 at 09:09:21PM +0400, Anton Vorontsov wrote:
quoted hunk ↗ jump to hunk
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 <redacted> --- arch/powerpc/boot/dts/mpc832x_rdb.dts | 4 ++- arch/powerpc/platforms/83xx/mpc832x_rdb.c | 52 +++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 1 deletions(-)diff --git a/arch/powerpc/boot/dts/mpc832x_rdb.dts b/arch/powerpc/boot/dts/mpc832x_rdb.dts index e9c332f..664dd16 100644 --- a/arch/powerpc/boot/dts/mpc832x_rdb.dts +++ b/arch/powerpc/boot/dts/mpc832x_rdb.dts@@ -207,15 +207,17 @@ spi@4c0 { device_type = "spi"; + fsl,device-id = <1>;
Hrm... Freescale is using these 'fsl,device-id' properties, I'm guessing they're basically the same thing as the 'cell-index' used in the EMAC binding. We should co-ordinate better on this, if it's to become a convention... -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson