Re: [PATCH v2 2/4] dt: exynos5250: Enable support for generic USB 3.0 phy

2013-12-05 Thread Vivek Gautam
Hi,


On Wed, Dec 4, 2013 at 6:20 PM, Bartlomiej Zolnierkiewicz
 wrote:
>
> Hi,
>
> Does the old phy-samsung-usb3 driver currently work on Exynos5250?  If yes,
> then this patch should be merged with patch #1 to preserve bisectability.

Yes, the old phy-samsung-usb3 driver works well on Exynos5250 currently.
Ok, will merge it with patch #1
[PATCH v2 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

Thanks for pointing out.

>
> Best regards,
> --
> Bartlomiej Zolnierkiewicz
> Samsung R&D Institute Poland
> Samsung Electronics
>
> On Wednesday, December 04, 2013 03:39:05 PM 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 
>> ---
>>  arch/arm/boot/dts/exynos5250.dtsi |   16 ++--
>>  1 files changed, 6 insertions(+), 10 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/exynos5250.dtsi 
>> b/arch/arm/boot/dts/exynos5250.dtsi
>> index 9db5047..7444717 100644
>> --- a/arch/arm/boot/dts/exynos5250.dtsi
>> +++ b/arch/arm/boot/dts/exynos5250.dtsi
>> @@ -475,22 +475,18 @@
>>   compatible = "synopsys,dwc3";
>>   reg = <0x1200 0x1>;
>>   interrupts = <0 72 0>;
>> - usb-phy = <&usb2_phy &usb3_phy>;
>> + phys = <&usb3_phy>;
>> + phy-names = "usb3-phy";
>>   };
>>   };
>>
>>   usb3_phy: usbphy@1210 {
>>   compatible = "samsung,exynos5250-usb3phy";
>>   reg = <0x1210 0x100>;
>> - clocks = <&clock 1>, <&clock 286>;
>> - clock-names = "ext_xtal", "usbdrd30";
>> - #address-cells = <1>;
>> - #size-cells = <1>;
>> - ranges;
>> -
>> - usbphy-sys {
>> - reg = <0x10040704 0x8>;
>> - };
>> + clocks = <&clock 286>, <&clock 1>;
>> + clock-names = "phy", "usb3phy_refclk";
>> + samsung,syscon-phandle = <&pmu_syscon>;
>> + #phy-cells = <0>;
>>   };
>>
>>   usb@1211 {
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Best Regards
Vivek Gautam
Samsung R&D Institute, Bangalore
India
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v2 2/4] dt: exynos5250: Enable support for generic USB 3.0 phy

2013-12-04 Thread Bartlomiej Zolnierkiewicz

Hi,

Does the old phy-samsung-usb3 driver currently work on Exynos5250?  If yes,
then this patch should be merged with patch #1 to preserve bisectability.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

On Wednesday, December 04, 2013 03:39:05 PM 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 
> ---
>  arch/arm/boot/dts/exynos5250.dtsi |   16 ++--
>  1 files changed, 6 insertions(+), 10 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/exynos5250.dtsi 
> b/arch/arm/boot/dts/exynos5250.dtsi
> index 9db5047..7444717 100644
> --- a/arch/arm/boot/dts/exynos5250.dtsi
> +++ b/arch/arm/boot/dts/exynos5250.dtsi
> @@ -475,22 +475,18 @@
>   compatible = "synopsys,dwc3";
>   reg = <0x1200 0x1>;
>   interrupts = <0 72 0>;
> - usb-phy = <&usb2_phy &usb3_phy>;
> + phys = <&usb3_phy>;
> + phy-names = "usb3-phy";
>   };
>   };
>  
>   usb3_phy: usbphy@1210 {
>   compatible = "samsung,exynos5250-usb3phy";
>   reg = <0x1210 0x100>;
> - clocks = <&clock 1>, <&clock 286>;
> - clock-names = "ext_xtal", "usbdrd30";
> - #address-cells = <1>;
> - #size-cells = <1>;
> - ranges;
> -
> - usbphy-sys {
> - reg = <0x10040704 0x8>;
> - };
> + clocks = <&clock 286>, <&clock 1>;
> + clock-names = "phy", "usb3phy_refclk";
> + samsung,syscon-phandle = <&pmu_syscon>;
> + #phy-cells = <0>;
>   };
>  
>   usb@1211 {

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH v2 2/4] dt: exynos5250: Enable support for generic USB 3.0 phy

2013-12-04 Thread Vivek Gautam
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 
---
 arch/arm/boot/dts/exynos5250.dtsi |   16 ++--
 1 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/arch/arm/boot/dts/exynos5250.dtsi 
b/arch/arm/boot/dts/exynos5250.dtsi
index 9db5047..7444717 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -475,22 +475,18 @@
compatible = "synopsys,dwc3";
reg = <0x1200 0x1>;
interrupts = <0 72 0>;
-   usb-phy = <&usb2_phy &usb3_phy>;
+   phys = <&usb3_phy>;
+   phy-names = "usb3-phy";
};
};
 
usb3_phy: usbphy@1210 {
compatible = "samsung,exynos5250-usb3phy";
reg = <0x1210 0x100>;
-   clocks = <&clock 1>, <&clock 286>;
-   clock-names = "ext_xtal", "usbdrd30";
-   #address-cells = <1>;
-   #size-cells = <1>;
-   ranges;
-
-   usbphy-sys {
-   reg = <0x10040704 0x8>;
-   };
+   clocks = <&clock 286>, <&clock 1>;
+   clock-names = "phy", "usb3phy_refclk";
+   samsung,syscon-phandle = <&pmu_syscon>;
+   #phy-cells = <0>;
};
 
usb@1211 {
-- 
1.7.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html