Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1073675ybl; Thu, 22 Aug 2019 09:00:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEo1JzR9vPZICG+40zhdaC5BU6bcUmderE5h+eolBwICekATiGtfiG73vQjoNr/PMUTS/I X-Received: by 2002:a65:4507:: with SMTP id n7mr29785pgq.86.1566489625847; Thu, 22 Aug 2019 09:00:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566489625; cv=none; d=google.com; s=arc-20160816; b=T2hrCu6HaW+iLZrOpqlr/P4WU2cAJbbDpe7RhwHPcW60iskLKi7RKumJpe3Onmzp4P ygxI6zr6W4mATvWO45TbcECetQHwPsU/TZw0CDZK92w6THXytXWHzQ13f6i+4nihP2yY +aVrDLcGhFf+BR/Vmd0ziz/2s3xivnjSDmW2Lv8JmZeVYLP62dnJzGtPgdLM4JpDICPm HWG9wrlVpNn/oIARFmJjSj8PIzb122gZtd7JZLjoEK/gPy+lfqfJBHOK+Ed5buFD05G2 3RGDnIcw3wQ5dMFG2GC/Ez3sf0q5kyBAhAJVMo+LjjL+1EjAUuIu+QcWjlbCeaxGWzAB 955A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=oP3Sn/U7AL7hzUY7pfgi1+AGFT6z7RtDxRl/sKYbnZA=; b=inKG4G3IBOrbN5mJGo8cPGm3RFXbrAnGI7JV6uVPiI051Z7rxObQtsXBFbNYZVGW/V zhN4thhRMDG14KS07MUUJTIFBIg4cTmOyMJYi4bC2rAGk1W7BGSlNoJaXIpSNpnM0ejD /O2PT+Tql5S1cooRtNXh297TPJp5e2QyR6k/iBvQRpknEtThHMvssHCtUpFRgihYoblA O2TRx43tjphZr/+Tni4bMRF2G2lyEt5M21Ud9JHCyNEsmrR/VQ5J+lKWCIiJwk5Cr5G3 dB3CF6WUpCNBmIQzYmBI3BFtXtKT5F9hzqgqvmdyHRM45gkxQvwZ1xLrLu9RixmyjF/6 G69Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x20si63595pjt.50.2019.08.22.09.00.09; Thu, 22 Aug 2019 09:00:25 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387932AbfHVLPm (ORCPT + 99 others); Thu, 22 Aug 2019 07:15:42 -0400 Received: from foss.arm.com ([217.140.110.172]:44146 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726844AbfHVLPm (ORCPT ); Thu, 22 Aug 2019 07:15:42 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 21DAE344; Thu, 22 Aug 2019 04:15:41 -0700 (PDT) Received: from localhost (unknown [10.37.6.20]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6EC6F3F246; Thu, 22 Aug 2019 04:15:40 -0700 (PDT) Date: Thu, 22 Aug 2019 12:15:39 +0100 From: Andrew Murray To: Jonathan Chocron Cc: lorenzo.pieralisi@arm.com, bhelgaas@google.com, jingoohan1@gmail.com, gustavo.pimentel@synopsys.com, robh+dt@kernel.org, mark.rutland@arm.com, dwmw@amazon.co.uk, benh@kernel.crashing.org, alisaidi@amazon.com, ronenk@amazon.com, barakw@amazon.com, talel@amazon.com, hanochu@amazon.com, hhhawa@amazon.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v4 5/7] dt-bindings: PCI: Add Amazon's Annapurna Labs PCIe host bridge binding Message-ID: <20190822111537.GO23903@e119886-lin.cambridge.arm.com> References: <20190821153545.17635-1-jonnyc@amazon.com> <20190821154745.31834-1-jonnyc@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190821154745.31834-1-jonnyc@amazon.com> User-Agent: Mutt/1.10.1+81 (426a6c1) (2018-08-26) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 21, 2019 at 06:47:43PM +0300, Jonathan Chocron wrote: > Document Amazon's Annapurna Labs PCIe host bridge. > > Signed-off-by: Jonathan Chocron > --- > .../devicetree/bindings/pci/pcie-al.txt | 46 +++++++++++++++++++ > MAINTAINERS | 3 +- > 2 files changed, 48 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..557a5089229d > --- /dev/null > +++ b/Documentation/devicetree/bindings/pci/pcie-al.txt > @@ -0,0 +1,46 @@ > +* Amazon Annapurna Labs PCIe host bridge > + > +Amazon's Annapurna Labs PCIe Host Controller is based on the Synopsys DesignWare > +PCI core. It 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-alpine-v2-pcie" for alpine_v2 > + - "amazon,al-alpine-v3-pcie" for alpine_v3 > + > +- 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-alpine-v3-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 783569e3c4b4..d200b16fa95c 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -12448,10 +12448,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 I'm not sure if you need to split out the DT part of this patch, perhaps others will comment. But for both: Reviewed-by: Andrew Murray > -- > 2.17.1 >