Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1711849
| Path | csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Oza Pawandeep <oza.oza@broadcom.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 2/3] Documentation/devicetree: Add PCIe hotplug property |
| Date | Tue, 15 Aug 2017 08:00:01 +0200 |
| Message-ID | <ueD3r-5LR-5@gated-at.bofh.it> (permalink) |
| References | <ueD3r-5LR-3@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=SU5Pny4anM5GXy0MkkVGrsCAjcDPfh7zClvvGnEU5+k=; b=YicYjkVkWFpLfbiyKdHKsUfULiDxTc3JOEx+wmn+t+KJ/cbCUF9FplYSA1XJmiXZfi 7ZTm+5hHQTWtJ7awVv7lopMudhQAuHUh9qzGTb63PPxGZXEo439xvf7lfY5PycYxSGUf 1Xn/gTSr/bE8j6PlvRDlH2XrCjZYIDV51jYuM= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=SU5Pny4anM5GXy0MkkVGrsCAjcDPfh7zClvvGnEU5+k=; b=n3SsluCeoV0CXdW5cKzrnOyLzqGpUF/m8FyxhOc9Ybn36NxxtMyTWBzeXiffWAb22Q E5skow+2rPe7azbPBxZlgA4lMvXFhOVh9shQwc9Mbv/uzEnlthj6AItT1Ke3o4tLHH7e YydLToa6esGEZdRCAl4PwBz/Y9sQ175MVlhz2Bj6u3haO5fdktlELAE0aKHxAoRt16rM Sj/MX+eZdHDIyyJc5ne/8IvZlhw4Yfmcef4/gt7ki1TwHfPazOIRS7wX5acQ1NPRwVKn eFJnitjZJmw6Mv8zk878Q3UgDrElQrxaw9pYbGaVrdmilHoEUWIXrxfIUVCbF+bkODnI MsbQ== |
| X-Gm-Message-State | AHYfb5hdiScCigUW8mkOdtIIlf/m2glr+XjSve6zIHFoFVwishDiabE9 irFKyV6rAS1A9GQp |
| X-Received | by 10.223.171.9 with SMTP id q9mr17256384wrc.95.1502776569453; Mon, 14 Aug 2017 22:56:09 -0700 (PDT) |
| X-Mailer | git-send-email 1.9.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 34 |
| Organization | linux.* mail to news gateway |
| X-Original-Date | Tue, 15 Aug 2017 11:25:46 +0530 |
| X-Original-Message-ID | <1502776547-30542-3-git-send-email-oza.oza@broadcom.com> |
| X-Original-References | <1502776547-30542-1-git-send-email-oza.oza@broadcom.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1711849 |
Show key headers only | View raw
Host drivers have the requirement of implementing PCI hotplug
based on the how their SOC supports PCI hotplug.
Couple of properties have been added. the one to enable
the hotplug feature itself, and the other caters to
the PCI hotplug implementation with the use of gpios.
Signed-off-by: Oza Pawandeep <oza.oza@broadcom.com>
diff --git a/Documentation/devicetree/bindings/pci/pci.txt b/Documentation/devicetree/bindings/pci/pci.txt
index 50f9e2c..0bf25a1 100644
--- a/Documentation/devicetree/bindings/pci/pci.txt
+++ b/Documentation/devicetree/bindings/pci/pci.txt
@@ -24,3 +24,18 @@ driver implementation may support the following properties:
unsupported link speed, for instance, trying to do training for
unsupported link speed, etc. Must be '4' for gen4, '3' for gen3, '2'
for gen2, and '1' for gen1. Any other values are invalid.
+
+- slot-pluggable:
+ PCI hotplug feature is supported.
+ PCI hotplug implementation is SOC/Board specific, and also it depends on
+ how add-in card is designed (e.g. how many present pins are implemented).
+ If the slot-pluggable property is present, the following propertey could
+ become effective.
+ - prsnt-gpios:
+ Array of gpios, could be present if hotplug is supported.
+ This property defines gpio based hotplug implementation.
+ Example:
+ If x8 card is connected, then it might be possible that all the
+ 3 present pins could go low, or at least one pin goes low.
+ If x4 card is connected, then it might be possible that 2 present
+ pins go low, or at least one pin goes low.
--
1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 2/3] Documentation/devicetree: Add PCIe hotplug property Oza Pawandeep <oza.oza@broadcom.com> - 2017-08-15 08:00 +0200 Re: [PATCH v2 2/3] Documentation/devicetree: Add PCIe hotplug property Rob Herring <robh@kernel.org> - 2017-08-17 23:00 +0200
csiph-web