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: 2195261 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id BD3DDDFB78 for ; Thu, 28 Feb 2013 04:13:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752073Ab3B1ENB (ORCPT ); Wed, 27 Feb 2013 23:13:01 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:43867 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752592Ab3B1ENA (ORCPT ); Wed, 27 Feb 2013 23:13:00 -0500 Received: by mail-pa0-f52.google.com with SMTP id fb1so877130pad.39 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=WY5QsNi4M3a4ggX0cIRLIZ0L3RWPjVU+3gnrzcGTcyrFgyNOIzkOOq6/RQn8xCPGHx jSdK46LjE2taobTZsfhWGdCEwyikk0K8KLq78jMw7dxNy0Lp/6fQG4lkf+AFjQq/zYRq FsykZeQnUSIgtq6cQb9MYfpe+ZobKLswizxUTv4nOYZBgW6SGxlW/1IIJs4aGOeZCkLL isFMpB3/3Dli3xh4e+UYTR8cjfo5p0cHR6OZcUjoTFT1WXHZmFidV5DJorylXLekcx7h pl0uEqT2oIc0ZbLHraK11cQg7ahuIsMb9IDq+fJdBZAzw4wG7V5FgEHNAs2HwzGl4r0+ QvOQ== 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: ALoCoQnzxaXPEPxuHXfhNLTxZT4YBCYz0shw4SLzAgTRx0BRGqv0GzVA5Ncx8IJwkJA26xIjzMoZ Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.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