From 174127f5dddadc750a883a0ca129a25cfc7d14a3 Mon Sep 17 00:00:00 2001 From: Manivannan Sadhasivam Date: Thu, 1 Feb 2024 17:47:59 +0530 Subject: [PATCH] schemas: pci: bridge: Document WAKE# interrupt properties WAKE# sideband interrupt is used by the PCIe devices to signal the host to re-establish power and reference clocks while waking from D3Cold/L2 state. This is based on the DT bindings patch proposed in LKML: https://lore.kernel.org/linux-pci/20230208111645.3863534-2-mmaddireddy@nvidia.com/ In that patch, there were 2 interrupts mentioned: "wake" and "pci", where the latter one was described as "legacy PCI interrupt". But those legacy interrupts are already defined as "INT-{A,B,C,D}" in pci-device.yaml. So I removed that one and just kept "wake". Most of the platforms route the WAKE# GPIO to the PCI bridges (slots) in hardware. But some platforms like Qcom SoCs, do not do that and for those platforms the WAKE# interrupt is described in the controller binding itself. Signed-off-by: Manivannan Sadhasivam --- dtschema/schemas/pci/pci-pci-bridge.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dtschema/schemas/pci/pci-pci-bridge.yaml b/dtschema/schemas/pci/pci-pci-bridge.yaml index d8de250..790a1a7 100644 --- a/dtschema/schemas/pci/pci-pci-bridge.yaml +++ b/dtschema/schemas/pci/pci-pci-bridge.yaml @@ -34,4 +34,10 @@ properties: to D3 states. type: boolean + interrupts: + description: wakeup interrupt + + interrupt-names: + const: wake + unevaluatedProperties: false