History log of /include/video/sh_mipi_dsi.h
Revision Date Author Comments
074d0da486e2a5b8e80c35070ede7104f302f6da 14-Aug-2012 Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> fbdev: sh_mipi_dsi: Remove the unused sh_mipi_dsi_info lcd_chan field

The field is unused, remove it from the structure.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
50b1a7447749ab137c4827c7758836471e663582 14-Aug-2012 Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> fbdev: sh_mipi_dsi: Add channel field to platform data

The channel field stores the LCDC channel corresponding to the MIPI-DSI
transmitter. The information is currently obtained through the lcd_chan
field that will be removed.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
8f9c60f2e29717155227f225b557d3f1fda442bd 21-Mar-2012 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> fbdev: sh_mipi_dsi: add extra phyctrl for sh_mipi_dsi_info

sh_mipi uses some clocks, but the method of setup depends on CPU.

Current SuperH (like sh73a0) can control all of these clocks
by CPG (Clock Pulse Generator).
It means we can control it by clock framework only.
But on sh7372, it needs CPG settings AND sh_mipi PHYCTRL::PLLDS,
and only sh7372 has PHYCTRL::PLLDS.

But on current sh_mipi driver, PHYCTRL::PLLDS of sh7372 was
overwrote since the callback timing of clock setting was changed
by c2658b70f06108361aa5024798f9c1bf47c73374
(fbdev: sh_mipi_dsi: fixup setup timing of sh_mipi_setup()).
To solve this issue, this patch adds extra .phyctrl.

This patch adds detail explanation for unclear mipi settings
and fixup wrong PHYCTRL::PLLDS value for ap4evb (0xb -> 0x6).

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
a2e6297153f8fc7185d119c59d8eed1ee7d4c74f 09-Nov-2011 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> fbdev: sh_mipi_dsi: add HSxxCLK support

SH MIPI manual explains the calculation method of HBP/HFP.
it is based on HSbyteCLK settings.
SH73a0 chip can use HS6divCLK/HS4divCLK for it.
This patch has compatibility to SH7372 mipi

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
5e47431aabf716c9ad9eacf1a966e1fc1469c809 09-Nov-2011 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> fbdev: sh_mipi_dsi: add set_dot_clock() for each platform

Dot clock of SH MIPI are depends on each platform board.
This patch adds set_dot_clock() function for it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
f832906a56bcf9c597589e9a7898c1dd2f0513b9 09-Nov-2011 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> fbdev: sh_mipi_dsi: add sync_pulses/sync_events/burst mode

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
26c3d7ac219e74ab3939048a32d6bd3b4a16798a 09-Nov-2011 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> fbdev: sh_mipi_dsi: add lane control support

SH MIPI DSI can use 0-4 lane

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
d07a9d2a5e82ed677971b2e9f3e4cbd49b9ec34e 09-Nov-2011 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> fbdev: sh_mipi_dsi: add SH_MIPI_DSI_BL2E flag

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
f7b0af68bc9f5eb5291996706951661d57909137 09-Nov-2011 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> fbdev: sh_mipi_dsi: add SH_MIPI_DSI_HFPBM flag

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
32ba95c69f33126e297466dc706db73cc7e7a543 09-Nov-2011 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> fbdev: sh_mipi_dsi: typo fix of SH_MIPI_DSI_HBPBM

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
38f3a8794236af422312d280bbe3801130cfa63b 29-Dec-2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de> fbdev: sh_mipi_dsi: support different register layouts

The register layout of the MIPI DSI unit on sh-mobile SoCs differ. Add platform
parameters to support such variations.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
9fd04fe34af36344f61ebb24cc653726c231356e 23-May-2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de> sh-mobile: add support for displays, connected over the MIPI bus

Some SH-mobile SoCs have a MIPI DSI controller, that can be used to connect
MIPI displays to LCDC. This patch adds a platform driver for SH-mobile MIPI DSI
unit. It uses existing hooks in the sh_mobile_lcdcfb.c driver for display
activation and deactivation.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Tested-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>