All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Figa <tomasz.figa@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Cc: Vivek Gautam <gautam.vivek@samsung.com>,
	linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
	devicetree@vger.kernel.org, k.debski@samsung.com,
	kgene.kim@samsung.com, linux-doc@vger.kernel.org,
	gregkh@linuxfoundation.org, t.figa@samsung.com,
	jg1.han@samsung.com, linux-kernel@vger.kernel.org, balbi@ti.com,
	kishon@ti.com, s.nawrocki@samsung.com, jwerner@chromium.org
Subject: Re: [PATCH 2/4] dt: exynos5250: Enable support for generic USB 3.0 phy
Date: Sun, 10 Nov 2013 15:54:13 +0100	[thread overview]
Message-ID: <1538612.pj7iqCuQ7M@flatron> (raw)
In-Reply-To: <1383205544-32244-3-git-send-email-gautam.vivek@samsung.com>

Hi Vivek,

On Thursday 31 of October 2013 13:15:42 Vivek Gautam wrote:
> Update device tree bindings for DWC3 controller and
> USB 3.0 phy present on Exynos 5250 SoC, to start using
> the phy driver based on generic phy framework.
> 
> Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
> ---
>  arch/arm/boot/dts/exynos5250.dtsi |   17 ++++++-----------
>  1 files changed, 6 insertions(+), 11 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
> index bbac42a..31a6595 100644
> --- a/arch/arm/boot/dts/exynos5250.dtsi
> +++ b/arch/arm/boot/dts/exynos5250.dtsi
> @@ -472,22 +472,17 @@
>  			compatible = "synopsys,dwc3";
>  			reg = <0x12000000 0x10000>;
>  			interrupts = <0 72 0>;
> -			usb-phy = <&usb2_phy &usb3_phy>;
> +			phys = <&usb3_phy>;
> +			phy-names = "usb3-phy";

Does the driver already support generic PHY framework?

Also it looks like originally it required two PHYs, while your patch
changes it to just one.

>  		};
>  	};
>  
>  	usb3_phy: usbphy@12100000 {
>  		compatible = "samsung,exynos5250-usb3phy";

Hmm, this is not fully right. The new bindings should have new compatible
value. This is also a comment to patch 1/1. This is because a device tree
binding associated with specific compatible value is an ABI and should not
be changed in a way that breaks backwards compatibility.

Best regards,
Tomasz


WARNING: multiple messages have this Message-ID (diff)
From: tomasz.figa@gmail.com (Tomasz Figa)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/4] dt: exynos5250: Enable support for generic USB 3.0 phy
Date: Sun, 10 Nov 2013 15:54:13 +0100	[thread overview]
Message-ID: <1538612.pj7iqCuQ7M@flatron> (raw)
In-Reply-To: <1383205544-32244-3-git-send-email-gautam.vivek@samsung.com>

Hi Vivek,

On Thursday 31 of October 2013 13:15:42 Vivek Gautam wrote:
> Update device tree bindings for DWC3 controller and
> USB 3.0 phy present on Exynos 5250 SoC, to start using
> the phy driver based on generic phy framework.
> 
> Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
> ---
>  arch/arm/boot/dts/exynos5250.dtsi |   17 ++++++-----------
>  1 files changed, 6 insertions(+), 11 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
> index bbac42a..31a6595 100644
> --- a/arch/arm/boot/dts/exynos5250.dtsi
> +++ b/arch/arm/boot/dts/exynos5250.dtsi
> @@ -472,22 +472,17 @@
>  			compatible = "synopsys,dwc3";
>  			reg = <0x12000000 0x10000>;
>  			interrupts = <0 72 0>;
> -			usb-phy = <&usb2_phy &usb3_phy>;
> +			phys = <&usb3_phy>;
> +			phy-names = "usb3-phy";

Does the driver already support generic PHY framework?

Also it looks like originally it required two PHYs, while your patch
changes it to just one.

