From patchwork Wed Feb 6 04:24:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vikas C Sajjan X-Patchwork-Id: 2102311 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 309943FCFC for ; Wed, 6 Feb 2013 07:14:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 27D41E6304 for ; Tue, 5 Feb 2013 23:14:34 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by gabe.freedesktop.org (Postfix) with ESMTP id 5590DE640C for ; Tue, 5 Feb 2013 20:24:25 -0800 (PST) Received: by mail-pa0-f53.google.com with SMTP id bg4so549486pad.12 for ; Tue, 05 Feb 2013 20:24:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=QBvb31CD1oPPIGytFn6eu/IToeG0Bx36qvzL3tymGgA=; b=eU2IDDRnGIDzP7MSDR8+L/nS+he+aGyM8B1NLboiOKNiw7h5mYauzN/GyuumIsCqfm Kz6QuZqY2RgyEX1B8rDj2SdIB/GtJnPcxQAm+qOUOQ/E3Xom6IUs2/oFX38Fi0bKiFbr aUMs26KHcXvPmCLyjoner4gw/1fwVHzy4DDOLsQ9r6wAEVDpiqMhPfx5OqQi5sJw7tJe rp/YwzwWIlMVLKUW2/UyDQoTIOmdDb9CyF+9Gb8ZEhI+yJRCNrBar+ZRrZevx4IlIH/r zO2VWMfay4akgOuJKt/J7Q+9S/jDR3lepyMsd1XrJWFD3U0gKnOHeMVTLn6F1Z+mGhmY U1zA== X-Received: by 10.66.74.197 with SMTP id w5mr71404486pav.60.1360124665011; Tue, 05 Feb 2013 20:24:25 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id k7sm21125158paz.13.2013.02.05.20.24.21 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Feb 2013 20:24:24 -0800 (PST) From: Vikas Sajjan To: dri-devel@lists.freedesktop.org Subject: [PATCH v5 1/1] video: drm: exynos: Add display-timing node parsing using video helper function Date: Wed, 6 Feb 2013 09:54:15 +0530 Message-Id: <1360124655-22902-2-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1360124655-22902-1-git-send-email-vikas.sajjan@linaro.org> References: <1360124655-22902-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQly8LNshhdXkIFZ6LKPz0JuyH6ftKtNYI5crey+ZG+/sWdbEaip1ePPmUCa4ySLFeFoCoTS X-Mailman-Approved-At: Tue, 05 Feb 2013 22:55:11 -0800 Cc: l.krishna@samsung.com, kgene.kim@samsung.com, paulepanter@users.sourceforge.net, linux-media@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 Add support for parsing the display-timing node using video helper function. The DT node parsing and pinctrl selection is done only if 'dev.of_node' exists and the NON-DT logic is still maintained under the 'else' part. Signed-off-by: Leela Krishna Amudala Signed-off-by: Vikas Sajjan --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 41 +++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index bf0d9ba..978e866 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -19,6 +19,7 @@ #include #include #include +#include #include