From: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
To: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: mark.rutland-5wv7dgnIgG8@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
huangtao-TNX95d0MmH7DzftRWevZcw@public.gmane.org,
geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org,
martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org,
yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
kishon-l0cyMroinI0@public.gmane.org,
kever.yang-TNX95d0MmH7DzftRWevZcw@public.gmane.org,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
frank.wang-TNX95d0MmH7DzftRWevZcw@public.gmane.org,
william.wu-TNX95d0MmH7DzftRWevZcw@public.gmane.org,
Meng Dongyang
<daniel.meng-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
Subject: Re: [PATCH v2 2/3] Documentation: bindings: add DT documentation for u2phy and u2phy grf
Date: Fri, 03 Mar 2017 08:13:35 +0100 [thread overview]
Message-ID: <1836183.aHLuUaOhIY@phil> (raw)
In-Reply-To: <20170303062156.cofjy6sndxz3gch5@rob-hp-laptop>
Am Freitag, 3. März 2017, 00:21:56 CET schrieb Rob Herring:
> On Thu, Mar 02, 2017 at 03:49:04PM +0800, Meng Dongyang wrote:
> > Due to the u2phy registers are separated from general grf, we need to
> > add u2phy grf node and place u2phy node in it. So this patch add u2phy
> > grf node.
>
> Similar comment on the subject.
>
> > Changes in v2:
> > - add u2phy grf specification
> >
> > Signed-off-by: Meng Dongyang <daniel.meng-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
> > ---
> >
> > Documentation/devicetree/bindings/soc/rockchip/grf.txt | 15
> > +++++++++++++++
> > 1 file changed, 15 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.txt
> > b/Documentation/devicetree/bindings/soc/rockchip/grf.txt index
> > 013e71a..6ac23f9 100644
> > --- a/Documentation/devicetree/bindings/soc/rockchip/grf.txt
> > +++ b/Documentation/devicetree/bindings/soc/rockchip/grf.txt
> > @@ -7,6 +7,9 @@ From RK3368 SoCs, the GRF is divided into two sections,
> >
> > - GRF, used for general non-secure system,
> > - PMUGRF, used for always on system
> >
> > +On RK3328 SoCs, the GRF is divided into three sections,
> > +except GRF and PMUGRF, add a section for USB2PHYGRF,
> > +
> >
> > Required Properties:
> >
> > - compatible: GRF should be one of the followings
> >
> > @@ -19,6 +22,8 @@ Required Properties:
> > - compatible: PMUGRF should be one of the followings
> >
> > - "rockchip,rk3368-pmugrf", "syscon": for rk3368
> > - "rockchip,rk3399-pmugrf", "syscon": for rk3399
> >
> > +- compatible: USB2GRF should be one of the followings
> > + - "rockchip,rk3328-usb2phy-grf", "syscon": for rk3328
> >
> > - reg: physical base address of the controller and length of memory
> > mapped
> >
> > region.
> >
> > @@ -33,3 +38,13 @@ Example: GRF and PMUGRF of RK3399 SoCs
> >
> > compatible = "rockchip,rk3399-grf", "syscon";
> > reg = <0x0 0xff770000 0x0 0x10000>;
> >
> > };
> >
> > +
> > +Example: USB2GRF of RK3328 SoCs
> > +
> > + usb2phy_grf: syscon@ff450000 {
> > + compatible = "rockchip,rk3328-usb2phy-grf", "syscon",
> > + "simple-mfd";
>
> simple-mfd is not documented. Do you have child nodes?
Yes, this will have child nodes and I guess we don't really need the
additional example, that only differs in the compatible.
> What makes this a syscon? It has non-PHY registers?
It is still a "General Register Files" block in all of the socs manual
and yes, that special area also contains registers not used by the phy driver.
Heiko
next prev parent reply other threads:[~2017-03-03 7:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-02 7:49 [PATCH v2 0/3] add support of u2phy for rk3328 Meng Dongyang
[not found] ` <1488440945-27291-1-git-send-email-daniel.meng-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2017-03-02 7:49 ` [PATCH v2 1/3] Documentation: bindings: add assign clock property in u2phy node Meng Dongyang
[not found] ` <1488440945-27291-2-git-send-email-daniel.meng-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2017-03-03 6:21 ` Rob Herring
2017-03-02 7:49 ` [PATCH v2 2/3] Documentation: bindings: add DT documentation for u2phy and u2phy grf Meng Dongyang
[not found] ` <1488440945-27291-3-git-send-email-daniel.meng-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2017-03-03 6:21 ` Rob Herring
2017-03-03 6:53 ` rock-chips(daniel.meng)
2017-03-03 7:13 ` Heiko Stuebner [this message]
2017-03-02 7:49 ` [PATCH v2 3/3] phy: rockchip-inno-usb2: add support of u2phy for rk3328 Meng Dongyang
[not found] ` <1488440945-27291-4-git-send-email-daniel.meng-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2017-03-04 12:24 ` kbuild test robot
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=1836183.aHLuUaOhIY@phil \
--to=heiko-4mtyjxux2i+zqb+pc5nmwq@public.gmane.org \
--cc=daniel.meng-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=frank.wang-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
--cc=geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org \
--cc=huangtao-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
--cc=kever.yang-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
--cc=kishon-l0cyMroinI0@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org \
--cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=william.wu-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
--cc=yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@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).