.idle_needed = true, .clk_map = KGSL_CLK_CORE | KGSL_CLK_IFACE, }; struct platform_device msm_kgsl_2d0 = { .name = "kgsl-2d0", .id = 0, .num_resources = ARRAY_SIZE(kgsl_2d0_resources), .resource = kgsl_2d0_resources, .dev = { .platform_data = &kgsl_2d0_pdata, }, }; struct platform_device *msm_footswitch_devices[] = { FS_PCOM(FS_GFX2D0, "vdd", "kgsl-2d0.0"), FS_PCOM(FS_GFX3D, "vdd", "kgsl-3d0.0"), FS_PCOM(FS_MDP, "vdd", "mdp.0"), FS_PCOM(FS_MFC, "fs_mfc", NULL), FS_PCOM(FS_ROT, "vdd", "msm_rotator.0"), FS_PCOM(FS_VFE, "fs_vfe", NULL), FS_PCOM(FS_VPE, "fs_vpe", NULL), }; unsigned msm_num_footswitch_devices = ARRAY_SIZE(msm_footswitch_devices); static struct resource gpio_resources[] = { { .start = INT_GPIO_GROUP1, .flags = IORESOURCE_IRQ, }, {
.strtstp_sleepwake = true, .clk_map = KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM, }; struct platform_device msm_kgsl_3d0 = { .name = "kgsl-3d0", .id = 0, .num_resources = ARRAY_SIZE(kgsl_3d0_resources), .resource = kgsl_3d0_resources, .dev = { .platform_data = &kgsl_3d0_pdata, }, }; struct platform_device *msm_footswitch_devices[] = { FS_PCOM(FS_GFX3D, "vdd", "kgsl-3d0.0"), }; unsigned msm_num_footswitch_devices = ARRAY_SIZE(msm_footswitch_devices); static struct resource gpio_resources[] = { { .start = INT_GPIO_GROUP1, .flags = IORESOURCE_IRQ, }, { .start = INT_GPIO_GROUP2, .flags = IORESOURCE_IRQ, }, }; static struct platform_device msm_device_gpio = {
} #ifdef CONFIG_CACHE_L2X0 static int __init msm7x27x_cache_init(void) { int aux_ctrl = 0; /* Way Size 010(0x2) 32KB */ aux_ctrl = (0x1 << L2X0_AUX_CTRL_SHARE_OVERRIDE_SHIFT) | \ (0x2 << L2X0_AUX_CTRL_WAY_SIZE_SHIFT) | \ (0x1 << L2X0_AUX_CTRL_EVNT_MON_BUS_EN_SHIFT); l2x0_init(MSM_L2CC_BASE, aux_ctrl, L2X0_AUX_CTRL_MASK); return 0; } #else static int __init msm_cache_init(void){ return 0; } #endif void __init msm_common_io_init(void) { msm_map_common_io(); msm7x27x_cache_init(); } struct platform_device *msm_footswitch_devices[] = { FS_PCOM(FS_GFX3D, "fs_gfx3d"), }; unsigned msm_num_footswitch_devices = ARRAY_SIZE(msm_footswitch_devices);
.idle_needed = true, .clk_map = KGSL_CLK_CORE | KGSL_CLK_IFACE, }; struct platform_device msm_kgsl_2d0 = { .name = "kgsl-2d0", .id = 0, .num_resources = ARRAY_SIZE(kgsl_2d0_resources), .resource = kgsl_2d0_resources, .dev = { .platform_data = &kgsl_2d0_pdata, }, }; struct platform_device *msm_footswitch_devices[] = { FS_PCOM(FS_GFX2D0, "fs_gfx2d0"), FS_PCOM(FS_GFX3D, "fs_gfx3d"), FS_PCOM(FS_MDP, "fs_mdp"), FS_PCOM(FS_MFC, "fs_mfc"), FS_PCOM(FS_ROT, "fs_rot"), FS_PCOM(FS_VFE, "fs_vfe"), FS_PCOM(FS_VPE, "fs_vpe"), }; unsigned msm_num_footswitch_devices = ARRAY_SIZE(msm_footswitch_devices); static struct resource gpio_resources[] = { { .start = INT_GPIO_GROUP1, .flags = IORESOURCE_IRQ, }, {