From patchwork Fri Aug 9 14:49:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 2841975 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E9FB59F295 for ; Fri, 9 Aug 2013 14:49:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CC8D220320 for ; Fri, 9 Aug 2013 14:49:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2760520328 for ; Fri, 9 Aug 2013 14:49:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758289Ab3HIOtp (ORCPT ); Fri, 9 Aug 2013 10:49:45 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:36101 "EHLO mail-bk0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757623Ab3HIOtn (ORCPT ); Fri, 9 Aug 2013 10:49:43 -0400 Received: by mail-bk0-f44.google.com with SMTP id mz10so1446288bkb.17 for ; Fri, 09 Aug 2013 07:49:41 -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:in-reply-to:references; bh=5BWa5Hl1vblv4WcJWuBV79JLLRLUpq6ObLxAQdkYgMo=; b=F4e8MCzpQp9QJnIH2CiiBMyVguh6jWp/V4wiAsGUaPNpow1V2/BgR3liwtbo5dszT6 ceTX6e8gbBnQWU1BW1JLSmWBMLc5niICumjqhr1ja1/bEy27ld5W/dkPkvzgflUD7P7y Ty+1KTApj6fVCvjV0IiZ2uKLNsrXlaQS26eDHpTKhQq8w9QPnODRiqHkNDnAiq8cuAlG yuZ8wfcKePNfEaDZfD9oiUFg8MgUWW8Vt+8dllLixeJZfYcRVkS/b/Yh9J5TA6kdWuRI axQEJZuZBF+alhcsuNgBX6op577qwdZ8ZJZI/P6xCFl//hEntd20MXLF2tD2y8mNOD0y el/w== X-Received: by 10.205.9.8 with SMTP id ou8mr2353760bkb.76.1376059781431; Fri, 09 Aug 2013 07:49:41 -0700 (PDT) Received: from localhost (port-24887.pppoe.wtnet.de. [46.59.158.238]) by mx.google.com with ESMTPSA id 14sm2127923bkl.17.2013.08.09.07.49.40 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 09 Aug 2013 07:49:40 -0700 (PDT) From: Thierry Reding To: Stephen Warren Cc: Bjorn Helgaas , Jason Cooper , linux-tegra@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v6 03/14] ARM: tegra: tec: Add PCIe support Date: Fri, 9 Aug 2013 16:49:21 +0200 Message-Id: <1376059772-16669-4-git-send-email-treding@nvidia.com> X-Mailer: git-send-email 1.8.3.4 In-Reply-To: <1376059772-16669-1-git-send-email-treding@nvidia.com> References: <1376059772-16669-1-git-send-email-treding@nvidia.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=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";