1 /* linux/arch/arm/plat-s5pc11x/dev-dsim1.c
3 * Copyright (c) 2011 Samsung Electronics Co., Ltd
5 * InKi Dae <inki.dae@samsung.com>
7 * device definitions for Samsung SoC MIPI-DSIM.
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
14 #include <linux/kernel.h>
15 #include <linux/string.h>
16 #include <linux/platform_device.h>
17 #include <linux/regulator/consumer.h>
23 #include <plat/devs.h>
27 #include <plat/mipi_dsim.h>
29 static struct resource s5p_mipi_dsim_resource[] = {
31 .start = S5P_PA_MIPI_DSIM1,
32 .end = S5P_PA_MIPI_DSIM1 + SZ_64K - 1,
33 .flags = IORESOURCE_MEM,
38 .flags = IORESOURCE_IRQ,
42 static struct s5p_platform_mipi_dsim dsim_platform_data = {
43 .phy_enable = s5p_dsim_phy_enable,
44 .dsim_config = &dsim_config,
47 struct platform_device s5p_device_mipi_dsim1 = {
48 .name = "s5p-mipi-dsim",
50 .num_resources = ARRAY_SIZE(s5p_mipi_dsim_resource),
51 .resource = s5p_mipi_dsim_resource,