Commit becaf17a authored by Dov Levenglick's avatar Dov Levenglick Committed by Kishon Vijay Abraham I

phy: fix structure documentation

Add missing documentation of structure members and
modify the order of documentation to match that of
the structure declaration.
Signed-off-by: default avatarDov Levenglick <dov.levenglick@gmail.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 95cc6e72
...@@ -81,7 +81,8 @@ struct phy_attrs { ...@@ -81,7 +81,8 @@ struct phy_attrs {
* @mutex: mutex to protect phy_ops * @mutex: mutex to protect phy_ops
* @init_count: used to protect when the PHY is used by multiple consumers * @init_count: used to protect when the PHY is used by multiple consumers
* @power_count: used to protect when the PHY is used by multiple consumers * @power_count: used to protect when the PHY is used by multiple consumers
* @phy_attrs: used to specify PHY specific attributes * @attrs: used to specify PHY specific attributes
* @pwr: power regulator associated with the phy
*/ */
struct phy { struct phy {
struct device dev; struct device dev;
...@@ -97,9 +98,10 @@ struct phy { ...@@ -97,9 +98,10 @@ struct phy {
/** /**
* struct phy_provider - represents the phy provider * struct phy_provider - represents the phy provider
* @dev: phy provider device * @dev: phy provider device
* @children: can be used to override the default (dev->of_node) child node
* @owner: the module owner having of_xlate * @owner: the module owner having of_xlate
* @of_xlate: function pointer to obtain phy instance from phy pointer
* @list: to maintain a linked list of PHY providers * @list: to maintain a linked list of PHY providers
* @of_xlate: function pointer to obtain phy instance from phy pointer
*/ */
struct phy_provider { struct phy_provider {
struct device *dev; struct device *dev;
...@@ -110,6 +112,13 @@ struct phy_provider { ...@@ -110,6 +112,13 @@ struct phy_provider {
struct of_phandle_args *args); struct of_phandle_args *args);
}; };
/**
* struct phy_lookup - PHY association in list of phys managed by the phy driver
* @node: list node
* @dev_id: the device of the association
* @con_id: connection ID string on device
* @phy: the phy of the association
*/
struct phy_lookup { struct phy_lookup {
struct list_head node; struct list_head node;
const char *dev_id; const char *dev_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment