# CONFIG_SPI_GPIO is not set
CONFIG_SPI_IMX_VER_0_7=y
CONFIG_SPI_IMX_VER_2_3=y
-# CONFIG_SPI_IMX is not set
+CONFIG_SPI_IMX=y
# CONFIG_SPI_PXA2XX_PCI is not set
# CONFIG_SPI_XILINX is not set
# CONFIG_SPI_DESIGNWARE is not set
# CONFIG_PMIC_DA9052 is not set
# CONFIG_PMIC_DA9053AA is not set
CONFIG_PMIC_DA9053Bx=y
-# CONFIG_MFD_MC13XXX is not set
+CONFIG_MFD_MC13XXX=y
# CONFIG_ABX500_CORE is not set
# CONFIG_EZX_PCAP is not set
# CONFIG_MFD_TPS6586X is not set
# CONFIG_REGULATOR_AD5398 is not set
# CONFIG_REGULATOR_TPS6524X is not set
CONFIG_REGULATOR_DA9052=y
+CONFIG_REGULATOR_MC13892=y
CONFIG_MEDIA_SUPPORT=y
#
};
#endif /* ifdef CONFIG_SOC_IMX35 */
+#ifdef CONFIG_SOC_IMX50
+const struct imx_spi_imx_data imx50_cspi_data[] __initconst = {
+#define imx50_cspi_data_entry(_id, _hwid) \
+ imx_spi_imx_data_entry(MX50, CSPI, "imx50-cspi", _id, _hwid, SZ_4K)
+ imx50_cspi_data_entry(1, 1),
+ imx50_cspi_data_entry(2, 2),
+ imx50_cspi_data_entry(3, 3),
+};
+#endif /* ifdef CONFIG_SOC_IMX50 */
+
#ifdef CONFIG_SOC_IMX51
const struct imx_spi_imx_data imx51_cspi_data __initconst =
imx_spi_imx_data_entry_single(MX51, CSPI, "imx51-cspi", 2, , SZ_4K);
.flags = IORESOURCE_IRQ,
},
};
-
return imx_add_platform_device(data->devid, data->id,
res, ARRAY_SIZE(res), pdata, sizeof(*pdata));
}
#define MX50_INT_UART3 33
#define MX50_INT_RESV34 34
#define MX50_INT_RESV35 35
+/* eCSPI interrupts */
#define MX50_INT_CSPI1 36
#define MX50_INT_CSPI2 37
-#define MX50_INT_CSPI 38
+/* CSPI interrupt */
+#define MX50_INT_CSPI3 38
#define MX50_INT_GPT 39
#define MX50_INT_EPIT1 40
#define MX50_INT_GPIO1_INT7 42