]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commitdiff
phy: core: Reword the comment specifying the units of max_link_rate to be Mbps
authorAswath Govindraju <a-govindraju@ti.com>
Mon, 19 Apr 2021 06:23:36 +0000 (11:53 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Tue, 20 Apr 2021 06:27:56 +0000 (11:57 +0530)
In some subsystems (eg. CAN, SPI), the max link rate supported can be less
than 1 Mbps and if the unit for max_link_rate is Mbps then it can't be
used. Therefore, leave the decision of units to be used, to the producer
and consumer.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
include/linux/phy/phy.h

index e435bdb0bab355eabc94def12674bc51a7076bda..b8540ee3d3b73da9815a43a8bea0be005bf27775 100644 (file)
@@ -115,7 +115,7 @@ 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)
+ * @max_link_rate: Maximum link rate supported by PHY (units to be decided by producer and consumer)
  * @mode: PHY mode
  */
 struct phy_attrs {