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


Groups > linux.kernel > #1711848 > unrolled thread

[PATCH v2 3/3] PCI: iproc: Implement optional property prsnt-gpios

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 3/3] PCI: iproc: Implement optional property prsnt-gpios Oza Pawandeep <oza.oza@broadcom.com> - 2017-08-15 08:00 +0200
    Re: [PATCH v2 3/3] PCI: iproc: Implement optional property  prsnt-gpios Rob Herring <robh@kernel.org> - 2017-08-17 23:00 +0200

#1711848 — [PATCH v2 3/3] PCI: iproc: Implement optional property prsnt-gpios

FromOza Pawandeep <oza.oza@broadcom.com>
Date2017-08-15 08:00 +0200
Subject[PATCH v2 3/3] PCI: iproc: Implement optional property prsnt-gpios
Message-ID<ueD3r-5LR-1@gated-at.bofh.it>
Add description for optional device tree property
'prsnt-gpios' for PCI hotplug feature.

Signed-off-by: Oza Pawandeep <oza.oza@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>

diff --git a/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt
index b8e48b4..0c5f631 100644
--- a/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt
+++ b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt
@@ -72,6 +72,20 @@ Optional properties:
 - brcm,pcie-msi-inten: Needs to be present for some older iProc platforms that
 require the interrupt enable registers to be set explicitly to enable MSI
 
+Optional properties:
+- slot-pluggable: PCI hotplug feature is supported.
+- prsnt-gpios: Array of gpios, needs to be present if Hotplug is supported.
+
+Refer to the following binding documents for more detailed description on
+the use of 'slot-pluggable' and 'prsnt-gpios'.
+  Documentation/devicetree/bindings/pci/pci.txt
+
+Example:
+prsnt-gpios: <&pca9505 32 1>, <&pca9505 33 1>;
+This is x4 connector: monitoring max 2 present lines.
+prsnt-gpios: <&pca9505 32 1>, <&pca9505 33 1>, <&pca9505 34 1>;
+This is x8 connector: monitoring max 3 present lines.
+
 Example:
 	pcie0: pcie@18012000 {
 		compatible = "brcm,iproc-pcie";
-- 
1.9.1

[toc] | [next] | [standalone]


#1714373 — Re: [PATCH v2 3/3] PCI: iproc: Implement optional property prsnt-gpios

FromRob Herring <robh@kernel.org>
Date2017-08-17 23:00 +0200
SubjectRe: [PATCH v2 3/3] PCI: iproc: Implement optional property prsnt-gpios
Message-ID<ufA3v-1Eh-5@gated-at.bofh.it>
In reply to#1711848
On Tue, Aug 15, 2017 at 11:25:47AM +0530, Oza Pawandeep wrote:
> Add description for optional device tree property
> 'prsnt-gpios' for PCI hotplug feature.
> 
> Signed-off-by: Oza Pawandeep <oza.oza@broadcom.com>
> Reviewed-by: Ray Jui <ray.jui@broadcom.com>

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web