Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1711849 > unrolled thread

[PATCH v2 2/3] Documentation/devicetree: Add PCIe hotplug property

Started byOza Pawandeep <oza.oza@broadcom.com>
First post2017-08-15 08:00 +0200
Last post2017-08-17 23:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [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

#1711849 — [PATCH v2 2/3] Documentation/devicetree: Add PCIe hotplug property

FromOza Pawandeep <oza.oza@broadcom.com>
Date2017-08-15 08:00 +0200
Subject[PATCH v2 2/3] Documentation/devicetree: Add PCIe hotplug property
Message-ID<ueD3r-5LR-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1714377 — Re: [PATCH v2 2/3] Documentation/devicetree: Add PCIe hotplug property

FromRob Herring <robh@kernel.org>
Date2017-08-17 23:00 +0200
SubjectRe: [PATCH v2 2/3] Documentation/devicetree: Add PCIe hotplug property
Message-ID<ufA3w-1Eh-25@gated-at.bofh.it>
In reply to#1711849
On Tue, Aug 15, 2017 at 11:25:46AM +0530, Oza Pawandeep wrote:
> 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>

Acked-by: Rob Herring <robh@kernel.org>

"dt-bindings: PCI: ..." preferred for the subject if you respin.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web