diff mbox series

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

Message ID 20250326041507.98232-2-sai.krishna.musham@amd.com (mailing list archive)
State New
Delegated to: Krzysztof WilczyƄski
Headers show
Series Add support for AMD Versal2 MDB PCIe RP PERST# | expand

Commit Message

Musham, Sai Krishna March 26, 2025, 4:15 a.m. UTC
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(+)

Comments

Krzysztof Kozlowski March 26, 2025, 8:22 a.m. UTC | #1
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
diff mbox series

Patch

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>;