Skip to contentSkip to conversation

spi_mpc83xx: handles Freescale MPC8610 as well

PATCH In review Anton Vorontsov 3 participants 3 messages May 16, 2008 – Jul 27, 2008 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 spi_mpc83xx: handles Freescale MPC8610 as well

With this patch we'll able to select spi_mpc83xx driver on the MPC86xx processors.

---

This patch is on top of Jochen's patch (
http://patchwork.ozlabs.org/linuxppc/patch?id=18261)
that fixes SPI on MPC8610.

 drivers/spi/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/spi/Kconfig +1 -1
index 66ec5d8..094c237 100644
@@ -125,7 +125,7 @@ config SPI_MPC52xx_PSC
 
 config SPI_MPC83xx
 	tristate "Freescale MPC83xx/QUICC Engine SPI controller"
-	depends on SPI_MASTER && (PPC_83xx || QUICC_ENGINE) && EXPERIMENTAL
+	depends on SPI_MASTER && (PPC_83xx || QUICC_ENGINE || PPC_86xx) && EXPERIMENTAL
 	help
 	  This enables using the Freescale MPC83xx and QUICC Engine SPI
 	  controllers in master mode.
Signature · 1 line
1.5.5.1
#1 lore raw

drivers/spi/Kconfig config SPI_MPC52xx_PSC · line 128

Quoted 4 lines · Anton Vorontsov

config SPI_MPC83xx

drivers/spi/Kconfig +1 -1
 	tristate "Freescale MPC83xx/QUICC Engine SPI controller"
-	depends on SPI_MASTER && (PPC_83xx || QUICC_ENGINE) && EXPERIMENTAL
+	depends on SPI_MASTER && (PPC_83xx || QUICC_ENGINE || PPC_86xx) && EXPERIMENTAL

How about "depends on SPI_MASTER && FSL_SOC && EXPERIMENTAL"?

Plus, we should change the option text to something like "MPC8xxx SPI controller".

-Scott

#2 lore raw
Quoted 10 lines · Scott Wood

drivers/spi/Kconfig config SPI_MPC52xx_PSC · line 128

Quoted 4 lines · Anton Vorontsov

config SPI_MPC83xx

drivers/spi/Kconfig +1 -1
 	tristate "Freescale MPC83xx/QUICC Engine SPI controller"
-	depends on SPI_MASTER && (PPC_83xx || QUICC_ENGINE) && EXPERIMENTAL
+	depends on SPI_MASTER && (PPC_83xx || QUICC_ENGINE || PPC_86xx) && EXPERIMENTAL

How about "depends on SPI_MASTER && FSL_SOC && EXPERIMENTAL"?

Plus, we should change the option text to something like "MPC8xxx SPI controller".

Is there an approved-by-powerpc-folk version of this patch yet? (Noting that SPI_MASTER is now implicit ...)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/