From: Jonas Gorski Subject: [PATCH V3 0/3] spi/bcm63xx: cleanup and decouple from arch code Date: Mon, 12 Oct 2015 12:24:20 +0200 Message-ID: <1444645463-20915-1-git-send-email-jogo@openwrt.org> Cc: Mark Brown , Florian Fainelli To: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Return-path: Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: This patchset decouples spi-bcm63xx from any arch code to allow building it for more than MIPS/BCM63XX as well as allow compile testing it on any arch/platform. Since the main target of this patch is the spi driver, it should probably go through the spi tree. Changes v2 -> v3: * Rebase onto applied patches 1~4 of v1. Changes v1 -> v2: * Use device name instead of register size for identifying core version. * Since we now touch arch/mips, drop the rest as well. * Fix big endian detection. * Reorder the patches so the move of the register definitions is the last step. Jonas Gorski (3): spi/bcm63xx: fix standard accessors and compile guard spi/bcm63xx: move message control word description to register offsets spi/bcm63xx: move register definitions into the driver arch/mips/bcm63xx/dev-spi.c | 42 +---- .../include/asm/mach-bcm63xx/bcm63xx_dev_spi.h | 44 ----- drivers/spi/Kconfig | 2 +- drivers/spi/spi-bcm63xx.c | 202 ++++++++++++++++++--- 4 files changed, 179 insertions(+), 111 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html