From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933152AbcETNxP (ORCPT ); Fri, 20 May 2016 09:53:15 -0400 Received: from mail.karo-electronics.de ([81.173.242.67]:49518 "EHLO mail.karo-electronics.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755916AbcETNxN (ORCPT ); Fri, 20 May 2016 09:53:13 -0400 X-Greylist: delayed 1064 seconds by postgrey-1.27 at vger.kernel.org; Fri, 20 May 2016 09:53:12 EDT From: =?UTF-8?q?Lothar=20Wa=C3=9Fmann?= To: David Airlie , Jean-Christophe Plagniol-Villard , Philipp Zabel , Tomi Valkeinen , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Russell King - ARM Linux , Sascha Hauer , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Subject: [PATCH 0/3] drm/imx: convey the pixelclk-active and de-active flags to the ipu-di driver Date: Fri, 20 May 2016 15:34:51 +0200 Message-Id: <1463751294-24769-1-git-send-email-LW@KARO-electronics.de> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 'de-active' and 'pixelclk-active' DT properties are evaluated by of_parse_display_timing() called from of_get_drm_display_mode(), but later lost in the conversion from videomode.flags to drm_display_mode.flags. Use an open coded version of of_get_drm_display_mode() to get access to these flags and make sure they are passed on to the ipu-di driver. This patch also makes sure, that the 'bus_flags' specified in the simple-panel driver will be passed on from the ipu-di driver. The first patch in this series makes sure, the imx-ldb driver honors the 'native-mode' property in DT (like the parallel-display driver does already). The third patch removes some dead code in the parallel-display driver, hat depends on a variable which is never assigned a non-zero value and thus can never be reached.