From patchwork Thu Feb 14 03:50:12 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: 14783 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 0E45123E2E for ; Thu, 14 Feb 2013 03:50:28 +0000 (UTC) Received: from mail-vb0-f44.google.com (mail-vb0-f44.google.com [209.85.212.44]) by fiordland.canonical.com (Postfix) with ESMTP id BA999A1802C for ; Thu, 14 Feb 2013 03:50:27 +0000 (UTC) Received: by mail-vb0-f44.google.com with SMTP id fr13so1207264vbb.31 for ; Wed, 13 Feb 2013 19:50:27 -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:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=QBvb31CD1oPPIGytFn6eu/IToeG0Bx36qvzL3tymGgA=; b=oesqZKtvzRkyA81SSx85gdd26NKg5isBfW6G33ScuoCD1xh5p36hz7SoZHR2+GS8g3 FYIhD8nxeyZjcLvfxC0ItdV0iDBdjPkeHnktiAJvhmrkMg1fltIbB3C+lCbJzg1L7Kil LRXRaSdlPS1sO34dFyVnNfEbgnNYOfHNrQRr5D8/7FopjKGvWFRLzE+5S1+PCfOLXtVv s12nzTiy4Z0yIX3+YkH/a7fU5zjIT85XvDrzBZA4SYAhZDSjMFHoPX9gUNt3HD8Pd8qO Lh0PjIf64u2RvwMvQxCPJYLuvY74CfMKIuCdnddDwzZmRDx6MWWTK8wSq055+IwPBFFQ Xn0w== X-Received: by 10.52.98.5 with SMTP id ee5mr28002720vdb.102.1360813827210; Wed, 13 Feb 2013 19:50:27 -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.221.4.5 with SMTP id oa5csp236998vcb; Wed, 13 Feb 2013 19:50:26 -0800 (PST) X-Received: by 10.50.56.141 with SMTP id a13mr16619296igq.24.1360813826476; Wed, 13 Feb 2013 19:50:26 -0800 (PST) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by mx.google.com with ESMTPS id t5si7296039paw.260.2013.02.13.19.50.26 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 19:50:26 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.48 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=209.85.220.48; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.48 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-f48.google.com with SMTP id hz10so1128212pad.7 for ; Wed, 13 Feb 2013 19:50:25 -0800 (PST) X-Received: by 10.66.80.162 with SMTP id s2mr70689050pax.61.1360813825146; Wed, 13 Feb 2013 19:50:25 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id d1sm51993303paz.17.2013.02.13.19.50.22 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 19:50:24 -0800 (PST) From: Vikas Sajjan To: patches@linaro.org Subject: [PATCH v5 1/1] video: drm: exynos: Add display-timing node parsing using video helper function Date: Thu, 14 Feb 2013 09:20:12 +0530 Message-Id: <1360813812-7156-2-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1360813812-7156-1-git-send-email-vikas.sajjan@linaro.org> References: <1360813812-7156-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQmjJUKVdiYCZ+TzKG0NKwMdW/IN8nsC8yQOSbaX8xJuNPt9K32N7PNr6yD6J+2bnmO1Owar 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