>  		};
>  	};
>  
>  	usb3_phy: usbphy at 12100000 {
>  		compatible = "samsung,exynos5250-usb3phy";

Hmm, this is not fully right. The new bindings should have new compatible
value. This is also a comment to patch 1/1. This is because a device tree
binding associated with specific compatible value is an ABI and should not
be changed in a way that breaks backwards compatibility.

Best regards,
Tomasz

  reply	other threads:[~2013-11-10 14:54 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-31  7:45 [PATCH RFC 0/4] Add Exynos5 USB 3.0 phy driver based on generic PHY framework Vivek Gautam
2013-10-31  7:45 ` Vivek Gautam
2013-10-31  7:45 ` [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver Vivek Gautam
2013-10-31  7:45   ` Vivek Gautam
2013-10-31  7:45   ` Vivek Gautam
2013-11-04  6:54   ` Kishon Vijay Abraham I
2013-11-04  6:54     ` Kishon Vijay Abraham I
2013-11-04  6:54     ` Kishon Vijay Abraham I
2013-11-04 10:15     ` Kamil Debski
2013-11-04 10:15       ` Kamil Debski
2013-11-04 13:12       ` Kishon Vijay Abraham I
2013-11-04 13:12         ` Kishon Vijay Abraham I
2013-11-04 13:12         ` Kishon Vijay Abraham I
2013-11-05  7:20         ` Vivek Gautam
2013-11-05  7:20           ` Vivek Gautam
2013-11-05  9:34           ` Tomasz Figa
2013-11-05  9:34             ` Tomasz Figa
2013-11-05  9:36           ` Kamil Debski
2013-11-05  9:36             ` Kamil Debski
2013-11-05 11:12             ` Jingoo Han
2013-11-05 11:12               ` Jingoo Han
2013-11-05 12:03               ` Jingoo Han
2013-11-05 12:03                 ` Jingoo Han
2013-11-05 17:58                 ` Vivek Gautam
2013-11-05 17:58                   ` Vivek Gautam
2013-11-06  0:07                   ` Jingoo Han
2013-11-06  0:07                     ` Jingoo Han
2013-11-11 11:11                     ` Kishon Vijay Abraham I
2013-11-11 11:11                       ` Kishon Vijay Abraham I
2013-11-11 11:11                       ` Kishon Vijay Abraham I
2013-11-20  8:57                       ` Vivek Gautam
2013-11-20  8:57                         ` Vivek Gautam
2013-11-20  9:04                         ` Kishon Vijay Abraham I
2013-11-20  9:04                           ` Kishon Vijay Abraham I
2013-11-20  9:04                           ` Kishon Vijay Abraham I
2013-11-20  9:32                           ` Vivek Gautam
2013-11-20  9:32                             ` Vivek Gautam
2013-11-20 15:44                             ` Kishon Vijay Abraham I
2013-11-20 15:44                               ` Kishon Vijay Abraham I
2013-11-20 15:44                               ` Kishon Vijay Abraham I
     [not found]                               ` <528CD8EC.9050403-l0cyMroinI0@public.gmane.org>
2013-12-04 14:28                                 ` Kishon Vijay Abraham I
2013-12-04 14:28                                   ` Kishon Vijay Abraham I
2013-12-04 14:28                                   ` Kishon Vijay Abraham I
2013-12-05  8:14                                   ` Vivek Gautam
2013-12-05  8:14                                     ` Vivek Gautam
2013-12-24 17:45                                     ` Kishon Vijay Abraham I
2013-12-24 17:45                                       ` Kishon Vijay Abraham I
2013-12-24 17:45                                       ` Kishon Vijay Abraham I
2013-12-30  9:43                                       ` Vivek Gautam
2013-12-30  9:43                                         ` Vivek Gautam
2014-01-07  9:49                                         ` Kishon Vijay Abraham I
2014-01-07  9:49                                           ` Kishon Vijay Abraham I
2014-01-07  9:49                                           ` Kishon Vijay Abraham I
2014-01-07 11:03                                           ` Vivek Gautam
2014-01-07 11:03                                             ` Vivek Gautam
2014-01-07 11:03                                             ` Vivek Gautam
2014-01-20 13:45                                             ` Vivek Gautam
2014-01-20 13:45                                               ` Vivek Gautam
2013-11-05 17:56             ` Vivek Gautam
2013-11-05 17:56               ` Vivek Gautam
2013-11-04 12:26     ` Tomasz Figa
2013-11-04 12:26       ` Tomasz Figa
2013-11-04 13:09       ` Kishon Vijay Abraham I
2013-11-04 13:09         ` Kishon Vijay Abraham I
2013-11-04 13:09         ` Kishon Vijay Abraham I
     [not found]       ` <CAFp+6iG5SAe5h0-RRsBuAhtWO_NBW6G=7jQeObd4Y2BQGaRHyA@mail.gmail.com>
2013-11-05  7:12         ` Vivek Gautam
2013-11-05  7:12           ` Vivek Gautam
2013-11-10 14:08   ` Tomasz Figa
2013-11-10 14:08     ` Tomasz Figa
2013-11-20  8:44     ` Vivek Gautam
2013-11-20  8:44       ` Vivek Gautam
2013-11-20  8:55       ` Vivek Gautam
2013-11-20  8:55         ` Vivek Gautam
2013-11-21 12:26   ` Yuvaraj Cd
2013-11-21 12:26     ` Yuvaraj Cd
2013-10-31  7:45 ` [PATCH 2/4] dt: exynos5250: Enable support for generic USB 3.0 phy Vivek Gautam
2013-10-31  7:45   ` Vivek Gautam
2013-11-10 14:54   ` Tomasz Figa [this message]
2013-11-10 14:54     ` Tomasz Figa
2013-10-31  7:45 ` [PATCH 3/4] dt: exynos5420: Enable support for USB 3.0 PHY controller Vivek Gautam
2013-10-31  7:45   ` Vivek Gautam
2013-10-31  7:45 ` [PATCH 4/4] dt: exynos5420: Enable support for DWC3 controller Vivek Gautam
2013-10-31  7:45   ` Vivek Gautam

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=1538612.pj7iqCuQ7M@flatron \
    --to=tomasz.figa@gmail.com \
    --cc=balbi@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gautam.vivek@samsung.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jg1.han@samsung.com \
    --cc=jwerner@chromium.org \
    --cc=k.debski@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=s.nawrocki@samsung.com \
    --cc=t.figa@samsung.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.