mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
TD8801 board config : fix vivanta config
This commit is contained in:
@@ -3018,7 +3018,9 @@ static struct platform_device rk29sdk_rfkill = {
|
||||
};
|
||||
|
||||
|
||||
#ifdef CONFIG_VIVANTE
|
||||
//#ifdef CONFIG_VIVANTE
|
||||
#define GPU_HIGH_CLOCK 552
|
||||
#define GPU_LOW_CLOCK (periph_pll_default / 1000000) /* same as */
|
||||
static struct resource resources_gpu[] = {
|
||||
[0] = {
|
||||
.name = "gpu_irq",
|
||||
@@ -3038,6 +3040,13 @@ static struct resource resources_gpu[] = {
|
||||
.end = PMEM_GPU_BASE + PMEM_GPU_SIZE - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
[3] = {
|
||||
.name = "gpu_clk",
|
||||
.start = GPU_LOW_CLOCK,
|
||||
.end = GPU_HIGH_CLOCK,
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
|
||||
};
|
||||
static struct platform_device rk29_device_gpu = {
|
||||
.name = "galcore",
|
||||
@@ -3045,7 +3054,7 @@ static struct platform_device rk29_device_gpu = {
|
||||
.num_resources = ARRAY_SIZE(resources_gpu),
|
||||
.resource = resources_gpu,
|
||||
};
|
||||
#endif
|
||||
//#endif
|
||||
#ifdef CONFIG_KEYS_RK29
|
||||
extern struct rk29_keys_platform_data rk29_keys_pdata;
|
||||
static struct platform_device rk29_device_keys = {
|
||||
@@ -3302,9 +3311,9 @@ static struct platform_device *devices[] __initdata = {
|
||||
#ifdef CONFIG_RK29_VMAC
|
||||
&rk29_device_vmac,
|
||||
#endif
|
||||
#ifdef CONFIG_VIVANTE
|
||||
//#ifdef CONFIG_VIVANTE
|
||||
&rk29_device_gpu,
|
||||
#endif
|
||||
//#endif
|
||||
#ifdef CONFIG_VIDEO_RK29
|
||||
&rk29_device_camera, /* ddl@rock-chips.com : camera support */
|
||||
#if (CONFIG_SENSOR_IIC_ADDR_0 != 0x00)
|
||||
|
||||
Reference in New Issue
Block a user