<div dir="ltr">Hi Liu Ying:<br><div class="gmail_extra"><br><div class="gmail_quote">2014-12-19 15:46 GMT+08:00 Liu Ying <span dir="ltr"><<a href="mailto:Ying.Liu@freescale.com" target="_blank">Ying.Liu@freescale.com</a>></span>:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andy,<br>
<br>
On 12/19/2014 02:33 PM, Andy Yan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Liu Ying:<br>
<br>
  I foud Rockchip RK618 (a mfd function device with mipi dsi,lvds<br>
transmitter、HDMI TX、and audio codec,and<br>
controlled by the SOC from i2c ) have the same register layout with your<br>
i.MX MIPI DSI,which means RK618 MIPI<br>
DSI also have the Synopsys compatible DSI IP。So Would you please make<br>
this drives more platform independent?<br>
<br>
</blockquote>
<br>
I may try to place the Synopsys DesignWare MIPI DSI driver in the<br>
drm/bridge directory and make it as less platform-dependant as<br>
possible.<br>
<br>
I have no access to the Rockchip RK618 chip and it's reference menu.<br>
You probably may add the Rockchip part support later.<br>
<br>
Regards,<br>
Liu Ying</blockquote><div> </div><div>  That's would be nice , thank you.</div><div>    Andy</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<br>
<br>
<br>
At 2014-12-18 15:11:22, "Liu Ying" <<a href="mailto:Ying.Liu@freescale.com" target="_blank">Ying.Liu@freescale.com</a>> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
<br>
This series addressed almost all comments from Thierry Redding and Russell<br>
on v1.<br>
<br>
This series adds support for i.MX MIPI DSI DRM driver.<br>
Currently, the MIPI DSI driver only supports the burst with sync pulse mode.<br>
<br>
This series also includes a DRM panel driver for the Truly TFT480800-16-E panel<br>
which is driven by the Himax HX8369A driver IC.  The driver IC data sheet could<br>
be found at [1].  As mentioned by the data sheet, the driver IC supports several<br>
interface modes.  Currently, the DRM panel driver only supports the MIPI DSI video<br>
mode.  New interface modes could be added later(perhaps, just like the way the DRM<br>
simple panel driver supports both MIPI DSI interface panels and simple(parallel)<br>
interface panels).<br>
<br>
The MIPI DSI feature is tested on i.MX6Q SabreSD board and i.MX6DL SabreSD board.<br>
The MIPI DSI display could be enabled directly on i.MX6Q SabreSD board after<br>
applying this series, because the 26.4MHz pixel clock the panel requires could be<br>
derived from the IPU HSP clock(264MHz) with an integer divider.<br>
On i.MX6DL SabreSD board, we need to manually disable the LVDS and HDMI displays in<br>
the device tree blob, since the i.MX6DL IPU HSP clock is 198MHz at present, which<br>
makes the pixel clock share the PLL5 video clock source with the LVDS and HDMI,<br>
thus, the panel cannot get the pixel clock rate it wants.<br>
<br>
Patch 01/15 is needed to get a precise pixel clock rate(26.4MHz) from the PLL5 video<br>
clock.  If we don't have this patch, the pixel clock rate is about 20MHz, which<br>
causes a horitonal shift on the display image.<br>
<br>
This series can be applied on the drm-next branch.<br>
<br>
[1] <a href="http://www.allshore.com/pdf/Himax_HX8369-A.pdf" target="_blank">http://www.allshore.com/pdf/<u></u>Himax_HX8369-A.pdf</a><br>
<br>
Liu Ying (14):<br>
 clk: divider: Correct parent clk round rate if no bestdiv is normally<br>
   found<br>
 of: Add vendor prefix for Himax Technologies Inc.<br>
 of: Add vendor prefix for Truly Semiconductors Limited<br>
 ARM: imx6q: Add GPR3 MIPI muxing control register field shift bits<br>
   definition<br>
 ARM: imx6q: clk: Add the video_27m clock<br>
 ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports'<br>
   node<br>
 drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format<br>
 drm: imx: Add MIPI DSI host controller driver<br>
 drm: panel: Add support for Himax HX8369A MIPI DSI panel<br>
 ARM: dtsi: imx6qdl: Add support for MIPI DSI host controller<br>
 ARM: dts: imx6qdl-sabresd: Add support for TRULY TFT480800-16-E MIPI<br>
   DSI panel<br>
 ARM: imx_v6_v7_defconfig: Cleanup for imx drm being moved out of<br>
   staging<br>
 ARM: imx_v6_v7_defconfig: Add support for MIPI DSI host controller<br>
 ARM: imx_v6_v7_defconfig: Add support for Himax HX8369A panel<br>
<br>
.../devicetree/bindings/drm/<u></u>imx/mipi_dsi.txt       |   78 ++<br>
.../devicetree/bindings/panel/<u></u>himax,hx8369a.txt    |   41 +<br>
.../devicetree/bindings/<u></u>vendor-prefixes.txt        |    2 +<br>
arch/arm/boot/dts/imx6q.dtsi                       |   20 +-<br>
arch/arm/boot/dts/imx6qdl-<u></u>sabresd.dtsi             |   20 +<br>
arch/arm/boot/dts/imx6qdl.dtsi                     |   30 +-<br>
arch/arm/configs/imx_v6_v7_<u></u>defconfig               |   17 +-<br>
arch/arm/mach-imx/clk-imx6q.c                      |    1 +<br>
drivers/clk/clk-divider.c                          |    3 +-<br>
drivers/gpu/drm/imx/Kconfig                        |    6 +<br>
drivers/gpu/drm/imx/Makefile                       |    1 +<br>
drivers/gpu/drm/imx/imx-mipi-<u></u>dsi.c                 | 1056 ++++++++++++++++++++<br>
drivers/gpu/drm/panel/Kconfig                      |    5 +<br>
drivers/gpu/drm/panel/Makefile                     |    1 +<br>
drivers/gpu/drm/panel/panel-<u></u>himax-hx8369a.c        |  573 +++++++++++<br>
include/drm/drm_mipi_dsi.h                         |   14 +<br>
include/dt-bindings/clock/<u></u>imx6qdl-clock.h          |    3 +-<br>
include/linux/mfd/syscon/<u></u>imx6q-iomuxc-gpr.h        |    1 +<br>
18 files changed, 1844 insertions(+), 28 deletions(-)<br>
create mode 100644 Documentation/devicetree/<u></u>bindings/drm/imx/mipi_dsi.txt<br>
create mode 100644 Documentation/devicetree/<u></u>bindings/panel/himax,hx8369a.<u></u>txt<br>
create mode 100644 drivers/gpu/drm/imx/imx-mipi-<u></u>dsi.c<br>
create mode 100644 drivers/gpu/drm/panel/panel-<u></u>himax-hx8369a.c<br>
<br>
--<br>
2.1.0<br>
<br></div></div>
______________________________<u></u>_________________<br>
dri-devel mailing list<br>
<a href="mailto:dri-devel@lists.freedesktop.org" target="_blank">dri-devel@lists.freedesktop.<u></u>org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dri-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/dri-devel</a><br>
</blockquote>
<br>
<br>
<br>
</blockquote><div class="HOEnZb"><div class="h5">
--<br>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in<br>
the body of a message to <a href="mailto:majordomo@vger.kernel.org" target="_blank">majordomo@vger.kernel.org</a><br>
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank">http://vger.kernel.org/<u></u>majordomo-info.html</a><br>
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank">http://www.tux.org/lkml/</a><br>
</div></div></blockquote></div></div></div>