phy: core: Add documentation of phy operation order
authorJules Maselbas <jmaselbas@kalray.eu>
Thu, 7 Apr 2022 10:21:06 +0000 (12:21 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 20 Apr 2022 09:15:15 +0000 (14:45 +0530)
commitf1b8d3358af77fc453d6b781f40ee7342a230672
tree52b1535bddf73b477233a90d158cbaa5a0532975
parent51a9b2c03dd3fddc56c2f68740fade2e38a066d0
phy: core: Add documentation of phy operation order

Add documentation on phy function usage: init function must be
called before power_on; power_off must be called before exit.

Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: Amelie DELAUNAY <amelie.delaunay@foss.st.com>
Cc: Minas Harutyunyan <hminas@synopsys.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Link: https://lore.kernel.org/r/20220407102108.24211-2-jmaselbas@kalray.eu
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/phy-core.c