|
@@ -23,7 +23,6 @@
|
|
|
#include <linux/i2c-omap.h>
|
|
|
|
|
|
#include <linux/omap-dma.h>
|
|
|
-#include <linux/platform_data/spi-omap2-mcspi.h>
|
|
|
#include <linux/platform_data/asoc-ti-mcbsp.h>
|
|
|
|
|
|
#include "omap_hwmod.h"
|
|
@@ -1123,15 +1122,9 @@ static struct omap_hwmod_class_sysconfig omap54xx_mcspi_sysc = {
|
|
|
static struct omap_hwmod_class omap54xx_mcspi_hwmod_class = {
|
|
|
.name = "mcspi",
|
|
|
.sysc = &omap54xx_mcspi_sysc,
|
|
|
- .rev = OMAP4_MCSPI_REV,
|
|
|
};
|
|
|
|
|
|
/* mcspi1 */
|
|
|
-/* mcspi1 dev_attr */
|
|
|
-static struct omap2_mcspi_dev_attr mcspi1_dev_attr = {
|
|
|
- .num_chipselect = 4,
|
|
|
-};
|
|
|
-
|
|
|
static struct omap_hwmod omap54xx_mcspi1_hwmod = {
|
|
|
.name = "mcspi1",
|
|
|
.class = &omap54xx_mcspi_hwmod_class,
|
|
@@ -1144,15 +1137,9 @@ static struct omap_hwmod omap54xx_mcspi1_hwmod = {
|
|
|
.modulemode = MODULEMODE_SWCTRL,
|
|
|
},
|
|
|
},
|
|
|
- .dev_attr = &mcspi1_dev_attr,
|
|
|
};
|
|
|
|
|
|
/* mcspi2 */
|
|
|
-/* mcspi2 dev_attr */
|
|
|
-static struct omap2_mcspi_dev_attr mcspi2_dev_attr = {
|
|
|
- .num_chipselect = 2,
|
|
|
-};
|
|
|
-
|
|
|
static struct omap_hwmod omap54xx_mcspi2_hwmod = {
|
|
|
.name = "mcspi2",
|
|
|
.class = &omap54xx_mcspi_hwmod_class,
|
|
@@ -1165,15 +1152,9 @@ static struct omap_hwmod omap54xx_mcspi2_hwmod = {
|
|
|
.modulemode = MODULEMODE_SWCTRL,
|
|
|
},
|
|
|
},
|
|
|
- .dev_attr = &mcspi2_dev_attr,
|
|
|
};
|
|
|
|
|
|
/* mcspi3 */
|
|
|
-/* mcspi3 dev_attr */
|
|
|
-static struct omap2_mcspi_dev_attr mcspi3_dev_attr = {
|
|
|
- .num_chipselect = 2,
|
|
|
-};
|
|
|
-
|
|
|
static struct omap_hwmod omap54xx_mcspi3_hwmod = {
|
|
|
.name = "mcspi3",
|
|
|
.class = &omap54xx_mcspi_hwmod_class,
|
|
@@ -1186,15 +1167,9 @@ static struct omap_hwmod omap54xx_mcspi3_hwmod = {
|
|
|
.modulemode = MODULEMODE_SWCTRL,
|
|
|
},
|
|
|
},
|
|
|
- .dev_attr = &mcspi3_dev_attr,
|
|
|
};
|
|
|
|
|
|
/* mcspi4 */
|
|
|
-/* mcspi4 dev_attr */
|
|
|
-static struct omap2_mcspi_dev_attr mcspi4_dev_attr = {
|
|
|
- .num_chipselect = 1,
|
|
|
-};
|
|
|
-
|
|
|
static struct omap_hwmod omap54xx_mcspi4_hwmod = {
|
|
|
.name = "mcspi4",
|
|
|
.class = &omap54xx_mcspi_hwmod_class,
|
|
@@ -1207,7 +1182,6 @@ static struct omap_hwmod omap54xx_mcspi4_hwmod = {
|
|
|
.modulemode = MODULEMODE_SWCTRL,
|
|
|
},
|
|
|
},
|
|
|
- .dev_attr = &mcspi4_dev_attr,
|
|
|
};
|
|
|
|
|
|
/*
|