summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api/phy
Commit message (Collapse)AuthorAgeFilesLines
* phy: Add devm_of_phy_optional_get() helperGeert Uytterhoeven2023-02-031-2/+5
| | | | | | | | | | Add an optional variant of devm_of_phy_get() that also takes care of printing real errors, so drivers no longer have to open-code this operation. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/4cd0069bcff424ffc5c3a102397c02370b91985b.1674584626.git.geert+renesas@glider.be Signed-off-by: Vinod Koul <vkoul@kernel.org>
* doc: phy: Document devm_of_phy_get()Geert Uytterhoeven2023-02-031-4/+6
| | | | | | | | | Add the missing documentation for devm_of_phy_get(), which was forgotten when the function was introduced. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/768d5845668f081620098a0b4479d1481e212bac.1674584626.git.geert+renesas@glider.be Signed-off-by: Vinod Koul <vkoul@kernel.org>
* phy: Remove unused phy_optional_get()Geert Uytterhoeven2023-02-031-6/+5
| | | | | | | | | | | | There were never any upstream users of this function since its introduction almost 10 years ago. Besides, the dummy for phy_optional_get() should have returned NULL instead of an error code. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/df61992b1d66bccf4e6e1eafae94a7f7d7629f34.1674584626.git.geert+renesas@glider.be Signed-off-by: Vinod Koul <vkoul@kernel.org>
* doc: phy: Document typical order of API callsSean Anderson2022-11-071-1/+24
| | | | | | | | | | | | Document the typical order of API calls to used by new drivers and controllers. Many existing controllers follow this order, but some do not. This is especially true for controllers designed to work with one particular PHY driver, which may not need a call to (for example) phy_init. Signed-off-by: Sean Anderson <sean.anderson@seco.com> Link: https://lore.kernel.org/r/20221018175841.1906611-1-sean.anderson@seco.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
* docs: phy: Drop duplicate 'be made'Guido Günther2019-07-261-2/+2
| | | | | | | Fix duplicate words. Signed-off-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* docs: add SPDX tags to new index filesMauro Carvalho Chehab2019-07-151-0/+2
| | | | | | | | All those new files I added are under GPL v2.0 license. Add the corresponding SPDX headers to them. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
* docs: phy: place documentation under driver-apiMauro Carvalho Chehab2019-07-153-0/+350
This subsystem-specific documentation belongs to the driver-api. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>