From patchwork Sat Nov 19 03:28:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 9437823 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7135160756 for ; Sat, 19 Nov 2016 03:28:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 661C228526 for ; Sat, 19 Nov 2016 03:28:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AD7329935; Sat, 19 Nov 2016 03:28:31 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID 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 A8F5D2977E for ; Sat, 19 Nov 2016 03:28:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 37F376E2EA; Sat, 19 Nov 2016 03:28:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from galahad.ideasonboard.com (galahad.ideasonboard.com [IPv6:2001:4b98:dc2:45:216:3eff:febb:480d]) by gabe.freedesktop.org (Postfix) with ESMTPS id BA9176E2D4 for ; Sat, 19 Nov 2016 03:28:08 +0000 (UTC) Received: from avalon.bb.dnainternet.fi (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id E589121131; Sat, 19 Nov 2016 04:28:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1479526085; bh=iJg5Yu42Iakd7fe3zkQZR1W1Y9XqTTwe5WclWJhZ4IA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jbaxu67GA2Ijq2DDsOaIe5Xfp7f5TgyDxoriKk1sqZJL5I8GnXlxMJFwe/sN1lK2O 29lhjRmLuPYvVD44r0l8QkEMMFkK5vhMfbb9pK+nhfRQtqD88ClzPNLv8i4puge/Ze Qhb2HdcU+xHzkCrNQfRWmQTdb/A4ibuftaxWcqvc= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 04/13] drm: Add data mirror bus flag Date: Sat, 19 Nov 2016 05:28:04 +0200 Message-Id: <1479526093-7014-5-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1479526093-7014-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> References: <1479526093-7014-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> Cc: linux-renesas-soc@vger.kernel.org, Tomi Valkeinen X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The flag indicates that data is mirrored on the bus. The exact meaning is bus-type dependent. For LVDS buses it indicates that the seven data bits that transmitted in a clock pulse are sent in slots 6 to 0 order. Signed-off-by: Laurent Pinchart --- include/drm/drm_connector.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index ac9d7d8e0e43..5c1dda236760 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -159,6 +159,8 @@ struct drm_display_info { #define DRM_BUS_FLAG_PIXDATA_POSEDGE (1<<2) /* drive data on neg. edge */ #define DRM_BUS_FLAG_PIXDATA_NEGEDGE (1<<3) +/* data is mirrored on the bus */ +#define DRM_BUS_FLAG_DATA_MIRROR (1<<4) /** * @bus_flags: Additional information (like pixel signal polarity) for