Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Fabio Estevam 2011-06-27 17:12:09 -03:00 коммит произвёл Sascha Hauer
Родитель fce43f9963
Коммит e1fb61e38f
4 изменённых файлов: 29 добавлений и 12 удалений

Просмотреть файл

@ -1490,6 +1490,9 @@ static struct clk_lookup mx53_lookups[] = {
_REGISTER_CLOCK("imx2-wdt.0", NULL, dummy_clk) _REGISTER_CLOCK("imx2-wdt.0", NULL, dummy_clk)
_REGISTER_CLOCK("imx2-wdt.1", NULL, dummy_clk) _REGISTER_CLOCK("imx2-wdt.1", NULL, dummy_clk)
_REGISTER_CLOCK("imx-sdma", NULL, sdma_clk) _REGISTER_CLOCK("imx-sdma", NULL, sdma_clk)
_REGISTER_CLOCK("imx-ssi.0", NULL, ssi1_clk)
_REGISTER_CLOCK("imx-ssi.1", NULL, ssi2_clk)
_REGISTER_CLOCK("imx-ssi.2", NULL, ssi3_clk)
}; };
static void clk_tree_init(void) static void clk_tree_init(void)

Просмотреть файл

@ -32,3 +32,7 @@ extern const struct imx_spi_imx_data imx53_ecspi_data[];
extern const struct imx_imx2_wdt_data imx53_imx2_wdt_data[]; extern const struct imx_imx2_wdt_data imx53_imx2_wdt_data[];
#define imx53_add_imx2_wdt(id, pdata) \ #define imx53_add_imx2_wdt(id, pdata) \
imx_add_imx2_wdt(&imx53_imx2_wdt_data[id]) imx_add_imx2_wdt(&imx53_imx2_wdt_data[id])
extern const struct imx_imx_ssi_data imx53_imx_ssi_data[];
#define imx53_add_imx_ssi(id, pdata) \
imx_add_imx_ssi(&imx53_imx_ssi_data[id], pdata)

Просмотреть файл

@ -76,6 +76,16 @@ const struct imx_imx_ssi_data imx51_imx_ssi_data[] __initconst = {
}; };
#endif /* ifdef CONFIG_SOC_IMX51 */ #endif /* ifdef CONFIG_SOC_IMX51 */
#ifdef CONFIG_SOC_IMX53
const struct imx_imx_ssi_data imx53_imx_ssi_data[] __initconst = {
#define imx53_imx_ssi_data_entry(_id, _hwid) \
imx_imx_ssi_data_entry(MX53, _id, _hwid, SZ_16K)
imx53_imx_ssi_data_entry(0, 1),
imx53_imx_ssi_data_entry(1, 2),
imx53_imx_ssi_data_entry(2, 3),
};
#endif /* ifdef CONFIG_SOC_IMX53 */
struct platform_device *__init imx_add_imx_ssi( struct platform_device *__init imx_add_imx_ssi(
const struct imx_imx_ssi_data *data, const struct imx_imx_ssi_data *data,
const struct imx_ssi_platform_data *pdata) const struct imx_ssi_platform_data *pdata)

Просмотреть файл

@ -176,10 +176,10 @@
/* /*
* DMA request assignments * DMA request assignments
*/ */
#define MX53_DMA_REQ_SSI3_TX1 47 #define MX53_DMA_REQ_SSI3_TX0 47
#define MX53_DMA_REQ_SSI3_RX1 46 #define MX53_DMA_REQ_SSI3_RX0 46
#define MX53_DMA_REQ_SSI3_TX2 45 #define MX53_DMA_REQ_SSI3_TX1 45
#define MX53_DMA_REQ_SSI3_RX2 44 #define MX53_DMA_REQ_SSI3_RX1 44
#define MX53_DMA_REQ_UART3_TX 43 #define MX53_DMA_REQ_UART3_TX 43
#define MX53_DMA_REQ_UART3_RX 42 #define MX53_DMA_REQ_UART3_RX 42
#define MX53_DMA_REQ_ESAI_TX 41 #define MX53_DMA_REQ_ESAI_TX 41
@ -194,14 +194,14 @@
#define MX53_DMA_REQ_ASRC_DMA1 32 #define MX53_DMA_REQ_ASRC_DMA1 32
#define MX53_DMA_REQ_EMI_WR 31 #define MX53_DMA_REQ_EMI_WR 31
#define MX53_DMA_REQ_EMI_RD 30 #define MX53_DMA_REQ_EMI_RD 30
#define MX53_DMA_REQ_SSI1_TX1 29 #define MX53_DMA_REQ_SSI1_TX0 29
#define MX53_DMA_REQ_SSI1_RX1 28 #define MX53_DMA_REQ_SSI1_RX0 28
#define MX53_DMA_REQ_SSI1_TX2 27 #define MX53_DMA_REQ_SSI1_TX1 27
#define MX53_DMA_REQ_SSI1_RX2 26 #define MX53_DMA_REQ_SSI1_RX1 26
#define MX53_DMA_REQ_SSI2_TX1 25 #define MX53_DMA_REQ_SSI2_TX0 25
#define MX53_DMA_REQ_SSI2_RX1 24 #define MX53_DMA_REQ_SSI2_RX0 24
#define MX53_DMA_REQ_SSI2_TX2 23 #define MX53_DMA_REQ_SSI2_TX1 23
#define MX53_DMA_REQ_SSI2_RX2 22 #define MX53_DMA_REQ_SSI2_RX1 22
#define MX53_DMA_REQ_I2C2_SDHC2 21 #define MX53_DMA_REQ_I2C2_SDHC2 21
#define MX53_DMA_REQ_I2C1_SDHC1 20 #define MX53_DMA_REQ_I2C1_SDHC1 20
#define MX53_DMA_REQ_UART1_TX 19 #define MX53_DMA_REQ_UART1_TX 19