Samsung VZW MB1 update
/arch/arm/mach-msm/devices-8960.c
blob:c3dd119d898cbafb3a834d69a482435bbf4dbf32 -> blob:3c5865ecd7bf0c01aeab877d8ce2ef92937f8c8a
--- arch/arm/mach-msm/devices-8960.c
+++ arch/arm/mach-msm/devices-8960.c
@@ -1692,13 +1692,8 @@ static struct resource resources_qup_spi
/*test: Qualcomm, DMA SPI, start */
{
.name = "spidm_channels",
-#ifdef CONFIG_MACH_M2_ATT
- .start = 3,
- .end = 4,
-#else
.start = 9,
.end = 10,
-#endif
.flags = IORESOURCE_DMA,
},
{
@@ -2618,7 +2613,7 @@ static struct msm_bus_vectors grp3d_low_
.src = MSM_BUS_MASTER_GRAPHICS_3D,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(1000),
+ .ib = KGSL_CONVERT_TO_MBPS(1600), //200 MHz GPU
},
};
@@ -2627,7 +2622,7 @@ static struct msm_bus_vectors grp3d_nomi
.src = MSM_BUS_MASTER_GRAPHICS_3D,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(2048),
+ .ib = KGSL_CONVERT_TO_MBPS(2400), //300 MHz GPU
},
};
@@ -2636,7 +2631,7 @@ static struct msm_bus_vectors grp3d_nomi
.src = MSM_BUS_MASTER_GRAPHICS_3D,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(2656),
+ .ib = KGSL_CONVERT_TO_MBPS(3968), //400 MHz GPU
},
};
@@ -2645,7 +2640,7 @@ static struct msm_bus_vectors grp3d_max_
.src = MSM_BUS_MASTER_GRAPHICS_3D,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(3968),
+ .ib = KGSL_CONVERT_TO_MBPS(5290), //480 MHz GPU
},
};
@@ -2692,7 +2687,7 @@ static struct msm_bus_vectors grp2d0_nom
.src = MSM_BUS_MASTER_GRAPHICS_2D_CORE0,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(1000),
+ .ib = KGSL_CONVERT_TO_MBPS(1600), //200 MHz
},
};
@@ -2701,7 +2696,7 @@ static struct msm_bus_vectors grp2d0_max
.src = MSM_BUS_MASTER_GRAPHICS_2D_CORE0,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(2048),
+ .ib = KGSL_CONVERT_TO_MBPS(1840), //2228 MHz
},
};
@@ -2740,7 +2735,7 @@ static struct msm_bus_vectors grp2d1_nom
.src = MSM_BUS_MASTER_GRAPHICS_2D_CORE1,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(1000),
+ .ib = KGSL_CONVERT_TO_MBPS(1600), //200 MHz GPU
},
};
@@ -2749,7 +2744,7 @@ static struct msm_bus_vectors grp2d1_max
.src = MSM_BUS_MASTER_GRAPHICS_2D_CORE1,
.dst = MSM_BUS_SLAVE_EBI_CH0,
.ab = 0,
- .ib = KGSL_CONVERT_TO_MBPS(2048),
+ .ib = KGSL_CONVERT_TO_MBPS(1840), //228MHz GPU
},
};
@@ -2793,22 +2788,22 @@ static struct resource kgsl_3d0_resource
static struct kgsl_device_platform_data kgsl_3d0_pdata = {
.pwrlevel = {
{
- .gpu_freq = 400000000,
+ .gpu_freq = 480000000,
.bus_freq = 4,
.io_fraction = 0,
},
{
- .gpu_freq = 300000000,
+ .gpu_freq = 400000000,
.bus_freq = 3,
- .io_fraction = 33,
+ .io_fraction = 0,
},
{
- .gpu_freq = 200000000,
+ .gpu_freq = 300000000,
.bus_freq = 2,
- .io_fraction = 100,
+ .io_fraction = 33,
},
{
- .gpu_freq = 128000000,
+ .gpu_freq = 200000000,
.bus_freq = 1,
.io_fraction = 100,
},
@@ -2858,11 +2853,11 @@ static struct resource kgsl_2d0_resource
static struct kgsl_device_platform_data kgsl_2d0_pdata = {
.pwrlevel = {
{
- .gpu_freq = 200000000,
+ .gpu_freq = 228571000,
.bus_freq = 2,
},
{
- .gpu_freq = 96000000,
+ .gpu_freq = 200000000,
.bus_freq = 1,
},
{
@@ -2911,11 +2906,11 @@ static struct resource kgsl_2d1_resource
static struct kgsl_device_platform_data kgsl_2d1_pdata = {
.pwrlevel = {
{
- .gpu_freq = 200000000,
+ .gpu_freq = 228571000,
.bus_freq = 2,
},
{
- .gpu_freq = 96000000,
+ .gpu_freq = 200000000,
.bus_freq = 1,
},
{