Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752669AbbKZHul (ORCPT ); Thu, 26 Nov 2015 02:50:41 -0500 Received: from mail-io0-f194.google.com ([209.85.223.194]:36428 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750832AbbKZHui (ORCPT ); Thu, 26 Nov 2015 02:50:38 -0500 From: Chris Zhong To: heiko@sntech.de, linux-rockchip@lists.infradead.org, mark.yao@rock-chips.com, treding@nvidia.com Cc: Chris Zhong , Liu Ying , Takashi Iwai , Kumar Gala , dri-devel@lists.freedesktop.org, Ian Campbell , Rob Herring , David Airlie , Jeff Chen , linux-clk@vger.kernel.org, Alexandru M Stan , Sonny Rao , Kever Yang , Huang Lin , Inki Dae , Pawel Moll , devicetree@vger.kernel.org, Michael Turquette , Stephen Boyd , Vincent Palatin , Russell King , Ajay Kumar , linux-arm-kernel@lists.infradead.org, Russell King , Liu Ying , Doug Anderson , linux-kernel@vger.kernel.org, Andy Yan , Mark Rutland , Roger Chen Subject: [PATCH v5 0/11] Add mipi dsi support for rk3288 Date: Thu, 26 Nov 2015 15:50:14 +0800 Message-Id: <1448524225-5489-1-git-send-email-zyw@rock-chips.com> X-Mailer: git-send-email 2.6.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3979 Lines: 91 The rk3288 MIPI DSI is a Synopsys DesignWare MIPI DSI host controller IP. This series adds support for a Synopsys DesignWare MIPI DSI host controller DRM bridge driver and a rockchip MIPI DSI specific DRM driver. This series also includes a DRM panel driver for BOE TV080WUM-NL0 panel. This panel only use the MIPI DSI video mode. The MIPI DSI feature is tested on rk3288 evb board, backport them to chrome os kernel v3.14, and it can display normally. This patchset is base on the patchset from Ying.liu@freescale.com. Changes in v5: - change the mipidsi clk to SCLK_MIPIDSI_24M - modify the mipidsi clk name to SCLK_MIPIDSI_24M Adviced by Thierry - use hyphens instead of underscore - use encoder in drm_bridge - reformatting the dptdin table - use readx_poll_timeout to check register - use msleep to wait - add a comment to explain how to program phy - change the program code to symbolic names - check this for validity of find_panel and clk_prepare_enable - eliminate the configuration clock - some optimization for coding style - modify the clk name to SCLK_MIPIDSI_24M - add a blank line befor lcd_en Changes in v4: - use clk_round_rate to check the clock rate in vop_crtc_mode_fixup - remove the cfg clk - remove gpr property from example, since it is noused now. - add the description about ports - eliminate some warnning Changes in v3: - move the dw_mipi_dsi.txt to Documentation/devicetree/bindings/display/bridge - move dw_mipi_dsi_rockchip.txt to bindings/display/rockchip/ Changes in v2: - add the mipi clk id in a single patch Chris Zhong (9): clk: rockchip: add id for mipidsi sclk on rk3288 clk: rockchip: add mipidsi clocks on rk3288 drm/rockchip: return a true clock rate to adjusted_mode drm: bridge: allow some funcs to be optional drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver drm: rockchip: Support Synopsys DesignWare MIPI DSI host controller Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver ARM: dts: rockchip: add rk3288 mipi_dsi nodes ARM: dts: rockchip: add support mipi panel tv080wum-nl0 for rk3288-evb Liu Ying (2): drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format Documentation: dt-bindings: Add bindings for DW MIPI DSI .../bindings/display/bridge/dw_mipi_dsi.txt | 74 ++ .../display/rockchip/dw_mipi_dsi_rockchip.txt | 56 + arch/arm/boot/dts/rk3288-evb.dtsi | 20 +- arch/arm/boot/dts/rk3288.dtsi | 39 + drivers/clk/rockchip/clk-rk3288.c | 2 +- drivers/gpu/drm/bridge/Kconfig | 10 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/dw-mipi-dsi.c | 1084 ++++++++++++++++++++ drivers/gpu/drm/drm_bridge.c | 6 +- drivers/gpu/drm/rockchip/Kconfig | 10 + drivers/gpu/drm/rockchip/Makefile | 1 + drivers/gpu/drm/rockchip/dw_mipi_dsi_rockchip.c | 249 +++++ drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 8 + include/drm/bridge/dw_mipi_dsi.h | 28 + include/drm/drm_mipi_dsi.h | 14 + include/dt-bindings/clock/rk3288-cru.h | 1 + 16 files changed, 1599 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/dw_mipi_dsi.txt create mode 100644 Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt create mode 100644 drivers/gpu/drm/bridge/dw-mipi-dsi.c create mode 100644 drivers/gpu/drm/rockchip/dw_mipi_dsi_rockchip.c create mode 100644 include/drm/bridge/dw_mipi_dsi.h -- 2.6.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/