From: Benoit Cousson <bcousson@baylibre.com>
To: Roger Quadros <rogerq@ti.com>
Cc: balbi@ti.com, tony@atomide.com, george.cherian@ti.com,
kishon@ti.com, bigeasy@linutronix.de, linux-usb@vger.kernel.org,
linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v3 7/8] ARM: dts: omap4: update omap-control-usb nodes
Date: Fri, 16 Aug 2013 16:30:51 +0200 [thread overview]
Message-ID: <520E379B.4090108@baylibre.com> (raw)
In-Reply-To: <1376658571-20992-8-git-send-email-rogerq@ti.com>
Hi Roger,
Sorry I missed something in the previous revision :-(
On 16/08/2013 15:09, Roger Quadros wrote:
> Split otghs_ctrl and USB2 PHY power down into separate
> omap-control-usb nodes. Get rid of "ti,type" property.
You should add that you update the usb_otg_hs node accordingly as well.
> CC: Benoit Cousson <bcousson@baylibre.com>
> Signed-off-by: Roger Quadros <rogerq@ti.com>
> ---
> arch/arm/boot/dts/omap4.dtsi | 20 ++++++++++++--------
> 1 files changed, 12 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
> index 22d9f2b..a77dd0a 100644
> --- a/arch/arm/boot/dts/omap4.dtsi
> +++ b/arch/arm/boot/dts/omap4.dtsi
> @@ -519,7 +519,7 @@
> usb2_phy: usb2phy@4a0ad080 {
> compatible = "ti,omap-usb2";
> reg = <0x4a0ad080 0x58>;
> - ctrl-module = <&omap_control_usb>;
> + ctrl-module = <&omap_control_usb2phy>;
> };
> };
>
> @@ -643,12 +643,16 @@
> };
> };
>
> - omap_control_usb: omap-control-usb@4a002300 {
> - compatible = "ti,omap-control-usb";
> - reg = <0x4a002300 0x4>,
> - <0x4a00233c 0x4>;
> - reg-names = "control_dev_conf", "otghs_control";
> - ti,type = <1>;
> + omap_control_usb2phy: omap-control-usb@4a002300 {
> + compatible = "ti,usb2-control-usb";
> + reg = <0x4a002300 0x4>;
> + reg-names = "power";
> + };
> +
> + omap_control_usbotg: omap-control-usb@4a00233c {
> + compatible = "ti,omap4-control-usb";
> + reg = <0x4a00233c 0x4>;
> + reg-names = "otghs_control";
> };
>
> usb_otg_hs: usb_otg_hs@4a0ab000 {
> @@ -661,7 +665,7 @@
> multipoint = <1>;
> num-eps = <16>;
> ram-bits = <12>;
> - ti,has-mailbox;
> + ctrl-module = <&omap_control_usbotg>;
In omap-usb.txt, ti,has-mailbox is still marked as mandatory whereas the
ctrl-module is optional.
You should update the usb-otg-hs bindings as well.
BTW, why is that property not prefixed with "ti,"? Is ctrl-module really
meaningful for other arch?
Regards,
Benoit
WARNING: multiple messages have this Message-ID (diff)
From: bcousson@baylibre.com (Benoit Cousson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 7/8] ARM: dts: omap4: update omap-control-usb nodes
Date: Fri, 16 Aug 2013 16:30:51 +0200 [thread overview]
Message-ID: <520E379B.4090108@baylibre.com> (raw)
In-Reply-To: <1376658571-20992-8-git-send-email-rogerq@ti.com>
Hi Roger,
Sorry I missed something in the previous revision :-(
On 16/08/2013 15:09, Roger Quadros wrote:
> Split otghs_ctrl and USB2 PHY power down into separate
> omap-control-usb nodes. Get rid of "ti,type" property.
You should add that you update the usb_otg_hs node accordingly as well.
> CC: Benoit Cousson <bcousson@baylibre.com>
> Signed-off-by: Roger Quadros <rogerq@ti.com>
> ---
> arch/arm/boot/dts/omap4.dtsi | 20 ++++++++++++--------
> 1 files changed, 12 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
> index 22d9f2b..a77dd0a 100644
> --- a/arch/arm/boot/dts/omap4.dtsi
> +++ b/arch/arm/boot/dts/omap4.dtsi
> @@ -519,7 +519,7 @@
> usb2_phy: usb2phy at 4a0ad080 {
> compatible = "ti,omap-usb2";
> reg = <0x4a0ad080 0x58>;
> - ctrl-module = <&omap_control_usb>;
> + ctrl-module = <&omap_control_usb2phy>;
> };
> };
>
> @@ -643,12 +643,16 @@
> };
> };
>
> - omap_control_usb: omap-control-usb at 4a002300 {
> - compatible = "ti,omap-control-usb";
> - reg = <0x4a002300 0x4>,
> - <0x4a00233c 0x4>;
> - reg-names = "control_dev_conf", "otghs_control";
> - ti,type = <1>;
> + omap_control_usb2phy: omap-control-usb at 4a002300 {
> + compatible = "ti,usb2-control-usb";
> + reg = <0x4a002300 0x4>;
> + reg-names = "power";
> + };
> +
> + omap_control_usbotg: omap-control-usb at 4a00233c {
> + compatible = "ti,omap4-control-usb";
> + reg = <0x4a00233c 0x4>;
> + reg-names = "otghs_control";
> };
>
> usb_otg_hs: usb_otg_hs at 4a0ab000 {
> @@ -661,7 +665,7 @@
> multipoint = <1>;
> num-eps = <16>;
> ram-bits = <12>;
> - ti,has-mailbox;
> + ctrl-module = <&omap_control_usbotg>;
In omap-usb.txt, ti,has-mailbox is still marked as mandatory whereas the
ctrl-module is optional.
You should update the usb-otg-hs bindings as well.
BTW, why is that property not prefixed with "ti,"? Is ctrl-module really
meaningful for other arch?
Regards,
Benoit
next prev parent reply other threads:[~2013-08-16 14:30 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-16 13:09 [PATCH v3 0/8] phy: omap-usb: Support multiple instances and new types Roger Quadros
2013-08-16 13:09 ` Roger Quadros
[not found] ` <1376658571-20992-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2013-08-16 13:09 ` [PATCH v3 1/8] usb: phy: omap-control: Get rid of platform data Roger Quadros
2013-08-16 13:09 ` Roger Quadros
2013-08-16 13:09 ` [PATCH v3 4/8] usb: phy: omap-usb3: Don't use omap_get_control_dev() Roger Quadros
2013-08-16 13:09 ` Roger Quadros
2013-08-16 13:09 ` [PATCH v3 5/8] usb: musb: omap2430: " Roger Quadros
2013-08-16 13:09 ` Roger Quadros
2013-08-16 13:09 ` [PATCH v3 6/8] usb: phy: omap: get rid of omap_get_control_dev() Roger Quadros
2013-08-16 13:09 ` Roger Quadros
2013-08-16 13:09 ` [PATCH v3 7/8] ARM: dts: omap4: update omap-control-usb nodes Roger Quadros
2013-08-16 13:09 ` Roger Quadros
2013-08-16 14:30 ` Benoit Cousson [this message]
2013-08-16 14:30 ` Benoit Cousson
2013-08-19 7:24 ` Roger Quadros
2013-08-19 7:24 ` Roger Quadros
2013-08-16 13:09 ` [PATCH v3 2/8] usb: phy: omap: Add new device types and remove omap_control_usb3_phy_power() Roger Quadros
2013-08-16 13:09 ` Roger Quadros
2013-08-16 13:09 ` [PATCH v3 3/8] usb: phy: omap-usb2: Don't use omap_get_control_dev() Roger Quadros
2013-08-16 13:09 ` Roger Quadros
2013-08-16 13:09 ` [PATCH v3 8/8] ARM: dts: omap5: update omap-control-usb node Roger Quadros
2013-08-16 13:09 ` Roger Quadros
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=520E379B.4090108@baylibre.com \
--to=bcousson@baylibre.com \
--cc=balbi@ti.com \
--cc=bigeasy@linutronix.de \
--cc=devicetree@vger.kernel.org \
--cc=george.cherian@ti.com \
--cc=kishon@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=rogerq@ti.com \
--cc=tony@atomide.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.