From: Kishon Vijay Abraham I <kishon@ti.com>
To: Peter Griffin <peter.griffin@linaro.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com,
maxime.coquelin@st.com, patrice.chotard@st.com
Cc: lee.jones@linaro.org, devicetree@vger.kernel.org,
Giuseppe Cavallaro <peppe.cavallaro@st.com>
Subject: Re: [PATCH 2/3] phy: phy-stih407-usb: Add dt documentation for USB picophy found on stih407 SoC family
Date: Mon, 8 Sep 2014 21:00:25 +0530 [thread overview]
Message-ID: <540DCB91.7060702@ti.com> (raw)
In-Reply-To: <1409740079-16554-3-git-send-email-peter.griffin@linaro.org>
Hi,
On Wednesday 03 September 2014 03:57 PM, Peter Griffin wrote:
> This patch adds the dt documentation for the usb picophy found on stih407 SoC family
> available from STMicroelectronics.
>
> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> .../devicetree/bindings/phy/phy-stih407-usb.txt | 37 ++++++++++++++++++++++
> 1 file changed, 37 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/phy/phy-stih407-usb.txt
>
> diff --git a/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt b/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt
> new file mode 100644
> index 0000000..650d346
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt
> @@ -0,0 +1,37 @@
> +ST STiH407 USB-PHY controller
> +
> +This file documents the dt bindings for the picoPHY driver which is the PHY for both USB2 and USB3 host controllers
> +controllers available on STiH407 SoC families.
> +
> +On STiH410, we have to use the DWC3 port#2 with a picoPHY to manage USB2
> +devices. The USB2 Controller will use the ports #0 and #1.
> +
> +This is to document the DT parameters to be passed from the blob in that case.
> +
> +Required properties:
> +- compatible : should be "st,stih407-usb2-phy"
If STiH410 also uses the same driver then you should add a new compatibility
value for it.
> +- reg : contain the offset and length of the system configuration registers
> + used as glue logic to control & parameter phy
> +- reg-names : the names of the system configuration registers in "reg", should be "param" and "reg"
> +- st,syscfg : sysconfig register to manage phy parameter at driver level
> +- resets : list of phandle and reset specifier pairs. There should be two entries, one
> + for the whole phy and one for the port
> +- reset-names : list of reset signal names. Should be "global" and "port"
> +See: Documentation/devicetree/bindings/reset/st,sti-powerdown.txt
> +See: Documentation/devicetree/bindings/reset/reset.txt
> +
> +Example:
> +
> +usb2_picophy0: usbpicophy@0 {
usbpicophy@f8 since you have a reg property ;-)
> + compatible = "st,stih407-usb2-phy";
> + reg = <0xf8 0x04>, /* syscfg 5062 */
> + <0xf4 0x04>; /* syscfg 5061 */
> + reg-names = "param",
> + "ctrl";
> + #phy-cells = <0>;
alignment seems to have gone wrong here.
Thanks
Kishon
next prev parent reply other threads:[~2014-09-08 15:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-03 10:27 [PATCH 0/3] Add picoPHY usb phy driver found on stih407 family SoC's Peter Griffin
2014-09-03 10:27 ` [PATCH 1/3] phy: phy-stih407-usb: Add usb picoPHY driver found on stih407 SoC family Peter Griffin
2014-09-03 10:27 ` [PATCH 2/3] phy: phy-stih407-usb: Add dt documentation for USB picophy " Peter Griffin
2014-09-08 15:30 ` Kishon Vijay Abraham I [this message]
2014-09-09 7:34 ` Peter Griffin
2014-09-03 10:27 ` [PATCH 3/3] MAINTAINERS: Add phy-stih407-usb.c file to ARCH/STI architecture Peter Griffin
2014-09-08 15:23 ` [PATCH 0/3] Add picoPHY usb phy driver found on stih407 family SoC's Kishon Vijay Abraham I
[not found] ` <540DC9F6.8090306-l0cyMroinI0@public.gmane.org>
2014-09-08 15:53 ` Peter Griffin
2014-09-10 8:38 ` Kishon Vijay Abraham I
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=540DCB91.7060702@ti.com \
--to=kishon@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maxime.coquelin@st.com \
--cc=patrice.chotard@st.com \
--cc=peppe.cavallaro@st.com \
--cc=peter.griffin@linaro.org \
--cc=srinivas.kandagatla@gmail.com \
/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).