summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2020-09-18 15:14:35 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2020-09-18 15:14:35 +0300
commit92ffad62a6fb60126cfe39456bdc27f633333f1f (patch)
tree63ac9673c5398fd0da14abe69b7befa0795a6aa3 /include
parentb40be05ed255d9a0257fb66ab2728ecca2c9d597 (diff)
parent0ffcc3787e34d39997343dd52c465bc906ed119b (diff)
Merge tag 'phy-attrs-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy into 5.10/dp-pull
New phy attributes slated for kernel release v5.10. These are needed by the Cadence MHDP driver.
Diffstat (limited to 'include')
-rw-r--r--include/linux/phy/phy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index bcee8eba62b3..e435bdb0bab3 100644
--- a/include/linux/phy/phy.h
+++ b/include/linux/phy/phy.h
@@ -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;
};