diff options
author | Pali Rohár <[email protected]> | 2022-04-12 11:49:45 +0200 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2022-04-25 10:53:39 +0100 |
commit | 35662423fb879dd0f32b7beae71fc5f6d8abf45c (patch) | |
tree | f1a19a5749d95a8d8c694389f98da83d6bf20627 /scripts/gdb/linux/tasks.py | |
parent | e8e7fbb6a39cd6761c843d97851eb40c5885e922 (diff) |
PCI: Add function for parsing 'slot-power-limit-milliwatt' DT property
Add function of_pci_get_slot_power_limit(), which parses the
'slot-power-limit-milliwatt' DT property, returning the value in
milliwatts and in format ready for the PCIe Slot Capabilities Register.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Pali Rohár <[email protected]>
Signed-off-by: Marek Behún <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Reviewed-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions