From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: u-boot@lists.denx.de
Subject: [PATCH v7 10/14] xhci: mediatek: Add support for MTK xHCI host controller
Date: Wed, 6 May 2020 10:53:23 +0800 [thread overview]
Message-ID: <1588733603.11298.10.camel@mhfsdcap03> (raw)
In-Reply-To: <CAMty3ZCv85aWpM19KqY-UFdtt2tMmkFuUMu2WiF+UCQt2Kbf5w@mail.gmail.com>
On Fri, 2020-05-01 at 23:00 +0530, Jagan Teki wrote:
> On Wed, Apr 29, 2020 at 11:46 AM Chunfeng Yun <chunfeng.yun@mediatek.com> wrote:
> >
> > This patch is used to support the on-chip xHCI controller on
> > MediaTek SoCs, currently control/bulk/interrupt transfers are
> > supported.
> >
> > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> > Reviewed-by: Weijie Gao <weijie.gao@mediatek.com>
...
> > +int xhci_mtk_phy_setup(struct mtk_xhci *mtk)
> > +{
> > + struct udevice *dev = mtk->dev;
> > + struct phy_bulk *phys = &mtk->phys;
> > + int ret;
> > +
> > + ret = generic_phy_get_bulk(dev, phys);
> > + if (ret)
> > + return ret;
> > +
> > + ret = generic_phy_init_bulk(phys);
> > + if (ret)
> > + return ret;
> > +
> > + ret = generic_phy_power_on_bulk(phys);
> > + if (ret)
> > + generic_phy_exit_bulk(phys);
> > +
> > + return ret;
> > +}
> > +
> > +void xhci_mtk_phy_shutdown(struct mtk_xhci *mtk)
> > +{
> > + generic_phy_power_off_bulk(&mtk->phys);
> > + generic_phy_exit_bulk(&mtk->phys);
> > +}
>
> Hope these are local functions, if yes mark it as static.
Ok, thanks
>
> otherwise,
>
> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
next prev parent reply other threads:[~2020-05-06 2:53 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
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 [this message]
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=1588733603.11298.10.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