[PATCH 1/2] dt-bindings: PCI: amd-mdb: Add reset-gpios property to handle PCIe RP PERST#

Sai Krishna Musham posted 2 patches 8 months, 4 weeks ago
[PATCH 1/2] dt-bindings: PCI: amd-mdb: Add reset-gpios property to handle PCIe RP PERST#
Posted by Sai Krishna Musham 8 months, 4 weeks ago
Add `reset-gpios` property to enable TCA6416 I2C GPIO expander based
handling of the PCIe PERST# signal.

Signed-off-by: Sai Krishna Musham <sai.krishna.musham@amd.com>
---
 Documentation/devicetree/bindings/pci/amd,versal2-mdb-host.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/pci/amd,versal2-mdb-host.yaml b/Documentation/devicetree/bindings/pci/amd,versal2-mdb-host.yaml
index 43dc2585c237..e6117d326279 100644
--- a/Documentation/devicetree/bindings/pci/amd,versal2-mdb-host.yaml
+++ b/Documentation/devicetree/bindings/pci/amd,versal2-mdb-host.yaml
@@ -87,6 +87,7 @@ examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
     #include <dt-bindings/interrupt-controller/irq.h>
+    #include <dt-bindings/gpio/gpio.h>
 
     soc {
         #address-cells = <2>;
@@ -112,6 +113,7 @@ examples:
             #size-cells = <2>;
             #interrupt-cells = <1>;
             device_type = "pci";
+            reset-gpios = <&tca6416_u37 7 GPIO_ACTIVE_LOW>;
             pcie_intc_0: interrupt-controller {
                 #address-cells = <0>;
                 #interrupt-cells = <1>;
-- 
2.31.1
Re: [PATCH 1/2] dt-bindings: PCI: amd-mdb: Add reset-gpios property to handle PCIe RP PERST#
Posted by Krzysztof Kozlowski 8 months, 4 weeks ago
On Wed, Mar 26, 2025 at 09:45:06AM +0530, Sai Krishna Musham wrote:
> Add `reset-gpios` property to enable TCA6416 I2C GPIO expander based
> handling of the PCIe PERST# signal.

Hm? Where? You just updated example, did not add anything to the
binding. Assuming that is what you wanted, then fix subject and commit
msg to say that you make example complete.

Best regards,
Krzysztof