}, { .name = "soc-camera-pdrv", .id = 2, .dev = { .platform_data = &mt9t112_link2, }, }, }; /* FSI */ static struct sh_fsi_platform_info fsi_info = { .portb_flags = SH_FSI_BRS_INV | SH_FSI_OUT_SLAVE_MODE | SH_FSI_IN_SLAVE_MODE | SH_FSI_OFMT(I2S) | SH_FSI_IFMT(I2S), }; static struct resource fsi_resources[] = { [0] = { .name = "FSI", .start = 0xFE3C0000, .end = 0xFE3C021d, .flags = IORESOURCE_MEM, }, [1] = { .start = 108, .flags = IORESOURCE_IRQ, }, };
static struct clk_ops fsiackcr_clk_ops = { .init = fsiackcr_init, }; static struct clk fsiackcr_clk = { .ops = &fsiackcr_clk_ops, .enable_reg = (void __iomem *)FSIACKCR, .rate = 0, /* unknown */ }; static struct sh_fsi_platform_info fsi_info = { .porta_flags = SH_FSI_BRS_INV | SH_FSI_OUT_SLAVE_MODE | SH_FSI_IN_SLAVE_MODE | SH_FSI_OFMT(PCM) | SH_FSI_IFMT(PCM), }; static struct resource fsi_resources[] = { [0] = { .name = "FSI", .start = 0xFE3C0000, .end = 0xFE3C0400 - 1, .flags = IORESOURCE_MEM, }, [1] = { .start = IRQ_FSI, .flags = IORESOURCE_IRQ, }, };
__fsi_set_round_rate(fsib_clk, fsib_rate, 0); goto fsi_set_rate_end; } ret = ackmd_bpfmd; fsi_set_rate_end: clk_put(fsib_clk); return ret; } static struct sh_fsi_platform_info fsi_info = { .porta_flags = SH_FSI_BRS_INV | SH_FSI_OUT_SLAVE_MODE | SH_FSI_IN_SLAVE_MODE | SH_FSI_OFMT(PCM) | SH_FSI_IFMT(PCM), .portb_flags = SH_FSI_BRS_INV | SH_FSI_BRM_INV | SH_FSI_LRS_INV | SH_FSI_OFMT(SPDIF), .set_rate = fsi_set_rate, }; static struct resource fsi_resources[] = { [0] = { .name = "FSI", .start = 0xFE3C0000, .end = 0xFE3C0400 - 1,