From patchwork Thu Feb 28 04:12:41 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: 2197051 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 72A363FCF6 for ; Thu, 28 Feb 2013 11:27:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5FE2BE5FEC for ; Thu, 28 Feb 2013 03:27:59 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 2E29FE5C6C for ; Wed, 27 Feb 2013 20:13:00 -0800 (PST) Received: by mail-pa0-f49.google.com with SMTP id kp6so875477pab.36 for ; Wed, 27 Feb 2013 20:12:59 -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=7Rv+ctghG2lVrMrTt66wvCKRj2n+XN96Qk/Sn+/BOs8=; b=ED5jQVXDAMPupdgZwUt7VMYHR0fe3gXI75VJOR0l0xxCtIAKyBLT7d69h4nrGmitNx jaGEyAsfq1v5MbwB0JWKVJWlA1DdUx3C+CXWitKphoFApAkuS0NyKxpngzXBcYDTNLg2 8Wsm+1ArfGeIuBfQv2vOMIAY/XtNva0tvppnUo6KNd57po8UxU7dD3NbO/6mMKnyDkA3 3nbzbAEF2FR8E5tDVe+gOzSMqTy6i24YaLnkMp44LNRtzNEXehXNQgQS7IAk3hhRYJ52 mIyRFJUV7rXNrt/9Koz3YaHnu6aktCmJM8/dTVk925BFZkVv5QpGeww3l+Fu7aUZAOaN iaOA== X-Received: by 10.68.197.41 with SMTP id ir9mr7041769pbc.87.1362024779861; Wed, 27 Feb 2013 20:12:59 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ab1sm6840899pbd.37.2013.02.27.20.12.55 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Feb 2013 20:12:58 -0800 (PST) From: Vikas Sajjan To: dri-devel@lists.freedesktop.org Subject: [PATCH v9 1/2] video: drm: exynos: Add display-timing node parsing using video helper function Date: Thu, 28 Feb 2013 09:42:41 +0530 Message-Id: <1362024762-28406-2-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362024762-28406-1-git-send-email-vikas.sajjan@linaro.org> References: <1362024762-28406-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQnc+EgQ08Qcsov6cjiqpwG4YeA5UW0Srl40h1uNc7qmRo6Gl1aJCATMBQ2zvgfgrVDp3Jo1 X-Mailman-Approved-At: Thu, 28 Feb 2013 03:08:34 -0800 Cc: kgene.kim@samsung.com, linaro-dev@lists.linaro.org, patches@linaro.org, l.krishna@samsung.com, joshi@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 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 Acked-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 24 ++++++++++++++++++++---- 1 file changed, 20 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..e323cf9 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