Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2061436ybi; Thu, 18 Jul 2019 02:48:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZ1eoqHfvYNVs4ZpnlCuLA7nmOjl1o5GM5NvZTpn53TknVyXL1FwmqGroMYGoDBGwre8i0 X-Received: by 2002:a17:902:549:: with SMTP id 67mr48886680plf.86.1563443314327; Thu, 18 Jul 2019 02:48:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563443314; cv=none; d=google.com; s=arc-20160816; b=RzYY2zt5dQvT3cSs2LkUvGVfhv59jBsCm/3tzZhgAmYI0GPsnYee6r+MD+CkIJySUy BCPt6Xl4TlR1D/QheSDACM5+icJPFxsjA6wFhGBrJDUBz9T7Buv9dUEG2odgI2SOlIE2 Vsy3X9omqanRy+5aETIdS7eZE2y0hHCIH9Ub+nLBELi7oFiHKthqEDS4T2ghlyNRo49s 7YUgXWVKMIfI1rRgPEso7pXNeavb8MQ8gtMT9ksapAtXjnryNPpF24KZcHnvijWAb4T9 YhHcZJT079E333ZZa5bylke2h8/D9GbjZsliF62ePqbxK17EquGZmZ1PE2e44yMLFGfX Zn7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=b531SE6MRYpUt8mqMq6kBzbDUygX4l0/zWJlNrWTyTY=; b=DGn31Ofz6HQyuAcQiO8cdjOsV6w9FrARNAWgX3Z2O6VHoqvUPIHY8l3rNqLYeQLKjb ew7GO3b4bj88AZe6SXXFArS8n9mFxLo5BLedsUBaDzNPS5fiRNAnELUCTWhviQHzQ/Kj 8tyBWoLjbHkgbKlVa8x7/MjbU23d6j/xiT4m5usMrQfZcYiP/15AvGCnnuh6rlP6tPDK 6GQnnpOkD+Q5+l+eFHqrpxPPvsCknBy06XdT80WxHRs2q/LKb/fZijDmXwzxBiWiVGYr 8n/Lr+OTlKoWm3AQB4YL3mtX+NR859r6lD5JKI+WpTs5fmk4Z3Nm7kw3Ost66PdXPxby LFdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=QDOW68cv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y7si1606079pgi.401.2019.07.18.02.48.17; Thu, 18 Jul 2019 02:48:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=QDOW68cv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389798AbfGRJrm (ORCPT + 99 others); Thu, 18 Jul 2019 05:47:42 -0400 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:22672 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726649AbfGRJrm (ORCPT ); Thu, 18 Jul 2019 05:47:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1563443261; x=1594979261; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=b531SE6MRYpUt8mqMq6kBzbDUygX4l0/zWJlNrWTyTY=; b=QDOW68cvXgwzAFzGuwYqFRqY4m0Jkb6o39LSxkyJW/dseUpDEmbzFrBU T9aI4eKU1VyiWm9yZEl/CvORR9L9qFpXaBVJaIV5yBhUeKDuT/NJLxcP7 V66MoIK+kd00Qft+cp4meqxs6eB9IezwJteSP/q3Im0P0OYF+muPtyGPN w=; X-IronPort-AV: E=Sophos;i="5.64,276,1559520000"; d="scan'208";a="405475062" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1e-97fdccfd.us-east-1.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 18 Jul 2019 09:47:40 +0000 Received: from EX13MTAUWA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1e-97fdccfd.us-east-1.amazon.com (Postfix) with ESMTPS id 36DAEA207A; Thu, 18 Jul 2019 09:47:36 +0000 (UTC) Received: from EX13D13UWA001.ant.amazon.com (10.43.160.136) by EX13MTAUWA001.ant.amazon.com (10.43.160.118) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 18 Jul 2019 09:47:36 +0000 Received: from u9ff250417f405e.ant.amazon.com (10.43.161.219) by EX13D13UWA001.ant.amazon.com (10.43.160.136) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 18 Jul 2019 09:47:30 +0000 From: Jonathan Chocron To: , , , , , CC: , , , , , , , , , , , Subject: [PATCH v2 5/8] dt-bindings: PCI: Add Amazon's Annapurna Labs PCIe host bridge binding Date: Thu, 18 Jul 2019 12:47:15 +0300 Message-ID: <20190718094718.25083-1-jonnyc@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190718094531.21423-1-jonnyc@amazon.com> References: <20190718094531.21423-1-jonnyc@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.219] X-ClientProxiedBy: EX13D19UWC001.ant.amazon.com (10.43.162.64) To EX13D13UWA001.ant.amazon.com (10.43.160.136) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document Amazon's Annapurna Labs PCIe host bridge. Signed-off-by: Jonathan Chocron --- .../devicetree/bindings/pci/pcie-al.txt | 45 +++++++++++++++++++ MAINTAINERS | 3 +- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/pci/pcie-al.txt diff --git a/Documentation/devicetree/bindings/pci/pcie-al.txt b/Documentation/devicetree/bindings/pci/pcie-al.txt new file mode 100644 index 000000000000..89876190eb5a --- /dev/null +++ b/Documentation/devicetree/bindings/pci/pcie-al.txt @@ -0,0 +1,45 @@ +* Amazon Annapurna Labs PCIe host bridge + +Amazon's Annapurna Labs PCIe Host Controller is based on the Synopsys DesignWare +PCI core. +It shares common functions with the PCIe DesignWare core driver and inherits +common properties defined in Documentation/devicetree/bindings/pci/designware-pcie.txt. +Properties of the host controller node that differ from it are: + +- compatible: + Usage: required + Value type: + Definition: Value should contain + - "amazon,al-pcie" + +- reg: + Usage: required + Value type: + Definition: Register ranges as listed in the reg-names property + +- reg-names: + Usage: required + Value type: + Definition: Must include the following entries + - "config" PCIe ECAM space + - "controller" AL proprietary registers + - "dbi" Designware PCIe registers + +Example: + + pcie-external0: pcie@fb600000 { + compatible = "amazon,al-pcie"; + reg = <0x0 0xfb600000 0x0 0x00100000 + 0x0 0xfd800000 0x0 0x00010000 + 0x0 0xfd810000 0x0 0x00001000>; + reg-names = "config", "controller", "dbi"; + bus-range = <0 255>; + device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + #interrupt-cells = <1>; + interrupts = ; + interrupt-map-mask = <0x00 0 0 7>; + interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; /* INTa */ + ranges = <0x02000000 0x0 0xc0010000 0x0 0xc0010000 0x0 0x07ff0000>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 5a6137df3f0e..29cca14a05a6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12201,10 +12201,11 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/pci.git/ S: Supported F: drivers/pci/controller/ -PCIE DRIVER FOR ANNAPURNA LABS +PCIE DRIVER FOR AMAZON ANNAPURNA LABS M: Jonathan Chocron L: linux-pci@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/pci/pcie-al.txt F: drivers/pci/controller/dwc/pcie-al.c PCIE DRIVER FOR AMLOGIC MESON -- 2.17.1