]> git.baikalelectronics.ru Git - uboot.git/commit
phy: Add API for a bulk of phys
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Sat, 2 May 2020 09:35:11 +0000 (11:35 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 2 May 2020 10:32:28 +0000 (12:32 +0200)
commit5461e1ed2340fca5347a007c94ad7bcb53655732
tree2a32f2e7d74788e32f9984f9e33862e01fef9751
parentc6d073a8e688df285eb807d9997a8a5f679d0d6b
phy: Add API for a bulk of phys

This patch adds a "bulk" API to the phy API in order to
get/init/exit/power on/off a group of phys associated
with a device.

The bulk API will avoid adding a copy of the same code to
manage a group of phys in drivers.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Weijie Gao <weijie.gao@mediatek.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/phy/phy-uclass.c
include/generic-phy.h