Skip to content

Commit

Permalink
schemas: pci: bridge: Document WAKE# interrupt properties
Browse files Browse the repository at this point in the history
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/[email protected]/

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 <[email protected]>
  • Loading branch information
Mani-Sadhasivam committed Mar 5, 2024
1 parent 4548397 commit 174127f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dtschema/schemas/pci/pci-pci-bridge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,10 @@ properties:
to D3 states.
type: boolean

interrupts:
description: wakeup interrupt

interrupt-names:
const: wake

unevaluatedProperties: false

0 comments on commit 174127f

Please sign in to comment.