]> Git Repo - J-linux.git/commitdiff
phy: Add new PHY attribute max_link_rate
authorSwapnil Jakhade <[email protected]>
Fri, 11 Sep 2020 06:18:33 +0000 (08:18 +0200)
committerVinod Koul <[email protected]>
Wed, 16 Sep 2020 12:08:02 +0000 (17:38 +0530)
Add new PHY attribute max_link_rate to struct phy_attrs. This indicates
maximum link rate supported by PHY (in Mbps).

Signed-off-by: Yuti Amonkar <[email protected]>
Signed-off-by: Swapnil Jakhade <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Acked-by: Kishon Vijay Abraham I <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
include/linux/phy/phy.h

index bcee8eba62b3761267f4d884d026ec8c338c8594..e435bdb0bab355eabc94def12674bc51a7076bda 100644 (file)
@@ -115,10 +115,12 @@ struct phy_ops {
 /**
  * struct phy_attrs - represents phy attributes
  * @bus_width: Data path width implemented by PHY
+ * @max_link_rate: Maximum link rate supported by PHY (in Mbps)
  * @mode: PHY mode
  */
 struct phy_attrs {
        u32                     bus_width;
+       u32                     max_link_rate;
        enum phy_mode           mode;
 };
 
This page took 0.052804 seconds and 4 git commands to generate.