From mboxrd@z Thu Jan 1 00:00:00 1970 From: Archit Taneja Subject: [RFC][PATCH 0/8] OMAP: DSS2: Overlay Manager LCD2 support in DISPC Date: Thu, 1 Jul 2010 16:01:17 +0530 Message-ID: <1277980285-20996-1-git-send-email-archit@ti.com> Return-path: Received: from bear.ext.ti.com ([192.94.94.41]:34566 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755045Ab0GAKbd (ORCPT ); Thu, 1 Jul 2010 06:31:33 -0400 Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-omap@vger.kernel.org Cc: tomi.valkeinen@nokia.com, "Semwal, Sumit" From: Semwal, Sumit This patch series incorporates changes in DSS2 to enable omap_dss_device instances to use the new Overlay Manager LCD2 in DISPC. On OMAP4, we have a new DISPC channel for Overlay Manager LCD2. This channel's video port is a source port for RFBI, DSI2 and DPI. The Primary channel's video port is connected to RFBI and DSI1. There is a set of regsiters for LCD2 channel similar to the existing LCD channel, like DISPC_CONTROL2, DISPC_DIVISOR2, DISPC_CONFIG2 and so on. In order to decide which LCD Overlay Manager to configure(LCD/LCD2), there is a need for the omap_dss_device instances to tell the interface drivers(DSI, DPI, RFBI etc) which LCD channel they want to connect to, so that the corresponding registers get configured. Therefore, a new enum omap_channel member is introduced to omap_dss_device. This design was made keeping in mind the possible addition of more Overlay Managers in future OMAPs, this code is also backward compatible with OMAP3 as omap_dss_device instances in OMAP3 will stick only with OMAP_DSS_CHANNEL_LCD. Sumit Semwal (7): OMAP: DSS2: Overlay Manager LCD2 changes in dispay.h OMAP: DSS2: Add new Overlay Manager OMAP: DSS2: Modify dss_recheck_connections OMAP: DSS2: OMAP4 Secondary LCD Channel DISPC Registers OMAP: DSS2: Secondary LCD Channel in DISPC functions OMAP: DSS2: Secondary LCD Channel DISPC IRQs OMAP: DSS2: Interface driver changes for Secondary LCD Channel Mayuresh Janorkar (1) OMAP: DSS2: Context Save and Restore of DISPC registers for Secondary LCD arch/arm/plat-omap/include/plat/display.h | 7 + drivers/video/omap2/dss/core.c | 2 +- drivers/video/omap2/dss/dispc.c | 478 +++++++++++++++++++++++------ drivers/video/omap2/dss/dpi.c | 38 ++- drivers/video/omap2/dss/dsi.c | 22 +- drivers/video/omap2/dss/dss.h | 37 ++- drivers/video/omap2/dss/manager.c | 87 ++++-- drivers/video/omap2/dss/overlay.c | 14 +- drivers/video/omap2/dss/rfbi.c | 21 +- drivers/video/omap2/dss/sdi.c | 22 +- 10 files changed, 536 insertions(+), 192 deletions(-) --