From patchwork Wed Aug 31 13:23:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 1116062 X-Patchwork-Delegate: tomi.valkeinen@nokia.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7VDNucA023629 for ; Wed, 31 Aug 2011 13:23:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755786Ab1HaNXz (ORCPT ); Wed, 31 Aug 2011 09:23:55 -0400 Received: from na3sys009aog116.obsmtp.com ([74.125.149.240]:56226 "EHLO na3sys009aog116.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755816Ab1HaNXx (ORCPT ); Wed, 31 Aug 2011 09:23:53 -0400 Received: from mail-ww0-f48.google.com ([74.125.82.48]) (using TLSv1) by na3sys009aob116.postini.com ([74.125.148.12]) with SMTP ID DSNKTl416Ki7cypRSFIAMDwkTWxBdMPzPbJf@postini.com; Wed, 31 Aug 2011 06:23:53 PDT Received: by mail-ww0-f48.google.com with SMTP id 26so732405wwj.29 for ; Wed, 31 Aug 2011 06:23:52 -0700 (PDT) Received: by 10.216.230.36 with SMTP id i36mr384028weq.103.1314797032512; Wed, 31 Aug 2011 06:23:52 -0700 (PDT) Received: from localhost.localdomain (a62-248-128-208.elisa-laajakaista.fi [62.248.128.208]) by mx.google.com with ESMTPS id fm9sm5476855wbb.27.2011.08.31.06.23.50 (version=SSLv3 cipher=OTHER); Wed, 31 Aug 2011 06:23:51 -0700 (PDT) From: Tomi Valkeinen To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: archit@ti.com, mythripk@ti.com, Tomi Valkeinen Subject: [PATCH 10/12] OMAP: DSS2: Generic-dpi: add detect & read_edid support Date: Wed, 31 Aug 2011 16:23:21 +0300 Message-Id: <1314797003-17638-11-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1314797003-17638-1-git-send-email-tomi.valkeinen@ti.com> References: <1314797003-17638-1-git-send-email-tomi.valkeinen@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 31 Aug 2011 13:23:56 +0000 (UTC) Add i2c_bus_num field to panel_generic_dpi_data, and use it in the panel-generic-dpi.c to detect if a panel is connected and to read EDID from the panel. Original by: Ricardo Salveti de Araujo Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/displays/panel-generic-dpi.c | 92 ++++++++++++++++++++++ include/video/omap-panel-generic-dpi.h | 2 + 2 files changed, 94 insertions(+), 0 deletions(-) diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c index 9c90f75..6ef36ad 100644 --- a/drivers/video/omap2/displays/panel-generic-dpi.c +++ b/drivers/video/omap2/displays/panel-generic-dpi.c @@ -34,6 +34,8 @@ #include #include #include