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: 15125 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 0FF554C13B8 for ; Thu, 28 Feb 2013 04:13:02 +0000 (UTC) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by fiordland.canonical.com (Postfix) with ESMTP id BCD0FA18CC5 for ; Thu, 28 Feb 2013 04:13:01 +0000 (UTC) Received: by mail-ve0-f170.google.com with SMTP id 14so1382078vea.29 for ; Wed, 27 Feb 2013 20:13:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf: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=fD80ME60wsqsqbpCmonhrUULj3UXNZw58SgVE+AzjDGcPiXvYz6fm7XWt4w8fNxf4A K+JBWpgPOlXWSB/PmG8GZh29RHF2yHygzBXeQ6XzT1nfHILGq1aE/1blpaJv5Gn5YHNH TL+pD9ssfpDVOgc+osVjCEk2E628KVm8Ysa7aOjC1MJOrNeW/4rJet5AHXNbO9nvewGi xV0WqN4i7Biz3fh+p9TGfF2Bgyrfb5bo0CKnwOwcijlecJHCKN+bc4k4OLe7tOiz5gjl G4lI+uuN9Q+I+r7Sh5hF5tEK7Br/sW56oJW4y1ZPd9UxPlgRgfbWJ3YCKi24BCnoj/Bg E3Ng== X-Received: by 10.220.39.69 with SMTP id f5mr1932824vce.45.1362024781228; Wed, 27 Feb 2013 20:13:01 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp205156veb; Wed, 27 Feb 2013 20:13:00 -0800 (PST) X-Received: by 10.68.6.167 with SMTP id c7mr7111498pba.24.1362024780299; Wed, 27 Feb 2013 20:13:00 -0800 (PST) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by mx.google.com with ESMTPS id ot10si7112691pbb.67.2013.02.27.20.13.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Feb 2013 20:13:00 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.42 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=209.85.220.42; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.42 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) smtp.mail=vikas.sajjan@linaro.org Received: by mail-pa0-f42.google.com with SMTP id kq12so877274pab.15 for ; Wed, 27 Feb 2013 20:13:00 -0800 (PST) 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 Cc: linux-media@vger.kernel.org, kgene.kim@samsung.com, inki.dae@samsung.com, l.krishna@samsung.com, patches@linaro.org, linaro-dev@lists.linaro.org, joshi@samsung.com, jy0922.shim@samsung.com 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: ALoCoQk5ewoWHZfg37ipQGwOAGToh+VdN+oYRdOVvvkKZHF9tRan5TeI6y0VTTdk1QIn5ZS9A0Us 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