From patchwork Thu Mar 7 06:45:21 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: 2232321 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id B7803DF223 for ; Thu, 7 Mar 2013 14:17:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 90011E6BA8 for ; Thu, 7 Mar 2013 06:17:31 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by gabe.freedesktop.org (Postfix) with ESMTP id 77461E6A1F for ; Wed, 6 Mar 2013 22:45:39 -0800 (PST) Received: by mail-pb0-f47.google.com with SMTP id rp2so138690pbb.6 for ; Wed, 06 Mar 2013 22:45:39 -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=ZIcAyR6FJFcTBY152UeGbinC2thJiGZNsMrOWJiFarU=; b=PNBXey7WVE9dpwPNzX773tLLByPFNhyyQNsYhJ43y7Q1ImBrGKPuzhjmhfQguhcVAn Im6I9c8nR1iUd9ARmNTgYVEx/sEwIyGqkxO4T6j/7a0gvwo2Gv0Ezf7hICGoinusCjLy hcKJE+jj4qmLmBrASTByLNhvunz8rn9iNWPjUJh0LF3xu7osWqK1Q96kCI3NfZC/yzIQ NDoCRhmBNxpPnuiYHflnJlt0/0i+kyY8yQdzLVGumG9epK8JSlnSX1wOvOZUVnmTvj3p F1nMbWx5xWtnqgF+dVzI/Gop8DVQV9Rwq0kRZ4m6oToenAWrDP2kI6LjEydkmpgSV0eh +vbQ== X-Received: by 10.68.129.135 with SMTP id nw7mr51593512pbb.58.1362638739262; Wed, 06 Mar 2013 22:45:39 -0800 (PST) Received: from localhost.localdomain ([118.143.64.134]) by mx.google.com with ESMTPS id pn9sm611029pbb.22.2013.03.06.22.45.35 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Mar 2013 22:45:38 -0800 (PST) From: Vikas Sajjan To: dri-devel@lists.freedesktop.org Subject: [PATCH v11 1/2] video: drm: exynos: Add display-timing node parsing using video helper function Date: Thu, 7 Mar 2013 12:15:21 +0530 Message-Id: <1362638722-24112-2-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362638722-24112-1-git-send-email-vikas.sajjan@linaro.org> References: <1362638722-24112-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQl4yZqqiNu7W7yrOoM650dfggBikGVEGcmMkZUZqiDao+7z6NTn4Bduqa0B1gG5vaS81K0j X-Mailman-Approved-At: Thu, 07 Mar 2013 06:16:28 -0800 Cc: kgene.kim@samsung.com, l.krishna@samsung.com, joshi@samsung.com, linaro-kernel@lists.linaro.org, 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..f322ec3 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