From: Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Kishon Vijay Abraham I <kishon-l0cyMroinI0@public.gmane.org>
Cc: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Pengcheng Li <lpc.li-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>,
Jiancheng Xue
<xuejiancheng-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>,
Shawn Guo <shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Subject: Re: [PATCH] phy: add inno-usb2-phy driver for hi3798cv200 SoC
Date: Mon, 23 Oct 2017 10:08:37 +0800 [thread overview]
Message-ID: <20171023020836.GA16644@dragon> (raw)
In-Reply-To: <68cd23ae-544d-a60a-14a9-347b7aaf76bf-l0cyMroinI0@public.gmane.org>
On Wed, Oct 18, 2017 at 06:08:01PM +0530, Kishon Vijay Abraham I wrote:
> > + usb2_phy1: usb2-phy1 {
> > + compatible = "hisilicon,hi3798cv200-usb2-phy";
> > + #phy-cells = <1>;
> > + hisilicon,peripheral-syscon = <&peri_ctrl 0x120>;
> > + clocks = <&crg HISTB_USB2_PHY1_REF_CLK>;
> > + resets = <&crg 0xbc 4>,
> > + <&crg 0xbc 8>,
> > + <&crg 0xbc 9>;
> > + reset-names = "power_on", "utmi0", "utmi1";
> > + };
>
> please send the devicetree binding documentation as a separate patch.
Yes, I should have done that.
<snip>
> > +static int hisi_inno_phy_exit(struct phy *phy)
> > +{
> > + struct hisi_inno_phy_port *port = phy_get_drvdata(phy);
> > + struct hisi_inno_phy_priv *priv = dev_get_drvdata(port->dev);
> > +
> > + reset_control_assert(port->utmi_rst);
> > + reset_control_assert(priv->por_rst);
> > + clk_disable_unprepare(priv->ref_clk);
> > +
> > + return 0;
> > +}
> > +
> > +static const struct phy_ops hisi_inno_phy_ops = {
> > + .init = hisi_inno_phy_start,
>
> in order to make it identical you can just end it with *_init().
Yes, good suggestion.
Shawn
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-10-23 2:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-15 14:49 [PATCH] phy: add inno-usb2-phy driver for hi3798cv200 SoC Shawn Guo
[not found] ` <1508078958-16966-1-git-send-email-shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-10-18 12:38 ` Kishon Vijay Abraham I
[not found] ` <68cd23ae-544d-a60a-14a9-347b7aaf76bf-l0cyMroinI0@public.gmane.org>
2017-10-23 2:08 ` Shawn Guo [this message]
2017-10-23 22:32 ` Rob Herring
2017-10-24 6:49 ` Shawn Guo
2017-10-25 13:34 ` Rob Herring
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=20171023020836.GA16644@dragon \
--to=shawnguo-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=kishon-l0cyMroinI0@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=lpc.li-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=xuejiancheng-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).