public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: u-boot@lists.denx.de
Subject: [PATCH v7 03/14] phy: Add API for a bulk of phys
Date: Thu, 30 Apr 2020 09:42:10 +0800	[thread overview]
Message-ID: <1588210930.8249.22.camel@mhfsdcap03> (raw)
In-Reply-To: <CAPnjgZ0GvrLW_b2nGFAx-j9NachHsYXCE0+H55LvBPtmXc=yYQ@mail.gmail.com>

On Wed, 2020-04-29 at 15:03 -0600, Simon Glass wrote:
> Hi,
> 
> On Wed, 29 Apr 2020 at 00:07, Chunfeng Yun <chunfeng.yun@mediatek.com> wrote:
> >
> > 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>
> > Reviewed-by: Weijie Gao <weijie.gao@mediatek.com>
> > ---
> > v7: provide bulk init/exit/power on/off separately suggested by Jagan
> >
> > v6: add Reviewed-by Weijie
> >
> > v5: no changes
> >
> > v4: new patch
> > ---
> >  drivers/phy/phy-uclass.c | 97 ++++++++++++++++++++++++++++++++++++++++
> >  include/generic-phy.h    | 92 +++++++++++++++++++++++++++++++++++++
> >  2 files changed, 189 insertions(+)
> 
> Please don't forget to add a test for this.
Yes, already added in [PATCH v7 04/14]
> 
> Is this used by networking?
No, original phy-core seems also not support it

> 
> Regards,
> Simon

  reply	other threads:[~2020-04-30  1:42 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-29  6:05 [PATCH v7 00/14] Add support for MediaTek xHCI host controller Chunfeng Yun
2020-04-29  6:05 ` [PATCH v7 01/14] dm: core: Add function to get child count of ofnode or device Chunfeng Yun
2020-04-29  6:05 ` [PATCH v7 02/14] test: dm: add test item for ofnode_get_child_count() Chunfeng Yun
2020-04-29  6:05 ` [PATCH v7 03/14] phy: Add API for a bulk of phys Chunfeng Yun
2020-04-29 18:54   ` Jagan Teki
2020-04-29 21:03   ` Simon Glass
2020-04-30  1:42     ` Chunfeng Yun [this message]
2020-04-29  6:05 ` [PATCH v7 04/14] test: dm: phy: add a test item for the phy_bulk API Chunfeng Yun
2020-05-01  6:40   ` Jagan Teki
2020-04-29  6:05 ` [PATCH v7 05/14] usb: dwc3: use the phy bulk API to get phys Chunfeng Yun
2020-04-29  6:05 ` [PATCH v7 06/14] usb: dwc2_udc_otg: " Chunfeng Yun
2020-04-29  6:05 ` [PATCH v7 07/14] phy: phy-mtk-tphy: add support USB phys Chunfeng Yun
2020-04-29  6:05 ` [PATCH v7 08/14] phy: phy-mtk-tphy: add support new version Chunfeng Yun
2020-04-29  6:05 ` [PATCH v7 09/14] phy: phy-mtk-tphy: add a new reference clock Chunfeng Yun
2020-04-29  6:05 ` [PATCH v7 10/14] xhci: mediatek: Add support for MTK xHCI host controller Chunfeng Yun
2020-05-01 17:30   ` Jagan Teki
2020-05-06  2:53     ` Chunfeng Yun
2020-04-29  6:05 ` [PATCH v7 11/14] arm: dts: mt7629: add usb related nodes Chunfeng Yun
2020-04-29  6:05 ` [PATCH v7 12/14] dt-bindings: phy-mtk-tphy: add properties of address mapping and clocks Chunfeng Yun
2020-04-29  6:05 ` [PATCH v7 13/14] dt-bindings: usb: mtk-xhci: Add binding for MediaTek xHCI host controller Chunfeng Yun
2020-04-29  6:05 ` [PATCH v7 14/14] MAINTAINERS: MediaTek: add USB related files Chunfeng Yun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1588210930.8249.22.camel@mhfsdcap03 \
    --to=chunfeng.yun@mediatek.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox