From: Maxime Coquelin <maxime.coquelin-qxv4g6HH51o@public.gmane.org>
To: Peter Griffin
<peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
srinivas.kandagatla-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
patrice.chotard-qxv4g6HH51o@public.gmane.org
Cc: lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 10/13] ARM: STi: DT: STih410: Add dt nodes for the ehci / ohci usb controllers.
Date: Mon, 10 Nov 2014 10:26:00 +0100 [thread overview]
Message-ID: <546084A8.9070601@st.com> (raw)
In-Reply-To: <1415361475-6218-11-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Hi Peter,
On 11/07/2014 12:57 PM, Peter Griffin wrote:
> The stih410 has some additional usb controllers. This patch adds the
> dt nodes which will enabled them to function correctly.
>
> Signed-off-by: Peter Griffin <peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
> arch/arm/boot/dts/stih407.dtsi | 60 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 60 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stih407.dtsi b/arch/arm/boot/dts/stih407.dtsi
> index 967ec39..5e01db2 100644
> --- a/arch/arm/boot/dts/stih407.dtsi
> +++ b/arch/arm/boot/dts/stih407.dtsi
Shouldn't you create a new stih410.dtsi file, to clearly highlight these
USB2 controller are not present on STiH407?
If you create this file, you could also include the stih410-clocks.dtsi
file in it.
> @@ -321,5 +321,65 @@
> reset-names = "global",
> "port";
> };
> +
> + ohci0: usb@9a03c00 {
> + compatible = "st,st-ohci-300x";
> + status = "disabled";
> + reg = <0x9a03c00 0x100>;
> + interrupts = <GIC_SPI 180 IRQ_TYPE_NONE>;
> + clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>;
> + resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
> + <&softreset STIH407_USB2_PORT0_SOFTRESET>;
> + reset-names = "power", "softreset";
> +
> + phys = <&usb2_picophy0>;
> + phy-names = "usb";
> + };
> +
> + ehci0: usb@9a03e00 {
> + compatible = "st,st-ehci-300x";
> + status = "disabled";
> + reg = <0x9a03e00 0x100>;
> + interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_usb0>;
> + clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>;
> + resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
> + <&softreset STIH407_USB2_PORT0_SOFTRESET>;
> + reset-names = "power", "softreset";
> +
> + phys = <&usb2_picophy0>;
> + phy-names = "usb";
> + };
> +
> + ohci1: usb@9a83c00 {
> + compatible = "st,st-ohci-300x";
> + status = "disabled";
> + reg = <0x9a83c00 0x100>;
> + interrupts = <GIC_SPI 181 IRQ_TYPE_NONE>;
> + clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>;
> + resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
> + <&softreset STIH407_USB2_PORT1_SOFTRESET>;
> + reset-names = "power", "softreset";
> +
> + phys = <&usb2_picophy1>;
> + phy-names = "usb";
> + };
> +
> + ehci1: usb@9a83e00 {
> + compatible = "st,st-ehci-300x";
> + status = "disabled";
> + reg = <0x9a83e00 0x100>;
> + interrupts = <GIC_SPI 153 IRQ_TYPE_NONE>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_usb1>;
> + clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>;
> + resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
> + <&softreset STIH407_USB2_PORT1_SOFTRESET>;
> + reset-names = "power", "softreset";
> +
> + phys = <&usb2_picophy1>;
> + phy-names = "usb";
> + };
> };
> };
--
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:[~2014-11-10 9:26 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-07 11:57 [PATCH 00/13] Add stih410 SoC and USB2/1.1 support Peter Griffin
2014-11-07 11:57 ` [PATCH 01/13] ARM: STi: DT: STiH416: Add pinctl setup for usb controllers Peter Griffin
2014-11-10 10:50 ` Lee Jones
2014-11-07 11:57 ` [PATCH 02/13] ARM: STi: DT: STiH416: Add DT node for the stih415/6 usb2 phy Peter Griffin
[not found] ` <1415361475-6218-3-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-11-10 10:49 ` Lee Jones
2014-11-12 13:55 ` Peter Griffin
[not found] ` <1415361475-6218-1-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-11-07 11:57 ` [PATCH 03/13] ARM: STi: DT: STiH416: Add DT nodes for the ehci and ohci usb controllers Peter Griffin
[not found] ` <1415361475-6218-4-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-11-07 12:08 ` Arnd Bergmann
2014-11-12 13:44 ` Peter Griffin
2014-11-07 11:57 ` [PATCH 04/13] ARM: multi_v7_defconfig: Enable st ohci and ehci HCD drivers Peter Griffin
[not found] ` <1415361475-6218-5-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-11-10 10:48 ` Lee Jones
2014-11-07 11:57 ` [PATCH 13/13] ARM: STi: DT: STih407: Add clk_ignore_unused to kernel bootargs Peter Griffin
2014-11-10 10:04 ` Lee Jones
2014-11-07 11:57 ` [PATCH 05/13] ARM: multi_v7_defconfig: Enable stih415/6 usb2 phy driver Peter Griffin
[not found] ` <1415361475-6218-6-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-11-10 10:47 ` Lee Jones
2014-11-07 11:57 ` [PATCH 06/13] ARM: multi_v7_defconfig: Enable stih407 usb picophy Peter Griffin
2014-11-10 10:28 ` Lee Jones
2014-11-07 11:57 ` [PATCH 07/13] ARM: STi: DT: STiH407: Add usb2 picophy dt nodes Peter Griffin
[not found] ` <1415361475-6218-8-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-11-10 10:11 ` Lee Jones
2014-11-13 10:22 ` Peter Griffin
2014-11-07 11:57 ` [PATCH 08/13] ARM: STi: DT: STiH410: Add defines for STiH410 DT clocks Peter Griffin
[not found] ` <1415361475-6218-9-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-11-10 10:08 ` Lee Jones
2014-11-07 11:57 ` [PATCH 09/13] ARM: STi: DT: STiH410: Add pinctl config for usb controllers Peter Griffin
[not found] ` <1415361475-6218-10-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-11-10 10:06 ` Lee Jones
2014-11-07 11:57 ` [PATCH 10/13] ARM: STi: DT: STih410: Add dt nodes for the ehci / ohci " Peter Griffin
[not found] ` <1415361475-6218-11-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-11-10 9:26 ` Maxime Coquelin [this message]
2014-11-10 10:06 ` Lee Jones
2014-11-07 11:57 ` [PATCH 11/13] ARM: STi: DT: STih407: Abstract common dt nodes into shared files Peter Griffin
2014-11-07 12:10 ` Arnd Bergmann
2014-11-07 11:57 ` [PATCH 12/13] ARM: STi: DT: STiH410: Add STiH410 SoC clock support Peter Griffin
2014-11-07 12:13 ` Arnd Bergmann
2014-11-12 13:48 ` Peter Griffin
[not found] ` <1415361475-6218-13-git-send-email-peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-11-10 9:20 ` Maxime Coquelin
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=546084A8.9070601@st.com \
--to=maxime.coquelin-qxv4g6hh51o@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=patrice.chotard-qxv4g6HH51o@public.gmane.org \
--cc=peter.griffin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=srinivas.kandagatla-Re5JQEeQqe8AvxtiuMwx3w@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).