diff options
103 files changed, 19996 insertions, 3338 deletions
diff --git a/arch/arm/plat-mxc/Makefile b/arch/arm/plat-mxc/Makefile index 996cbac6932c..6cee38df58b2 100644 --- a/arch/arm/plat-mxc/Makefile +++ b/arch/arm/plat-mxc/Makefile | |||
| @@ -13,3 +13,7 @@ obj-$(CONFIG_USB_EHCI_MXC) += ehci.o | |||
| 13 | obj-$(CONFIG_MXC_ULPI) += ulpi.o | 13 | obj-$(CONFIG_MXC_ULPI) += ulpi.o |
| 14 | obj-$(CONFIG_ARCH_MXC_AUDMUX_V1) += audmux-v1.o | 14 | obj-$(CONFIG_ARCH_MXC_AUDMUX_V1) += audmux-v1.o |
| 15 | obj-$(CONFIG_ARCH_MXC_AUDMUX_V2) += audmux-v2.o | 15 | obj-$(CONFIG_ARCH_MXC_AUDMUX_V2) += audmux-v2.o |
| 16 | ifdef CONFIG_SND_IMX_SOC | ||
| 17 | obj-y += ssi-fiq.o | ||
| 18 | obj-y += ssi-fiq-ksym.o | ||
| 19 | endif | ||
diff --git a/arch/arm/plat-mxc/ssi-fiq-ksym.c b/arch/arm/plat-mxc/ssi-fiq-ksym.c new file mode 100644 index 000000000000..b5fad454da78 --- /dev/null +++ b/arch/arm/plat-mxc/ssi-fiq-ksym.c | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | /* | ||
| 2 | * Exported ksyms for the SSI FIQ handler | ||
| 3 | * | ||
| 4 | * Copyright (C) 2009, Sascha Hauer <s.hauer@pengutronix.de> | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | ||
| 10 | |||
| 11 | #include <linux/module.h> | ||
| 12 | |||
| 13 | #include <mach/ssi.h> | ||
| 14 | |||
| 15 | EXPORT_SYMBOL(imx_ssi_fiq_tx_buffer); | ||
| 16 | EXPORT_SYMBOL(imx_ssi_fiq_rx_buffer); | ||
| 17 | EXPORT_SYMBOL(imx_ssi_fiq_start); | ||
| 18 | EXPORT_SYMBOL(imx_ssi_fiq_end); | ||
| 19 | EXPORT_SYMBOL(imx_ssi_fiq_base); | ||
| 20 | |||
diff --git a/arch/arm/plat-mxc/ssi-fiq.S b/arch/arm/plat-mxc/ssi-fiq.S new file mode 100644 index 000000000000..4ddce565b353 --- /dev/null +++ b/arch/arm/plat-mxc/ssi-fiq.S | |||
| @@ -0,0 +1,134 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2009 Sascha Hauer <s.hauer@pengutronix.de> | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | ||
| 8 | |||
| 9 | #include <linux/linkage.h> | ||
| 10 | #include <asm/assembler.h> | ||
| 11 | |||
| 12 | /* | ||
| 13 | * r8 = bit 0-15: tx offset, bit 16-31: tx buffer size | ||
| 14 | * r9 = bit 0-15: rx offset, bit 16-31: rx buffer size | ||
| 15 | */ | ||
| 16 | |||
| 17 | #define SSI_STX0 0x00 | ||
| 18 | #define SSI_SRX0 0x08 | ||
| 19 | #define SSI_SISR 0x14 | ||
| 20 | #define SSI_SIER 0x18 | ||
| 21 | #define SSI_SACNT 0x38 | ||
| 22 | |||
