From: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
To: Rob Herring <robh@kernel.org>
Cc: Bjorn Helgaas <helgaas@kernel.org>,
Marc Zyngier <marc.zyngier@arm.com>,
Thomas Gleixner <tglx@linutronix.de>,
Robin Murphy <robin.murphy@arm.com>,
Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
Liviu Dudau <liviu.dudau@arm.com>,
David Laight <david.laight@aculab.com>,
linux-pci <linux-pci@vger.kernel.org>,
Linux ARM <linux-arm-kernel@lists.infradead.org>,
LKML <linux-kernel@vger.kernel.org>,
DT <devicetree@vger.kernel.org>, Mason <slash.tmp@free.fr>
Subject: [PATCH v6 1/3] PCI: Add DT binding for tango PCIe controller
Date: Tue, 13 Jun 2017 15:51:32 +0200 [thread overview]
Message-ID: <3790db8d-6a4c-5c74-9ca2-431715a712a7@sigmadesigns.com> (raw)
In-Reply-To: <20170607212907.2wr3hqbokjb74kj3@rob-hp-laptop>
Binding for the Sigma Designs SMP8759 SoC.
Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
---
Changes from v5 to v6
o Delete links to elinux.org
o Use explicit hex numbers instead of symbolic constants for sizes (in the example)
o Add bus-range to "Required properties"
---
.../devicetree/bindings/pci/tango-pcie.txt | 29 ++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pci/tango-pcie.txt
diff --git a/Documentation/devicetree/bindings/pci/tango-pcie.txt b/Documentation/devicetree/bindings/pci/tango-pcie.txt
new file mode 100644
index 000000000000..244683836a79
--- /dev/null
+++ b/Documentation/devicetree/bindings/pci/tango-pcie.txt
@@ -0,0 +1,29 @@
+Sigma Designs Tango PCIe controller
+
+Required properties:
+
+- compatible: "sigma,smp8759-pcie"
+- reg: address/size of PCI configuration space, address/size of register area
+- bus-range: defined by size of PCI configuration space
+- device_type: "pci"
+- #size-cells: <2>
+- #address-cells: <3>
+- msi-controller
+- ranges: translation from system to bus addresses
+- interrupts: spec for misc interrupts, spec for MSI
+
+Example:
+
+ pcie@2e000 {
+ compatible = "sigma,smp8759-pcie";
+ reg = <0x50000000 0x400000>, <0x2e000 0x100>;
+ bus-range = <0 3>;
+ device_type = "pci";
+ #size-cells = <2>;
+ #address-cells = <3>;
+ msi-controller;
+ ranges = <0x02000000 0x0 0x00400000 0x50400000 0x0 0x3c00000>;
+ interrupts =
+ <54 IRQ_TYPE_LEVEL_HIGH>, /* misc interrupts */
+ <55 IRQ_TYPE_LEVEL_HIGH>; /* MSI */
+ };
--
2.11.0
next prev parent reply other threads:[~2017-06-13 13:58 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 13:28 [PATCH v5 0/3] Tango PCIe controller support Marc Gonzalez
2017-05-31 13:30 ` [PATCH v5 1/3] PCI: Add DT binding for tango PCIe controller Marc Gonzalez
2017-06-07 21:29 ` Rob Herring
2017-06-07 22:34 ` Mason
2017-06-13 11:55 ` Marc Zyngier
2017-06-13 14:23 ` Rob Herring
2017-06-13 13:51 ` Marc Gonzalez [this message]
2017-06-18 14:05 ` [PATCH v6 " Rob Herring
2017-05-31 13:33 ` [PATCH v5 2/3] PCI: Add tango PCIe host bridge support Marc Gonzalez
2017-06-07 8:19 ` Marc Gonzalez
2017-06-19 14:50 ` Marc Gonzalez
2017-06-19 15:58 ` Marc Zyngier
2017-06-19 16:01 ` Marc Gonzalez
2017-06-19 16:16 ` Marc Zyngier
2017-06-20 8:29 ` Marc Gonzalez
2017-07-05 9:36 ` Ard Biesheuvel
2017-07-05 12:18 ` Marc Gonzalez
2017-05-31 13:35 ` [PATCH v5 3/3] PCI: Add tango MSI controller support Marc Gonzalez
2017-06-13 12:09 ` Marc Zyngier
2017-06-13 14:01 ` [PATCH v6 " Marc Gonzalez
2017-06-13 14:22 ` Marc Zyngier
2017-06-13 14:47 ` Marc Gonzalez
2017-06-13 16:53 ` Marc Zyngier
2017-06-14 9:00 ` [PATCH v7 " Marc Gonzalez
2017-06-14 9:19 ` Marc Gonzalez
2017-06-14 9:32 ` Marc Zyngier
2017-06-14 11:06 ` [PATCH v8 " Marc Gonzalez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3790db8d-6a4c-5c74-9ca2-431715a712a7@sigmadesigns.com \
--to=marc_gonzalez@sigmadesigns.com \
--cc=david.laight@aculab.com \
--cc=devicetree@vger.kernel.org \
--cc=helgaas@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=liviu.dudau@arm.com \
--cc=lorenzo.pieralisi@arm.com \
--cc=marc.zyngier@arm.com \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=slash.tmp@free.fr \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®