[RFC PATCH 0/3] PCI: Define slot-power-limit DT property

From: Pali Rohár
Date: Fri Aug 20 2021 - 12:04:21 EST


This is RFC patch series which define a new PCIe slot-power-limit DT
property (first patch) and show example how to use it in pci-aardvark.c
driver (second and third patch). Second and third patches depends on other
pci-aardvark patches which are under review. I included them here just to
show how this new slot-power-limit DT property can be used.

Please let me know what do you think about this approach of defining Slot
Power Limit in DTS file.

Pali Rohár (3):
dt-bindings: Add 'slot-power-limit' PCIe port property
PCI: aardvark: Add support for sending Set_Slot_Power_Limit message
arm64: dts: armada-3720-turris-mox: Define slot-power-limit for PCIe

.../devicetree/bindings/pci/aardvark-pci.txt | 2 +
Documentation/devicetree/bindings/pci/pci.txt | 6 ++
.../dts/marvell/armada-3720-turris-mox.dts | 1 +
drivers/pci/controller/pci-aardvark.c | 66 ++++++++++++++++++-
4 files changed, 74 insertions(+), 1 deletion(-)

--
2.20.1