phy: core: Reword the comment specifying the units of max_link_rate to be Mbps
authorAswath Govindraju <a-govindraju@ti.com>
Mon, 10 May 2021 05:10:03 +0000 (10:40 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 14 Jun 2021 05:50:17 +0000 (11:20 +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>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Link: https://lore.kernel.org/r/20210510051006.11393-2-a-govindraju@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/linux/phy/phy.h

index 0ed434d02196bbec2395d6b227e43a1922016804..f3286f4cd3068e5fd83fa154f1d22a223246ca91 100644 (file)
@@ -125,7 +125,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 {