From patchwork Mon Feb 11 09:46:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 10805353 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 10F386C2 for ; Mon, 11 Feb 2019 09:47:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F39FB29E0B for ; Mon, 11 Feb 2019 09:47:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E796129E11; Mon, 11 Feb 2019 09:47:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A23BE29E0B for ; Mon, 11 Feb 2019 09:47:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8A1E46E243; Mon, 11 Feb 2019 09:47:13 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by gabe.freedesktop.org (Postfix) with ESMTPS id D3AAC6E243 for ; Mon, 11 Feb 2019 09:47:12 +0000 (UTC) Received: from pendragon.brusselsairlines.com (233.56-78-194.adsl-static.isp.belgacom.be [194.78.56.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 23E922E4; Mon, 11 Feb 2019 10:47:11 +0100 (CET) From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Subject: [PATCH v3 00/50] omapdrm: drm_bridge and drm_panel support Date: Mon, 11 Feb 2019 11:46:15 +0200 Message-Id: <20190211094705.2845-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tomi Valkeinen Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hello, This patch series consolidates the three pending series for the omapdrm and tfp410 drivers that all together implement drm_bridge and drm_panel support for omapdrm. Compared to v2, patch 50/50 has been added, the series has been rebased on drm-next, review comments have been incorporated and review tags collected. Please see individual patches for changelogs. The whole series is available from git://linuxtv.org/pinchartl/media.git omapdrm/bridge/next Laurent Pinchart (46): drm/atomic: Constify mode argument to mode_valid_path() drm/omap: Remove declaration of nonexisting function drm/omap: Remove unused kobj field from struct omap_dss_device drm/omap: venc: Remove wss_data field from venc_device structure drm/omap: Use atomic suspend/resume helpers drm/omap: Move common display enable/disable code to encoder drm/omap: Remove connection checks from internal encoders .enable() drm/omap: Remove connection checks from display .enable() and .remove() drm/omap: Remove enable checks from display .enable() and .remove() drm/omap: Reverse direction of the DSS device enable/disable operations drm/omap: Remove omap_dss_device dst field drm/omap: Factor out common init/cleanup code for output devices drm/omap: Expose DRM modes instead of timings in display devices drm/omap: Merge display .get_modes() and .get_size() operations drm/omap: Add a dss device operation flag for .get_modes() drm/omap: venc: List both PAL and NTSC modes drm/omap: Don't pass display pointer to encoder init function drm/omap: Move display alias ID to omap_drm_pipeline drm/omap: Don't store display pointer in omap_connector structure drm/omap: panel-dsi-cm: Store source pointer internally drm/omap: Notify all devices in the pipeline of output disconnection drm/omap: Remove src field from omap_dss_device structure drm/omap: Move DISPC timing checks to CRTC .mode_valid() operation drm/omap: venc: Simplify mode setting by caching configuration drm/omap: Factor out common mode validation code drm/omap: Pass drm_display_mode to .check_timings() and .set_timings() drm/omap: venc: Use drm_display_mode natively drm/omap: Store pixel clock instead of full mode in DPI and SDI encoders drm/omap: Simplify OF lookup of DSS devices drm/omap: Refactor initialization sequence drm/omap: Merge omap_dss_device type and output_type fields drm: Clarify definition of the DRM_BUS_FLAG_(PIXDATA|SYNC)_* macros drm: Use new DRM_BUS_FLAG_*_(DRIVE|SAMPLE)_(POS|NEG)EDGE flags dt-bindings: display: tfp410: Add bus parameters properties drm/bridge: ti-tfp410: Set connector type based on DT connector node drm/bridge: ti-tfp410: Add support for the powerdown GPIO drm/bridge: ti-tfp410: Report input bus config through bridge timings dt-bindings: Add vendor prefix for OSD Displays dt-bindings: display: Add OSD Displays OSD070T1718-19TS panel binding drm/panel: simple: Add OSD070T1718-19TS panel support drm/omap: Add support for drm_bridge drm/omap: Add support for drm_panel drm/omap: Whitelist DT nodes to fixup with omapdss, prefix drm/omap: Remove TFP410 and DVI connector drivers drm/omap: Remove panel-dpi driver drm: Turn bus flags macros into an enum Stefan Agner (1): drm/bridge: use bus flags in bridge timings Tomi Valkeinen (3): drm/omap: dsi: Fix crash in DSI debug dumps drm/omap: dsi: Fix OF platform depopulate drm/omap: dsi: Hack-fix DSI bus flags .../bindings/display/bridge/ti,tfp410.txt | 24 +- .../panel/osddisplays,osd070t1718-19ts.txt | 12 + .../devicetree/bindings/vendor-prefixes.txt | 1 + drivers/gpu/drm/bridge/dumb-vga-dac.c | 6 +- drivers/gpu/drm/bridge/ti-tfp410.c | 109 +++++- drivers/gpu/drm/drm_atomic_helper.c | 4 +- drivers/gpu/drm/drm_modes.c | 12 +- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 2 +- drivers/gpu/drm/imx/ipuv3-crtc.c | 2 +- drivers/gpu/drm/mxsfb/mxsfb_crtc.c | 6 +- drivers/gpu/drm/omapdrm/displays/Kconfig | 17 - drivers/gpu/drm/omapdrm/displays/Makefile | 3 - .../omapdrm/displays/connector-analog-tv.c | 45 +-- .../gpu/drm/omapdrm/displays/connector-dvi.c | 330 ------------------ .../gpu/drm/omapdrm/displays/connector-hdmi.c | 45 +-- .../gpu/drm/omapdrm/displays/encoder-opa362.c | 39 +-- .../gpu/drm/omapdrm/displays/encoder-tfp410.c | 170 --------- .../drm/omapdrm/displays/encoder-tpd12s015.c | 40 --- drivers/gpu/drm/omapdrm/displays/panel-dpi.c | 221 ------------ .../gpu/drm/omapdrm/displays/panel-dsi-cm.c | 140 +++----- .../displays/panel-lgphilips-lb035q02.c | 41 +-- .../omapdrm/displays/panel-nec-nl8048hl11.c | 41 +-- .../displays/panel-sharp-ls037v7dw01.c | 61 ++-- .../omapdrm/displays/panel-sony-acx565akm.c | 55 +-- .../omapdrm/displays/panel-tpo-td028ttec1.c | 52 +-- .../omapdrm/displays/panel-tpo-td043mtea1.c | 48 +-- drivers/gpu/drm/omapdrm/dss/base.c | 146 +++++--- drivers/gpu/drm/omapdrm/dss/display.c | 24 +- drivers/gpu/drm/omapdrm/dss/dpi.c | 64 +--- drivers/gpu/drm/omapdrm/dss/dsi.c | 77 ++-- drivers/gpu/drm/omapdrm/dss/dss-of.c | 60 +--- drivers/gpu/drm/omapdrm/dss/dss.c | 2 +- drivers/gpu/drm/omapdrm/dss/hdmi4.c | 54 +-- drivers/gpu/drm/omapdrm/dss/hdmi5.c | 54 +-- .../gpu/drm/omapdrm/dss/omapdss-boot-init.c | 18 +- drivers/gpu/drm/omapdrm/dss/omapdss.h | 76 ++-- drivers/gpu/drm/omapdrm/dss/output.c | 36 +- drivers/gpu/drm/omapdrm/dss/sdi.c | 68 ++-- drivers/gpu/drm/omapdrm/dss/venc.c | 225 ++++++------ drivers/gpu/drm/omapdrm/omap_connector.c | 183 +++++----- drivers/gpu/drm/omapdrm/omap_connector.h | 8 +- drivers/gpu/drm/omapdrm/omap_crtc.c | 13 +- drivers/gpu/drm/omapdrm/omap_drv.c | 236 ++++++------- drivers/gpu/drm/omapdrm/omap_drv.h | 2 +- drivers/gpu/drm/omapdrm/omap_encoder.c | 207 ++++++----- drivers/gpu/drm/omapdrm/omap_encoder.h | 3 +- drivers/gpu/drm/panel/panel-arm-versatile.c | 4 +- drivers/gpu/drm/panel/panel-ilitek-ili9322.c | 4 +- drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 2 +- drivers/gpu/drm/panel/panel-simple.c | 53 ++- drivers/gpu/drm/pl111/pl111_display.c | 2 +- drivers/gpu/drm/sun4i/sun4i_tcon.c | 4 +- drivers/gpu/drm/tve200/tve200_display.c | 3 +- include/drm/drm_bridge.h | 11 +- include/drm/drm_connector.h | 80 ++++- 55 files changed, 1175 insertions(+), 2070 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/osddisplays,osd070t1718-19ts.txt delete mode 100644 drivers/gpu/drm/omapdrm/displays/connector-dvi.c delete mode 100644 drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c delete mode 100644 drivers/gpu/drm/omapdrm/displays/panel-dpi.c