|
@@ -2793,3 +2793,147 @@ static struct resource iio_gpio_trigger_resources[] = {
|
|
},
|
|
},
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+static struct platform_device iio_gpio_trigger = {
|
|
|
|
+ .name = "iio_gpio_trigger",
|
|
|
|
+ .num_resources = ARRAY_SIZE(iio_gpio_trigger_resources),
|
|
|
|
+ .resource = iio_gpio_trigger_resources,
|
|
|
|
+};
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1373) || \
|
|
|
|
+ defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1373_MODULE)
|
|
|
|
+static struct platform_device bf5xx_adau1373_device = {
|
|
|
|
+ .name = "bfin-eval-adau1373",
|
|
|
|
+};
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701) || \
|
|
|
|
+ defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701_MODULE)
|
|
|
|
+static struct platform_device bf5xx_adau1701_device = {
|
|
|
|
+ .name = "bfin-eval-adau1701",
|
|
|
|
+};
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+static struct platform_device *stamp_devices[] __initdata = {
|
|
|
|
+
|
|
|
|
+ &bfin_dpmc,
|
|
|
|
+#if defined(CONFIG_BFIN_SPORT) || defined(CONFIG_BFIN_SPORT_MODULE)
|
|
|
|
+ &bfin_sport0_device,
|
|
|
|
+#endif
|
|
|
|
+#if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE)
|
|
|
|
+ &bfin_pcmcia_cf_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE)
|
|
|
|
+ &rtc_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE)
|
|
|
|
+ &sl811_hcd_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE)
|
|
|
|
+ &isp1362_hcd_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_USB_ISP1760_HCD) || defined(CONFIG_USB_ISP1760_HCD_MODULE)
|
|
|
|
+ &bfin_isp1760_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE)
|
|
|
|
+ &smc91x_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE)
|
|
|
|
+ &dm9000_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE)
|
|
|
|
+ &bfin_can_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE)
|
|
|
|
+ &bfin_mii_bus,
|
|
|
|
+ &bfin_mac_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE)
|
|
|
|
+ &net2272_bfin_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE)
|
|
|
|
+ &bfin_spi0_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_SPI_BFIN_SPORT) || defined(CONFIG_SPI_BFIN_SPORT_MODULE)
|
|
|
|
+ &bfin_sport_spi0_device,
|
|
|
|
+ &bfin_sport_spi1_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_FB_BF537_LQ035) || defined(CONFIG_FB_BF537_LQ035_MODULE)
|
|
|
|
+ &bfin_fb_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_FB_BFIN_LQ035Q1) || defined(CONFIG_FB_BFIN_LQ035Q1_MODULE)
|
|
|
|
+ &bfin_lq035q1_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_VIDEO_BLACKFIN_CAPTURE) \
|
|
|
|
+ || defined(CONFIG_VIDEO_BLACKFIN_CAPTURE_MODULE)
|
|
|
|
+ &bfin_capture_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
|
|
|
|
+#ifdef CONFIG_SERIAL_BFIN_UART0
|
|
|
|
+ &bfin_uart0_device,
|
|
|
|
+#endif
|
|
|
|
+#ifdef CONFIG_SERIAL_BFIN_UART1
|
|
|
|
+ &bfin_uart1_device,
|
|
|
|
+#endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE)
|
|
|
|
+#ifdef CONFIG_BFIN_SIR0
|
|
|
|
+ &bfin_sir0_device,
|
|
|
|
+#endif
|
|
|
|
+#ifdef CONFIG_BFIN_SIR1
|
|
|
|
+ &bfin_sir1_device,
|
|
|
|
+#endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE)
|
|
|
|
+ &i2c_bfin_twi_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE)
|
|
|
|
+#ifdef CONFIG_SERIAL_BFIN_SPORT0_UART
|
|
|
|
+ &bfin_sport0_uart_device,
|
|
|
|
+#endif
|
|
|
|
+#ifdef CONFIG_SERIAL_BFIN_SPORT1_UART
|
|
|
|
+ &bfin_sport1_uart_device,
|
|
|
|
+#endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
|
|
|
|
+ &bfin_pata_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
|
|
|
|
+ &bfin_device_gpiokeys,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE)
|
|
|
|
+ &bfin_async_nand_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
|
|
|
|
+ &stamp_flash_device,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE)
|
|
|
|
+ &bfin_i2s_pcm,
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE)
|
|
|
|
+ &bfin_tdm_pcm,
|
|
|
|
+#endif
|