Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the intent that the only interrupt is wake? Because 'const: wake' implies 1 entry only. Also, I think we should stick with the common name "wakeup" used elsewhere.
I think this belongs in pci-device.yaml. Couldn't we have a single endpoint device with WAKE going to a GPIO as well?
Note that 'interrupts-extended' is now explicitly supported in pci-device.yaml to support some other cases of sideband interrupts (e.g. Marvell 370 RPs).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see there is a recent patch set trying to add pcie wake support (https://lore.kernel.org/linux-pci/20250419-wake_irq_support-v2-0-06baed9a87a1@oss.qualcomm.com/).
Not sure if the corresponding wake-gpios property should be added into the pci-pci-bridge.yaml.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should just stick to 'wake-gpios' property and get the irq info from it to use as the wakeup interrupt? But anyway, a Qcom developer is now working on it and he has submitted a patch to the devicetree list for adding the property to the schema. So I'm closing this PR.