From patchwork Wed May 1 19:06:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 2508781 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 2386C3FC5A for ; Wed, 1 May 2013 19:09:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1188CE62BA for ; Wed, 1 May 2013 12:09:26 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ee0-f46.google.com (mail-ee0-f46.google.com [74.125.83.46]) by gabe.freedesktop.org (Postfix) with ESMTP id DFA77E62C1 for ; Wed, 1 May 2013 12:06:35 -0700 (PDT) Received: by mail-ee0-f46.google.com with SMTP id c13so796278eek.33 for ; Wed, 01 May 2013 12:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=/prHVhMXuF7ECQqBzazakSzjm8Uyu0unG84mVzukGzw=; b=I+OajNRZOy6E/sycSeuw80JYwg07Cgi792fno+mSol1sQ3avSutCJovqD7sJ2UvJBK Be+FMwSiBVm5fJVeSyHPAfBeW5mTsHqPwhGlKCMOjlmDEPXnmmSqEYfrF44RNYCHcPmE CZijkjutS1dnDiVSejLedYfX7EeUHNs3alTIgovjC4hmVxokuS2i9lRlpzelLnNUMMRo T0MpLzeUZ9ICCdBq3ROBAZzGkwoYUgtB6MEt0P/gBphvwu7iAJTQI7Vh4eBDbYRXrT1L nMWtPKti6IaFTCH7s9ann73rqCCb88X+XuV/H8k69/rp6TD1yk1Tn/CR6/FQ6RBfqxb6 kmlQ== X-Received: by 10.15.101.200 with SMTP id bp48mr11195669eeb.38.1367435195017; Wed, 01 May 2013 12:06:35 -0700 (PDT) Received: from flatron.tomeq (87-207-52-162.dynamic.chello.pl. [87.207.52.162]) by mx.google.com with ESMTPSA id m48sm5134670eeu.15.2013.05.01.12.06.33 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 May 2013 12:06:34 -0700 (PDT) From: Tomasz Figa To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/exynos: fimd: Get signal polarities from device tree Date: Wed, 1 May 2013 21:06:09 +0200 Message-Id: <1367435169-15025-1-git-send-email-tomasz.figa@gmail.com> X-Mailer: git-send-email 1.8.2.1 Cc: linux-samsung-soc@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org This patch modifies the driver to perform two stage parsing of video timings from device tree, to get timing information as struct videomode, which contains more data than struct fb_videomode. Thanks to this change, information about polarity of control signals (VSYNC, HSYNC, VDEN, VCLK) can be retrieved, in addition to standard video timings. Signed-off-by: Tomasz Figa --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index a1669d4..9023efa 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -21,7 +21,9 @@ #include #include