Commits
Shawn Lin committed be32bf0c51b
of/pci: Add of_pci_get_max_link_speed() to parse max-link-speed from DT commit 9a1dc3891255afd836f355b117fd6b975d0b1eb2 upstream. This new helper function could be used by host drivers to get the limitaion of max link speed provided by DT. If the property isn't assigned or is invalid, it will return -EINVAL to the caller. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>