aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_2430_data.c2
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_3xxx_data.c21
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_44xx_data.c3
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_54xx_data.c2
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_7xx_data.c1
-rw-r--r--include/linux/platform_data/asoc-ti-mcbsp.h12
6 files changed, 0 insertions, 41 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_2430_data.c b/arch/arm/mach-omap2/omap_hwmod_2430_data.c
index cdbd09b21168..74eefd30518c 100644
--- a/arch/arm/mach-omap2/omap_hwmod_2430_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_2430_data.c
@@ -14,7 +14,6 @@
14 */ 14 */
15 15
16#include <linux/i2c-omap.h> 16#include <linux/i2c-omap.h>
17#include <linux/platform_data/asoc-ti-mcbsp.h>
18#include <linux/platform_data/hsmmc-omap.h> 17#include <linux/platform_data/hsmmc-omap.h>
19#include <linux/omap-dma.h> 18#include <linux/omap-dma.h>
20 19
@@ -223,7 +222,6 @@ static struct omap_hwmod_class_sysconfig omap2430_mcbsp_sysc = {
223static struct omap_hwmod_class omap2430_mcbsp_hwmod_class = { 222static struct omap_hwmod_class omap2430_mcbsp_hwmod_class = {
224 .name = "mcbsp", 223 .name = "mcbsp",
225 .sysc = &omap2430_mcbsp_sysc, 224 .sysc = &omap2430_mcbsp_sysc,
226 .rev = MCBSP_CONFIG_TYPE2,
227}; 225};
228 226
229static struct omap_hwmod_opt_clk mcbsp_opt_clks[] = { 227static struct omap_hwmod_opt_clk mcbsp_opt_clks[] = {
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
index 23008cb35140..23336b6c7125 100644
--- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
@@ -22,7 +22,6 @@
22#include <linux/omap-dma.h> 22#include <linux/omap-dma.h>
23#include "l3_3xxx.h" 23#include "l3_3xxx.h"
24#include "l4_3xxx.h" 24#include "l4_3xxx.h"
25#include <linux/platform_data/asoc-ti-mcbsp.h>
26 25
27#include "soc.h" 26#include "soc.h"
28#include "omap_hwmod.h" 27#include "omap_hwmod.h"
@@ -896,7 +895,6 @@ static struct omap_hwmod_class_sysconfig omap3xxx_mcbsp_sysc = {
896static struct omap_hwmod_class omap3xxx_mcbsp_hwmod_class = { 895static struct omap_hwmod_class omap3xxx_mcbsp_hwmod_class = {
897 .name = "mcbsp", 896 .name = "mcbsp",
898 .sysc = &omap3xxx_mcbsp_sysc, 897 .sysc = &omap3xxx_mcbsp_sysc,
899 .rev = MCBSP_CONFIG_TYPE3,
900}; 898};
901 899
902/* McBSP functional clock mapping */ 900/* McBSP functional clock mapping */
@@ -911,7 +909,6 @@ static struct omap_hwmod_opt_clk mcbsp234_opt_clks[] = {
911}; 909};
912 910
913/* mcbsp1 */ 911/* mcbsp1 */
914
915static struct omap_hwmod omap3xxx_mcbsp1_hwmod = { 912static struct omap_hwmod omap3xxx_mcbsp1_hwmod = {
916 .name = "mcbsp1", 913 .name = "mcbsp1",
917 .class = &omap3xxx_mcbsp_hwmod_class, 914 .class = &omap3xxx_mcbsp_hwmod_class,
@@ -928,11 +925,6 @@ static struct omap_hwmod omap3xxx_mcbsp1_hwmod = {
928}; 925};
929 926
930/* mcbsp2 */ 927/* mcbsp2 */
931
932static struct omap_mcbsp_dev_attr omap34xx_mcbsp2_dev_attr = {
933 .sidetone = "mcbsp2_sidetone",
934};
935
936static struct omap_hwmod omap3xxx_mcbsp2_hwmod = { 928static struct omap_hwmod omap3xxx_mcbsp2_hwmod = {
937 .name = "mcbsp2", 929 .name = "mcbsp2",
938 .class = &omap3xxx_mcbsp_hwmod_class, 930 .class = &omap3xxx_mcbsp_hwmod_class,
@@ -946,15 +938,9 @@ static struct omap_hwmod omap3xxx_mcbsp2_hwmod = {
946 }, 938 },
947 .opt_clks = mcbsp234_opt_clks, 939 .opt_clks = mcbsp234_opt_clks,
948 .opt_clks_cnt = ARRAY_SIZE(mcbsp234_opt_clks), 940 .opt_clks_cnt = ARRAY_SIZE(mcbsp234_opt_clks),
949 .dev_attr = &omap34xx_mcbsp2_dev_attr,
950}; 941};
951 942
952/* mcbsp3 */ 943/* mcbsp3 */
953
954static struct omap_mcbsp_dev_attr omap34xx_mcbsp3_dev_attr = {
955 .sidetone = "mcbsp3_sidetone",
956};
957
958static struct omap_hwmod omap3xxx_mcbsp3_hwmod = { 944static struct omap_hwmod omap3xxx_mcbsp3_hwmod = {
959 .name = "mcbsp3", 945 .name = "mcbsp3",
960 .class = &omap3xxx_mcbsp_hwmod_class, 946 .class = &omap3xxx_mcbsp_hwmod_class,
@@ -968,12 +954,9 @@ static struct omap_hwmod omap3xxx_mcbsp3_hwmod = {
968 }, 954 },
969 .opt_clks = mcbsp234_opt_clks, 955 .opt_clks = mcbsp234_opt_clks,
970 .opt_clks_cnt = ARRAY_SIZE(mcbsp234_opt_clks), 956 .opt_clks_cnt = ARRAY_SIZE(mcbsp234_opt_clks),
971 .dev_attr = &omap34xx_mcbsp3_dev_attr,
972}; 957};
973 958
974/* mcbsp4 */ 959/* mcbsp4 */
975
976
977static struct omap_hwmod omap3xxx_mcbsp4_hwmod = { 960static struct omap_hwmod omap3xxx_mcbsp4_hwmod = {
978 .name = "mcbsp4", 961 .name = "mcbsp4",
979 .class = &omap3xxx_mcbsp_hwmod_class, 962 .class = &omap3xxx_mcbsp_hwmod_class,
@@ -990,8 +973,6 @@ static struct omap_hwmod omap3xxx_mcbsp4_hwmod = {
990}; 973};
991 974
992/* mcbsp5 */ 975/* mcbsp5 */
993
994
995static struct omap_hwmod omap3xxx_mcbsp5_hwmod = { 976static struct omap_hwmod omap3xxx_mcbsp5_hwmod = {
996 .name = "mcbsp5", 977 .name = "mcbsp5",
997 .class = &omap3xxx_mcbsp_hwmod_class, 978 .class = &omap3xxx_mcbsp_hwmod_class,
@@ -1020,7 +1001,6 @@ static struct omap_hwmod_class omap3xxx_mcbsp_sidetone_hwmod_class = {
1020}; 1001};
1021 1002
1022/* mcbsp2_sidetone */ 1003/* mcbsp2_sidetone */
1023
1024static struct omap_hwmod omap3xxx_mcbsp2_sidetone_hwmod = { 1004static struct omap_hwmod omap3xxx_mcbsp2_sidetone_hwmod = {
1025 .name = "mcbsp2_sidetone", 1005 .name = "mcbsp2_sidetone",
1026 .class = &omap3xxx_mcbsp_sidetone_hwmod_class, 1006 .class = &omap3xxx_mcbsp_sidetone_hwmod_class,
@@ -1029,7 +1009,6 @@ static struct omap_hwmod omap3xxx_mcbsp2_sidetone_hwmod = {
1029}; 1009};
1030 1010
1031/* mcbsp3_sidetone */ 1011/* mcbsp3_sidetone */
1032
1033static struct omap_hwmod omap3xxx_mcbsp3_sidetone_hwmod = { 1012static struct omap_hwmod omap3xxx_mcbsp3_sidetone_hwmod = {
1034 .name = "mcbsp3_sidetone", 1013 .name = "mcbsp3_sidetone",
1035 .class = &omap3xxx_mcbsp_sidetone_hwmod_class, 1014 .class = &omap3xxx_mcbsp_sidetone_hwmod_class,
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index 5a313483b3b8..e4f8ae9cd637 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -27,8 +27,6 @@
27 27
28#include <linux/omap-dma.h> 28#include <linux/omap-dma.h>
29 29
30#include <linux/platform_data/asoc-ti-mcbsp.h>
31
32#include "omap_hwmod.h" 30#include "omap_hwmod.h"
33#include "omap_hwmod_common_data.h" 31#include "omap_hwmod_common_data.h"
34#include "cm1_44xx.h" 32#include "cm1_44xx.h"
@@ -1679,7 +1677,6 @@ static struct omap_hwmod_class_sysconfig omap44xx_mcbsp_sysc = {
1679static struct omap_hwmod_class omap44xx_mcbsp_hwmod_class = { 1677static struct omap_hwmod_class omap44xx_mcbsp_hwmod_class = {
1680 .name = "mcbsp", 1678 .name = "mcbsp",
1681 .sysc = &omap44xx_mcbsp_sysc, 1679 .sysc = &omap44xx_mcbsp_sysc,
1682 .rev = MCBSP_CONFIG_TYPE4,
1683}; 1680};
1684 1681
1685/* mcbsp1 */ 1682/* mcbsp1 */
diff --git a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
index f901b17bd73a..c72cd84b07ec 100644
--- a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
@@ -23,7 +23,6 @@
23#include <linux/i2c-omap.h> 23#include <linux/i2c-omap.h>
24 24
25#include <linux/omap-dma.h> 25#include <linux/omap-dma.h>
26#include <linux/platform_data/asoc-ti-mcbsp.h>
27 26
28#include "omap_hwmod.h" 27#include "omap_hwmod.h"
29#include "omap_hwmod_common_data.h" 28#include "omap_hwmod_common_data.h"
@@ -985,7 +984,6 @@ static struct omap_hwmod_class_sysconfig omap54xx_mcbsp_sysc = {
985static struct omap_hwmod_class omap54xx_mcbsp_hwmod_class = { 984static struct omap_hwmod_class omap54xx_mcbsp_hwmod_class = {
986 .name = "mcbsp", 985 .name = "mcbsp",
987 .sysc = &omap54xx_mcbsp_sysc, 986 .sysc = &omap54xx_mcbsp_sysc,
988 .rev = MCBSP_CONFIG_TYPE4,
989}; 987};
990 988
991/* mcbsp1 */ 989/* mcbsp1 */
diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
index d66dc806425d..62352d1e6361 100644
--- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
@@ -23,7 +23,6 @@
23#include <linux/i2c-omap.h> 23#include <linux/i2c-omap.h>
24 24
25#include <linux/omap-dma.h>