From patchwork Thu Feb 21 05:11:51 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: 2170621 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 02CB03FD4E for ; Thu, 21 Feb 2013 06:47:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EEFA7E68DA for ; Wed, 20 Feb 2013 22:47:20 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pb0-f51.google.com (mail-pb0-f51.google.com [209.85.160.51]) by gabe.freedesktop.org (Postfix) with ESMTP id D5390E604E for ; Wed, 20 Feb 2013 21:12:08 -0800 (PST) Received: by mail-pb0-f51.google.com with SMTP id un15so3282583pbc.38 for ; Wed, 20 Feb 2013 21:12:08 -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=Bu+QNlqls/xV3dEXO62aqYMpuk2sAbAukf5KJvy1j/k=; b=FdZeYoPF6IwWaXvcTP2dPJXeP+iEdtlgTzOYo8qtaVnnIcIQN7fXEyIRoD3Uq1LGSg DLRyEomEA6kpW2SFMCOBCIQG4Fdh8tExeaVDvh0TLIrJ/kcwkYqhiSvqQ+dptcrY9ukd RZLseK7vny1X2SjMx7U4hLI1bluIFLHHChyL8wvWMGRpn3LznxXwUwpmbKNmjGJSXOW2 WE1rpJ/5/j3Gq7dGOqAAbrxdyPT5gyFMJOeT1ZLSSsvlpmKN9EYUreGzmAu5nMNZZI+F H8KeNjgssGGODEjWNyuUE0vU7j4xmxxt8emv4WtoXiUx+oOrDGoEZ7qxZX9u0Er7cvwG mfAQ== X-Received: by 10.66.144.165 with SMTP id sn5mr9163105pab.40.1361423528786; Wed, 20 Feb 2013 21:12:08 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id i6sm113649987paw.19.2013.02.20.21.12.04 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 20 Feb 2013 21:12:07 -0800 (PST) From: Vikas Sajjan To: dri-devel@lists.freedesktop.org Subject: [PATCH v7 1/2] video: drm: exynos: Add display-timing node parsing using video helper function Date: Thu, 21 Feb 2013 10:41:51 +0530 Message-Id: <1361423512-2882-2-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1361423512-2882-1-git-send-email-vikas.sajjan@linaro.org> References: <1361423512-2882-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQn2yy6HwNjLYJaVWfeTlXeQcU0ND4jWZlW54C685+AtJIMD69W0YUF+6Eh9KpllGZhD1xiw X-Mailman-Approved-At: Wed, 20 Feb 2013 22:45:31 -0800 Cc: l.krishna@samsung.com, kgene.kim@samsung.com, 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 | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 9537761..f80cf68 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -20,6 +20,7 @@ #include #include +#include