summaryrefslogtreecommitdiffstats
path: root/docs/submodules
AgeCommit message (Expand)AuthorFilesLines
2017-05-08Update git submodulesYujun Zhang1-0/+0
2017-05-06Update git submodulesdongwenjuan1-0/+0
2017-05-06Update git submodulesAlexandru Avadanii1-0/+0
2017-05-06Update git submodulesJamo Luhrsen1-0/+0
2017-05-06Update git submodulesCedric Ollivier1-0/+0
2017-05-06Update git submodulesJingLu51-0/+0
2017-05-05Update git submodulesagardner1-0/+0
2017-05-05Update git submodulesAlexandru Nemes1-0/+0
2017-05-05Update git submodulesTim Rozet1-0/+0
2017-05-05Update git submodulesAlexandru Avadanii1-0/+0
2017-05-05Update git submodulesJose Lausuch1-0/+0
2017-05-05Update git submodulesTim Rozet1-0/+0
2017-05-05Update git submodulesJose Lausuch1-0/+0
2017-05-05Update git submodulesJose Lausuch1-0/+0
2017-05-05Update git submodulesJose Lausuch1-0/+0
2017-05-05Update git submodulesTim Rozet1-0/+0
2017-05-05Update git submodulesJose Lausuch1-0/+0
2017-05-05Update git submodulesMorgan Richomme1-0/+0
2017-05-05Update git submodulesMorgan Richomme1-0/+0
2017-05-05Update git submoduleshongbo tian1-0/+0
2017-05-05Update git submodulesJose Lausuch1-0/+0
2017-05-05Update git submodulesJose Lausuch1-0/+0
2017-05-05Update git submodulesJose Lausuch1-0/+0
2017-05-05Update git submodulesZhijiang Hu1-0/+0
2017-05-05Update git submodulesZhijiang Hu1-0/+0
2017-05-05Update git submodulesGuo Ruijing1-0/+0
2017-05-05Update git submodulesSerena Feng1-0/+0
2017-05-05Update git submodulesSerena Feng1-0/+0
2017-05-05Update git submodulesSerena Feng1-0/+0
2017-05-05Update git submoduleshongbo tian1-0/+0
2017-05-05Update git submodulesZhijiang Hu1-0/+0
2017-05-04Update git submodulesNarinder Gupta1-0/+0
2017-05-04Update git submodulesmbeierl1-0/+0
2017-05-04Update git submodulesTim Rozet1-0/+0
2017-05-04Update git submodulesTim Rozet1-0/+0
2017-05-04Update git submodulesAlexandru Avadanii1-0/+0
2017-05-04Update git submodulesAlexandru Avadanii1-0/+0
2017-05-04Update git submodulesagardner1-0/+0
2017-05-04Update git submodulesNikolas Hermanns1-0/+0
2017-05-04Update git submodulesNikolas Hermanns1-0/+0
2017-05-04Update git submodulesNikolas Hermanns1-0/+0
2017-05-04Update git submodulesJing Lu1-0/+0
2017-05-04Update git submodulesJing Lu1-0/+0
2017-05-04Update git submodulesJose Lausuch1-0/+0
2017-05-04Update git submodulesJose Lausuch1-0/+0
2017-05-04Update git submodulesJose Lausuch1-0/+0
2017-05-04Update git submodulesNikolas Hermanns1-0/+0
2017-05-04Update git submodulesJing Lu1-0/+0
2017-05-04Update git submodulesJing Lu1-0/+0
2017-05-04Update git submodulesNikolas Hermanns1-0/+0
= ARRAY_SIZE(omap7xx_gpio3_resources), .resource = omap7xx_gpio3_resources, }; /* gpio4 */ static struct resource omap7xx_gpio4_resources[] = { { .start = OMAP7XX_GPIO4_BASE, .end = OMAP7XX_GPIO4_BASE + SZ_2K - 1, .flags = IORESOURCE_MEM, }, { .start = INT_7XX_GPIO_BANK4, .flags = IORESOURCE_IRQ, }, }; static struct omap_gpio_platform_data omap7xx_gpio4_config = { .bank_width = 32, .regs = &omap7xx_gpio_regs, }; static struct platform_device omap7xx_gpio4 = { .name = "omap_gpio", .id = 4, .dev = { .platform_data = &omap7xx_gpio4_config, }, .num_resources = ARRAY_SIZE(omap7xx_gpio4_resources), .resource = omap7xx_gpio4_resources, }; /* gpio5 */ static struct resource omap7xx_gpio5_resources[] = { { .start = OMAP7XX_GPIO5_BASE, .end = OMAP7XX_GPIO5_BASE + SZ_2K - 1, .flags = IORESOURCE_MEM, }, { .start = INT_7XX_GPIO_BANK5, .flags = IORESOURCE_IRQ, }, }; static struct omap_gpio_platform_data omap7xx_gpio5_config = { .bank_width = 32, .regs = &omap7xx_gpio_regs, }; static struct platform_device omap7xx_gpio5 = { .name = "omap_gpio", .id = 5, .dev = { .platform_data = &omap7xx_gpio5_config, }, .num_resources = ARRAY_SIZE(omap7xx_gpio5_resources), .resource = omap7xx_gpio5_resources, }; /* gpio6 */ static struct resource omap7xx_gpio6_resources[] = { { .start = OMAP7XX_GPIO6_BASE, .end = OMAP7XX_GPIO6_BASE + SZ_2K - 1, .flags = IORESOURCE_MEM, }, { .start = INT_7XX_GPIO_BANK6, .flags = IORESOURCE_IRQ, }, }; static struct omap_gpio_platform_data omap7xx_gpio6_config = { .bank_width = 32, .regs = &omap7xx_gpio_regs, }; static struct platform_device omap7xx_gpio6 = { .name = "omap_gpio", .id = 6, .dev = { .platform_data = &omap7xx_gpio6_config, }, .num_resources = ARRAY_SIZE(omap7xx_gpio6_resources), .resource = omap7xx_gpio6_resources, }; static struct platform_device *omap7xx_gpio_dev[] __initdata = { &omap7xx_mpu_gpio, &omap7xx_gpio1, &omap7xx_gpio2, &omap7xx_gpio3, &omap7xx_gpio4, &omap7xx_gpio5, &omap7xx_gpio6, }; /* * omap7xx_gpio_init needs to be done before * machine_init functions access gpio APIs. * Hence omap7xx_gpio_init is a postcore_initcall. */ static int __init omap7xx_gpio_init(void) { int i; if (!cpu_is_omap7xx()) return -EINVAL; for (i = 0; i < ARRAY_SIZE(omap7xx_gpio_dev); i++) platform_device_register(omap7xx_gpio_dev[i]); return 0; } postcore_initcall(omap7xx_gpio_init);