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: 2833546 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 3834AC0319 for ; Thu, 25 Jul 2013 17:54:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 544F62035C for ; Thu, 25 Jul 2013 17:54:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D889F20363 for ; Thu, 25 Jul 2013 17:54:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757240Ab3GYRyQ (ORCPT ); Thu, 25 Jul 2013 13:54:16 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:37890 "EHLO mail-bk0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757317Ab3GYRyL (ORCPT ); Thu, 25 Jul 2013 13:54:11 -0400 Received: by mail-bk0-f41.google.com with SMTP id jc3so815205bkc.14 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 Cc: Russell King , Jason Cooper , Thomas Petazzoni , Jay Agarwal , linux-pci@vger.kernel.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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";