From: Weijie Gao Date: Wed, 15 Apr 2020 15:11:07 +0800 Subject: [PATCH v5 03/14] phy: Add get/enable/disable for a bulk of phys In-Reply-To: <1586497552-12194-4-git-send-email-chunfeng.yun@mediatek.com> References: <1586497552-12194-1-git-send-email-chunfeng.yun@mediatek.com> <1586497552-12194-4-git-send-email-chunfeng.yun@mediatek.com> Message-ID: <1586934667.26858.120.camel@mcddlt001> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2020-04-10 at 13:45 +0800, Chunfeng Yun wrote: > This patch adds a "bulk" API to the phy API in order to > get/enable/disable 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 > --- > v5: no changes > > v4: new patch > --- > drivers/phy/phy-uclass.c | 80 ++++++++++++++++++++++++++++++++++++++++ > include/generic-phy.h | 66 +++++++++++++++++++++++++++++++++ > 2 files changed, 146 insertions(+) > Reviewed-by: Weijie Gao