From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752278Ab2KTH0q (ORCPT ); Tue, 20 Nov 2012 02:26:46 -0500 Received: from hqemgate04.nvidia.com ([216.228.121.35]:16206 "EHLO hqemgate04.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751969Ab2KTH0o (ORCPT ); Tue, 20 Nov 2012 02:26:44 -0500 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Mon, 19 Nov 2012 23:26:35 -0800 From: Mark Zhang To: , , CC: , , , Mark Zhang Subject: [PATCH V2] drm: Add NVIDIA Tegra30 support Date: Tue, 20 Nov 2012 15:26:16 +0800 Message-ID: <1353396376-24121-1-git-send-email-markz@nvidia.com> X-Mailer: git-send-email 1.7.9.5 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch is based on Thierry's drm patch for Tegra20: - [PATCH v2 0/6] Device tree updates for host1x support - [PATCH v3 0/2] NVIDIA Tegra DRM driver It adds the support for NVIDIA Tegra30. Signed-off-by: Mark Zhang --- drivers/gpu/drm/tegra/dc.c | 1 + drivers/gpu/drm/tegra/host1x.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c index 53b9852..37bd759 100644 --- a/drivers/gpu/drm/tegra/dc.c +++ b/drivers/gpu/drm/tegra/dc.c @@ -818,6 +818,7 @@ static int tegra_dc_remove(struct platform_device *pdev) } static struct of_device_id tegra_dc_of_match[] = { + { .compatible = "nvidia,tegra30-dc", }, { .compatible = "nvidia,tegra20-dc", }, { }, }; diff --git a/drivers/gpu/drm/tegra/host1x.c b/drivers/gpu/drm/tegra/host1x.c index 1f728cd..28c28ac 100644 --- a/drivers/gpu/drm/tegra/host1x.c +++ b/drivers/gpu/drm/tegra/host1x.c @@ -66,6 +66,8 @@ static int host1x_remove_drm_client(struct host1x *host1x, static int host1x_parse_dt(struct host1x *host1x) { static const char * const compat[] = { + "nvidia,tegra30-dc", + "nvidia,tegra30-hdmi", "nvidia,tegra20-dc", "nvidia,tegra20-hdmi", }; @@ -268,6 +270,7 @@ int host1x_unregister_client(struct host1x *host1x, } static struct of_device_id tegra_host1x_of_match[] = { + { .compatible = "nvidia,tegra30-host1x", }, { .compatible = "nvidia,tegra20-host1x", }, { }, }; -- 1.7.9.5