Skip to contentSkip to conversation

S5PV210: MIPI-DSI: add machine specific header files

PATCH New Donghwa Lee 1 participant 1 message Sep 28, 2010

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v3 2/3 S5PV210: MIPI-DSI: add machine specific header files

This patch adds several machine specific header files that including necessary structures and dsim device setup codes.

struct dsim_config
- define clock info, data lane count and video mode info for MIPI-DSI Controller.

struct dsim_lcd_config
- define interface mode, channel ID, Pixel format and so on.

struct s5p_platform_dsim
- define callbacks for initializing D-PHY, MIPI reset and trigger releated interfaces of s3c-fb.c file.

struct mipi_ddi_platform_data
- define following callbacks.
- a function for transferring and receiving command data to mipi based lcd panel.
- a function for getting framedone status of mipi-dsi controller.
- a function for clearing framedone interrupt of mipi-dsi controller.
- a function for checking i80 framedone status of display controller.(fimd)
- a function for triggering to display controller.(fimd)

---
 arch/arm/mach-s5pv210/include/mach/regs-clock.h |    1 +
 arch/arm/plat-samsung/Makefile                  |    3 +
 arch/arm/plat-samsung/dev-dsim.c                |  149 ++++++++
 arch/arm/plat-samsung/include/plat/dsim.h       |  447 +++++++++++++++++++++++
 arch/arm/plat-samsung/include/plat/mipi_ddi.h   |   98 +++++
 arch/arm/plat-samsung/include/plat/regs-dsim.h  |  281 ++++++++++++++
 arch/arm/plat-samsung/setup-dsim.c              |  144 ++++++++
 7 files changed, 1123 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/plat-samsung/dev-dsim.c
 create mode 100644 arch/arm/plat-samsung/include/plat/dsim.h
 create mode 100644 arch/arm/plat-samsung/include/plat/mipi_ddi.h
 create mode 100644 arch/arm/plat-samsung/include/plat/regs-dsim.h
 create mode 100644 arch/arm/plat-samsung/setup-dsim.c
arch/arm/mach-s5pv210/include/mach/regs-clock.h +1 -0
index 499aef7..083c32d 100644
@@ -164,6 +164,7 @@
 
 /* MIPI */
 #define S5P_MIPI_DPHY_EN		(3)
+#define S5P_MIPI_M_RESETN		(1 << 1)
 
 /* S5P_DAC_CONTROL */
 #define S5P_DAC_ENABLE			(1)
arch/arm/plat-samsung/Makefile +3 -0
index 4d8ff92..bb7e6e1 100644
@@ -54,6 +54,9 @@ obj-$(CONFIG_SAMSUNG_DEV_IDE)	+= dev-ide.o
 obj-$(CONFIG_SAMSUNG_DEV_TS)	+= dev-ts.o
 obj-$(CONFIG_SAMSUNG_DEV_KEYPAD)	+= dev-keypad.o
 
+# Device setup - MIPI-DSI
+obj-$(CONFIG_S5P_MIPI_DSI)	+= setup-dsim.o
+
 # DMA support
 
 obj-$(CONFIG_S3C_DMA)		+= dma.o
arch/arm/plat-samsung/dev-dsim.c new file +149 -0

149 lines not on this page · raw message

arch/arm/plat-samsung/include/plat/dsim.h new file +447 -0

447 lines not on this page · raw message

arch/arm/plat-samsung/include/plat/mipi_ddi.h new file +98 -0

98 lines not on this page · raw message

arch/arm/plat-samsung/include/plat/regs-dsim.h new file +281 -0

281 lines not on this page · raw message

arch/arm/plat-samsung/setup-dsim.c new file +144 -0

144 lines not on this page · raw message

Signature · 1 line
1.6.0.4