From patchwork Thu Jul 25 17:53:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 2833563 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6FDD6C0319 for ; Thu, 25 Jul 2013 17:55:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 64CE520395 for ; Thu, 25 Jul 2013 17:55:52 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 56ED120363 for ; Thu, 25 Jul 2013 17:55:51 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V2Pl1-0005Vy-6T; Thu, 25 Jul 2013 17:55:20 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V2Pkh-0000f6-QY; Thu, 25 Jul 2013 17:54:59 +0000 Received: from mail-bk0-x22d.google.com ([2a00:1450:4008:c01::22d]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V2PkF-0000YN-Hl for linux-arm-kernel@lists.infradead.org; Thu, 25 Jul 2013 17:54:39 +0000 Received: by mail-bk0-f45.google.com with SMTP id je9so794301bkc.4 for ; Thu, 25 Jul 2013 10:54:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=d7ROkP8uNpFPgZSZpJJFBFy7lGkjfm+QDahxW3VeqC8=; b=l4wvJk0pbhxjn9zYbAu2P/5Du3sWbdDkyVfF5TZ4d5WXCz5XtEhvZgRIP3x4rCVt4y FfNL6uts7YFEF1s3a0eRMMYT1QYqAvAqbaWpA2aZNFOi3CfGR6U6qyGReoQrJ0QUui2R WTyXJd+zoglwHaxRG1o5x9bjbqaOD54Bzu0SiBhPpiMJ9e7qKsNHshN2XAWuqW4P9YR+ o69kRydWFYAoSySLYp8o7fp3ZdODh+4V3Ueh3rBr13dghKR7INg0dz96jLcJSDKD9sXV 6pV7yPGjw/2dH7VXCHfDFUdMgl9DSRd604GcySsnblUi6wOyFpdugr0r4a/EfWvQPHms wtIg== X-Received: by 10.205.32.198 with SMTP id sl6mr6459691bkb.20.1374774849253; Thu, 25 Jul 2013 10:54:09 -0700 (PDT) Received: from localhost (dotsec.net. [62.75.224.215]) by mx.google.com with ESMTPSA id ct12sm11419027bkb.12.2013.07.25.10.54.05 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 25 Jul 2013 10:54:08 -0700 (PDT) From: Thierry Reding To: Bjorn Helgaas , Stephen Warren Subject: [PATCH v5 05/16] ARM: tegra: tec: Add PCIe support Date: Thu, 25 Jul 2013 10:53:19 -0700 Message-Id: <1374774810-18459-6-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1374774810-18459-1-git-send-email-thierry.reding@gmail.com> References: <1374774810-18459-1-git-send-email-thierry.reding@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130725_135432_137591_033143F7 X-CRM114-Status: GOOD ( 10.84 ) X-Spam-Score: -2.0 (--) Cc: Thomas Petazzoni , devicetree@vger.kernel.org, Russell King , Jason Cooper , Jay Agarwal , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding Enable the first PCIe root port which is connected to an FPGA on the Tamonten Evaluation Carrier and add device nodes for each of the PCI endpoints available in the standard configuration. Signed-off-by: Thierry Reding Signed-off-by: Thierry Reding --- Changes in v2: - remove duplicate nodes and properties defined in tegra20-tamonten.dtsi Changes in v3: - remove PCIe endpoint device tree nodes, all devices can be discovered via standard PCI enumeration arch/arm/boot/dts/tegra20-tec.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-tec.dts b/arch/arm/boot/dts/tegra20-tec.dts index c572c43..3ada3cb 100644 --- a/arch/arm/boot/dts/tegra20-tec.dts +++ b/arch/arm/boot/dts/tegra20-tec.dts @@ -32,6 +32,14 @@ }; }; + pcie-controller { + status = "okay"; + + pci@1,0 { + status = "okay"; + }; + }; + sound { compatible = "ad,tegra-audio-wm8903-tec", "nvidia,tegra-audio-wm8903";