Re: [PATCH v3 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-06 Thread Frank Wang
Hi Heiko & Mark, On 2016/6/6 20:33, Heiko Stübner wrote: Am Montag, 6. Juni 2016, 12:27:54 schrieb Mark Rutland: On Mon, Jun 06, 2016 at 05:20:03PM +0800, Frank Wang wrote: Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Changes in v3: - Added 'clocks' and 'clock-names

Re: [PATCH v3 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-06 Thread Frank Wang
Hi Heiko, On 2016/6/7 10:59, Frank Wang wrote: Hi Heiko & Mark, On 2016/6/6 20:33, Heiko Stübner wrote: Am Montag, 6. Juni 2016, 12:27:54 schrieb Mark Rutland: On Mon, Jun 06, 2016 at 05:20:03PM +0800, Frank Wang wrote: Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --

[PATCH v4 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-07 Thread Frank Wang
The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Changes in v4: - Remove

[PATCH v4 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-07 Thread Frank Wang
Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Changes in v4: - Used 'phy-supply' instead of 'vbus_*-supply'. Changes in v3: - Added 'clocks' and 'clock-names' optional properties. - Specified 'otg-port' and 'host-port' as the sub-node name. Changes in v2: - Changed vbu

[PATCH v4 0/2] Add a new Rockchip usb2 phy driver

2016-06-07 Thread Frank Wang
more hardware-description into the devicetree bindings. - Optimized some process of driver. Frank Wang (2): Documentation: bindings: add DT documentation for Rockchip USB2PHY phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy .../bindings/phy/phy-rockchip-inno-usb2.txt

Re: [PATCH v3 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-07 Thread Frank Wang
Hi Kishon & Heiko, On 2016/6/7 15:45, Kishon Vijay Abraham I wrote: Hi, On Tuesday 07 June 2016 09:01 AM, Frank Wang wrote: Hi Heiko, On 2016/6/7 10:59, Frank Wang wrote: Hi Heiko & Mark, On 2016/6/6 20:33, Heiko Stübner wrote: Am Montag, 6. Juni 2016, 12:27:54 schrieb Mark

[PATCH v3 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-06 Thread Frank Wang
Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Changes in v3: - Added 'clocks' and 'clock-names' optional properties. - Specified 'otg-port' and 'host-port' as the sub-node name. Changes in v2: - Changed vbus_host optional property from gpio to regulator. - Specified vb

[PATCH v3 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-06 Thread Frank Wang
The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Changes in v3: - Re

[PATCH v3 0/2] Add a new Rockchip usb2 phy driver

2016-06-06 Thread Frank Wang
. - Optimized some process of driver. Frank Wang (2): Documentation: bindings: add DT documentation for Rockchip USB2PHY phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy .../bindings/phy/phy-rockchip-inno-usb2.txt| 60 ++ drivers/phy/Kconfig

[PATCH v5 0/2] Add a new Rockchip usb2 phy driver

2016-06-12 Thread Frank Wang
defect between fixed value in driver and the property in devicetree. - Code cleanup. Changes in v2: - Specified more hardware-description into the devicetree bindings. - Optimized some process of driver. Frank Wang (2): Documentation: bindings: add DT documentation for Rockchip USB2PHY phy

[PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-12 Thread Frank Wang
The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Changes in v5: - Adde

[PATCH v5 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-12 Thread Frank Wang
Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Changes in v5: - Added 'reg' property to identify the different phy-blocks. Changes in v4: - Used 'phy-supply' instead of 'vbus_*-supply'. Changes in v3: - Added 'clocks' and 'clock-names' optional properties. - Specified 'ot

Re: [PATCH v4 0/2] Add a new Rockchip usb2 phy driver

2016-06-11 Thread Frank Wang
Hi Heiko, On 2016/6/8 22:33, Heiko Stübner wrote: Hi Frank, Am Dienstag, 7. Juni 2016, 17:15:52 schrieb Frank Wang: The newer SoCs (rk3366, rk3399) of Rock-chip take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so

Re: [PATCH v4 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-11 Thread Frank Wang
Hi Bob, On 2016/6/9 4:04, Rob Herring wrote: On Tue, Jun 07, 2016 at 05:15:53PM +0800, Frank Wang wrote: Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Changes in v4: - Used 'phy-supply' instead of 'vbus_*-supply'. Changes in v3: - Added 'clocks' and 'clock-names' op

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-14 Thread Frank Wang
Hi Heiko, On 2016/6/14 21:27, Heiko Stübner wrote: Am Montag, 13. Juni 2016, 10:10:10 schrieb Frank Wang: The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-15 Thread Frank Wang
Hi Heiko, On 2016/6/15 17:04, Heiko Stübner wrote: Hi Frank, Am Mittwoch, 15. Juni 2016, 11:23:26 schrieb Frank Wang: On 2016/6/14 21:27, Heiko Stübner wrote: Am Montag, 13. Juni 2016, 10:10:10 schrieb Frank Wang: The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288

Re: [v2, 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-05 Thread Frank Wang
Hi Guenter, On 2016/6/4 3:25, Guenter Roeck wrote: On Thu, Jun 02, 2016 at 02:48:09PM +0800, Frank Wang wrote: Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Changes in v2: - Changed vbus_host optional property from gpio to regulator. - Specified vbus_otg-supply op

Re: [v2, 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-05 Thread Frank Wang
Hi Guenter, On 2016/6/4 3:57, Guenter Roeck wrote: On Thu, Jun 02, 2016 at 02:48:10PM +0800, Frank Wang wrote: The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver

Re: [v2, 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-05 Thread Frank Wang
Hi Heiko & Guenter, On 2016/6/4 5:24, Heiko Stübner wrote: Am Freitag, 3. Juni 2016, 12:59:22 schrieb Guenter Roeck: On Thu, Jun 02, 2016 at 02:48:10PM +0800, Frank Wang wrote: The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-rel

[PATCH 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-05-31 Thread Frank Wang
Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 48 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt diff --git a/Documentation/devi

[PATCH v2 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-02 Thread Frank Wang
The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Changes in v2: - Changed vbu

[PATCH v2 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-02 Thread Frank Wang
Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Changes in v2: - Changed vbus_host optional property from gpio to regulator. - Specified vbus_otg-supply optional property. - Specified otg_id and otg_bvalid property. .../bindings/phy/phy-rockchip-inno-usb2.txt

[PATCH v2 0/2] Add a new Rockchip usb2 phy driver

2016-06-02 Thread Frank Wang
documentation. Changes in v2: - Specified more hardware-description into the devicetree bindings. - Optimized some process of driver. Frank Wang (2): Documentation: bindings: add DT documentation for Rockchip USB2PHY phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy .../bindings/phy

Re: [PATCH 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-01 Thread Frank Wang
Hi Heiko, On 06/02/2016 06:17 AM, Heiko Stübner wrote: Hi Frank, Am Mittwoch, 1. Juni 2016, 16:09:41 schrieb Frank Wang: You might want to add the bvalid and id interrupts for the otg phys as well already - would make handling legacy devicetree files easier. [= if they get specified later

Re: [PATCH 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-01 Thread Frank Wang
Hi Heiko, On 06/02/2016 07:46 AM, Heiko Stübner wrote: Hi Frank, Am Dienstag, 31. Mai 2016, 14:40:11 schrieb Frank Wang: The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy

Re: [PATCH 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-01 Thread Frank Wang
Hi Heiko, On 05/31/2016 05:02 PM, Heiko Stübner wrote: Hi Frank, Am Dienstag, 31. Mai 2016, 14:40:10 schrieb Frank Wang: Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 48 1 file changed, 48 inse

[PATCH 0/2] Add a new Rockchip usb2 phy driver

2016-05-31 Thread Frank Wang
documentation. Frank Wang (2): Documentation: bindings: add DT documentation for Rockchip USB2PHY phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy .../bindings/phy/phy-rockchip-inno-usb2.txt| 48 ++ drivers/phy/Kconfig|7 + drivers/phy

[PATCH 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-05-31 Thread Frank Wang
The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- drivers/phy/K

Re: [PATCH v6 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-21 Thread Frank Wang
Hi Heiko, On 2016/6/21 17:05, Heiko Stübner wrote: Hi Frank, Am Dienstag, 21. Juni 2016, 15:52:45 schrieb Frank Wang: On 2016/6/20 12:56, Guenter Roeck wrote: On Sun, Jun 19, 2016 at 8:32 PM, Frank Wang <frank.w...@rock-chips.com> wrote: Turns out my problem was one of terminology.

[PATCH v7 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-21 Thread Frank Wang
The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> Suggested-by: Heiko Stuebn

[PATCH v7 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-21 Thread Frank Wang
Signed-off-by: Frank Wang <frank.w...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> Reviewed-by: Heiko Stuebner <he...@sntech.de> --- Changes in v7: None Changes in v6: - Changed '_' to '-' for otg-id and otg-bvalid property. Changes in v5: - Added 'reg' pr

[PATCH v7 0/2] Add a new Rockchip usb2 phy driver

2016-06-21 Thread Frank Wang
process of driver. Frank Wang (2): Documentation: bindings: add DT documentation for Rockchip USB2PHY phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy .../bindings/phy/phy-rockchip-inno-usb2.txt| 64 ++ drivers/phy/Kconfig|7 + drivers

Re: [RFC PATCH v2 0/9] scpi: Add SCPI registry to handle legacy protocol

2016-06-21 Thread Frank Wang
Hi Neil, On 2016/6/21 18:02, Neil Armstrong wrote: This patchset aims to support the legacy SCPI firmware implementation that was delivered as early technology preview for the JUNO platform. Finally a stable, maintained and public implementation for the SCPI protocol has been upstreamed part

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-14 Thread Frank Wang
Hi Heiko & Guenter, On 2016/6/14 22:00, Heiko Stübner wrote: Am Dienstag, 14. Juni 2016, 06:50:31 schrieb Guenter Roeck: On Tue, Jun 14, 2016 at 6:27 AM, Heiko Stübner <he...@sntech.de> wrote: Am Montag, 13. Juni 2016, 10:10:10 schrieb Frank Wang: The newer SoCs (rk3366, rk

Re: [PATCH v5 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-14 Thread Frank Wang
Hi Heiko, On 2016/6/14 21:28, Heiko Stübner wrote: Am Montag, 13. Juni 2016, 10:38:39 schrieb Heiko Stübner: Am Montag, 13. Juni 2016, 10:10:09 schrieb Frank Wang: Signed-off-by: Frank Wang <frank.w...@rock-chips.com> looks really cool now, thanks for addressing all the review co

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-16 Thread Frank Wang
Hi Guenter, On 2016/6/16 21:12, Guenter Roeck wrote: On 06/15/2016 06:47 PM, Frank Wang wrote: Hi Guenter & Heiko, On 2016/6/15 23:47, Guenter Roeck wrote: On Tue, Jun 14, 2016 at 6:14 PM, Frank Wang <frank.w...@rock-chips.com> wrote: Hi Heiko & Guenter, On 2016/6/14 22:00,

[PATCH v6 0/2] Add a new Rockchip usb2 phy driver

2016-06-16 Thread Frank Wang
between fixed value in driver and the property in devicetree. - Code cleanup. Changes in v2: - Specified more hardware-description into the devicetree bindings. - Optimized some process of driver. Frank Wang (2): Documentation: bindings: add DT documentation for Rockchip USB2PHY phy

[PATCH v6 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-16 Thread Frank Wang
The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> Suggested-by: Guenter Roeck <li

[PATCH v6 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-16 Thread Frank Wang
Signed-off-by: Frank Wang <frank.w...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> Reviewed-by: Heiko Stuebner <he...@sntech.de> --- Changes in v6: - Changed '_' to '-' for otg-id and otg-bvalid property. Changes in v5: - Added 'reg' property to identify the di

Re: [PATCH v6 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-17 Thread Frank Wang
Hi Guenter, On 2016/6/17 12:59, Guenter Roeck wrote: On 06/16/2016 07:09 PM, Frank Wang wrote: The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required

Re: [PATCH v6 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-21 Thread Frank Wang
Hi Heiko, On 2016/6/20 12:56, Guenter Roeck wrote: Hi Frank, On Sun, Jun 19, 2016 at 8:32 PM, Frank Wang <frank.w...@rock-chips.com> wrote: Hi Heiko & Guenter, On 2016/6/20 11:00, Guenter Roeck wrote: On Sun, Jun 19, 2016 at 6:27 PM, Frank Wang <frank.w...@rock-chips.co

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-15 Thread Frank Wang
Hi Guenter & Heiko, On 2016/6/15 23:47, Guenter Roeck wrote: On Tue, Jun 14, 2016 at 6:14 PM, Frank Wang <frank.w...@rock-chips.com> wrote: Hi Heiko & Guenter, On 2016/6/14 22:00, Heiko Stübner wrote: Am Dienstag, 14. Juni 2016, 06:50:31 schrieb Guenter Roeck: On Tue, Jun 14

Re: [RFC PATCH v2 0/9] scpi: Add SCPI registry to handle legacy protocol

2016-06-23 Thread Frank Wang
Hi Neil & Caesar, On 2016/6/23 20:45, Neil Armstrong wrote: On 06/22/2016 04:54 AM, Frank Wang wrote: Hi Neil, On 2016/6/21 18:02, Neil Armstrong wrote: This patchset aims to support the legacy SCPI firmware implementation that was delivered as early technology preview for the JUNO plat

[PATCH v9 2/4] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-07-22 Thread Frank Wang
The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> Suggested-by: Heiko Stuebn

[PATCH v9 3/4] arm64: dts: rockchip: add usb2-phy support for rk3399

2016-07-22 Thread Frank Wang
Add usb2-phy nodes and specify phys phandle for ehci. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Changes in v9: - Move the usb gpio config to rk3399-evb.dts - Fix ehci phy-names property. arch/arm64/boot/dts/rockchip/rk3399.dtsi | 42 +-

[PATCH v9 4/4] arm64: dts: rockchip: configure usb2-phy support for rk3399-evb

2016-07-22 Thread Frank Wang
Add vcc5v0_host regulator for usb2-phy and enable host-port support. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- arch/arm64/boot/dts/rockchip/rk3399-evb.dts | 44 +++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/

[PATCH v9 0/4] Add a new Rockchip usb2 phy driver

2016-07-22 Thread Frank Wang
process of driver. Frank Wang (4): Documentation: bindings: add DT documentation for Rockchip USB2PHY phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy arm64: dts: rockchip: add usb2-phy support for rk3399 arm64: dts: rockchip: configure usb2-phy support for rk3399-evb

[PATCH v9 1/4] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-07-22 Thread Frank Wang
Signed-off-by: Frank Wang <frank.w...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> Reviewed-by: Heiko Stuebner <he...@sntech.de> --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - Changed '_' to '-' for otg-id and otg-bvalid proper

Re: [PATCH v8 3/3] arm64: dts: rockchip: add usb2-phy support for rk3399

2016-07-20 Thread Frank Wang
Hi Doug, On 2016/7/21 5:33, Doug Anderson wrote: Hi, On Tue, Jul 19, 2016 at 12:28 AM, Frank Wang <frank.w...@rock-chips.com> wrote: You need a patch description here, even for simple patches. All you have now is a subject. OK, I will describe it next version. Signed-off-by: Fran

Re: [PATCH v8 3/3] arm64: dts: rockchip: add usb2-phy support for rk3399

2016-07-21 Thread Frank Wang
Hi Heiko, On 2016/7/21 17:26, Heiko Stübner wrote: Hi Frank, Am Donnerstag, 21. Juli 2016, 10:49:53 schrieb Frank Wang: @@ -69,6 +69,15 @@ regulator-max-microvolt = <330>; }; + vbus_host: vbus-host-regulator { + comp

[PATCH v8 2/3] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-07-19 Thread Frank Wang
The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> Suggested-by: Heiko Stuebn

[PATCH v8 3/3] arm64: dts: rockchip: add usb2-phy support for rk3399

2016-07-19 Thread Frank Wang
Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- arch/arm64/boot/dts/rockchip/rk3399-evb.dts | 19 +++ arch/arm64/boot/dts/rockchip/rk3399.dtsi| 47 ++- 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ro

[PATCH v8 1/3] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-07-19 Thread Frank Wang
Signed-off-by: Frank Wang <frank.w...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> Reviewed-by: Heiko Stuebner <he...@sntech.de> --- Changes in v8: None Changes in v7: None Changes in v6: - Changed '_' to '-' for otg-id and otg-bvalid property. Changes in

[PATCH v8 0/3] Add a new Rockchip usb2 phy driver

2016-07-19 Thread Frank Wang
and the property in devicetree. - Code cleanup. Changes in v2: - Specified more hardware-description into the devicetree bindings. - Optimized some process of driver. Frank Wang (3): Documentation: bindings: add DT documentation for Rockchip USB2PHY phy: rockchip-inno-usb2: add a new

Re: [PATCH v7 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-07-18 Thread Frank Wang
Hi Heiko, On 2016/6/25 3:58, Heiko Stuebner wrote: Am Dienstag, 21. Juni 2016, 18:30:05 schrieb Frank Wang: The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver

Re: [PATCH] arm64: dts: rockchip: support the usb2phy for rk3399 evb

2016-07-11 Thread Frank Wang
Hi Heiko, On 2016/7/7 18:11, Heiko Stuebner wrote: Hi, Am Donnerstag, 7. Juli 2016, 12:46:40 schrieb Caesar Wang: From: Frank Wang <frank.w...@rock-chips.com> This patch adds the usb2phy needed dts node information for rk3399. USB2.0 PHY is comprised of one Host port and one OTG port

Re: [PATCH v3 2/7] clk: rockchip: rk3399: export 480M_SRC clock id for usbphy0/usbphy1

2016-08-05 Thread Frank Wang
Hi Heiko, On 2016/8/5 3:10, Heiko Stübner wrote: Hi Xing, Am Dienstag, 2. August 2016, 15:19:56 schrieb Xing Zheng: Export these source clocks for usbphy. Signed-off-by: Xing Zheng can you please provide a rationale why you need manual control over that

Re: [PATCH v3 2/7] clk: rockchip: rk3399: export 480M_SRC clock id for usbphy0/usbphy1

2016-08-08 Thread Frank Wang
Hi Heiko, On 2016/8/6 0:05, Heiko Stübner wrote: Hi Frank, Am Freitag, 5. August 2016, 16:34:42 schrieb Frank Wang: On 2016/8/5 3:10, Heiko Stübner wrote: Am Dienstag, 2. August 2016, 15:19:56 schrieb Xing Zheng: Export these source clocks for usbphy. Signed-off-by: Xing Zheng <zhe

Re: [PATCH v6 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-19 Thread Frank Wang
Hi Guenter, On 2016/6/17 21:20, Guenter Roeck wrote: Hi Frank, On 06/16/2016 11:43 PM, Frank Wang wrote: Hi Guenter, On 2016/6/17 12:59, Guenter Roeck wrote: On 06/16/2016 07:09 PM, Frank Wang wrote: The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before

Re: [PATCH v6 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-19 Thread Frank Wang
Hi Heiko & Guenter, On 2016/6/20 11:00, Guenter Roeck wrote: On Sun, Jun 19, 2016 at 6:27 PM, Frank Wang <frank.w...@rock-chips.com> wrote: Hi Guenter, On 2016/6/17 21:20, Guenter Roeck wrote: Hi Frank, On 06/16/2016 11:43 PM, Frank Wang wrote: Hi Guenter, On 2016/6/17 12:5

[PATCH] add COMMON_CLK dependency for rockchip-inno-usb2

2016-08-16 Thread Frank Wang
On kernel builds without COMMON_CLK, the newly added rockchip-inno-usb2 driver fails to build, and this adds the required Kconfig dependency to fix it. Frank Wang (1): phy: rockchip-inno-usb2: add COMMON_CLK dependency drivers/phy/Kconfig |1 + 1 file changed, 1 insertion(+) -- 1.7.9.5

[PATCH] phy: rockchip-inno-usb2: add COMMON_CLK dependency

2016-08-16 Thread Frank Wang
/phy-rockchip-inno-usb2.c:17: include/linux/kernel.h:831:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ... ... Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- drivers/ph

[RESEND PATCH 0/1] add COMMON_CLK dependency for rockchip-inno-usb2

2016-08-16 Thread Frank Wang
On kernel builds without COMMON_CLK, the newly added rockchip-inno-usb2 driver fails to build, and this adds the required Kconfig dependency to fix it. Frank Wang (1): phy: rockchip-inno-usb2: add COMMON_CLK dependency drivers/phy/Kconfig |1 + 1 file changed, 1 insertion(+) -- 1.7.9.5

[RESEND PATCH 1/1] phy: rockchip-inno-usb2: add COMMON_CLK dependency

2016-08-16 Thread Frank Wang
/phy-rockchip-inno-usb2.c:17: include/linux/kernel.h:831:48: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ... ... Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- drivers/ph

Re: [PATCH v3 2/7] clk: rockchip: rk3399: export 480M_SRC clock id for usbphy0/usbphy1

2016-08-16 Thread Frank Wang
Hi Heiko, On 2016/8/8 17:55, Frank Wang wrote: Hi Heiko, On 2016/8/6 0:05, Heiko Stübner wrote: Hi Frank, Am Freitag, 5. August 2016, 16:34:42 schrieb Frank Wang: On 2016/8/5 3:10, Heiko Stübner wrote: Am Dienstag, 2. August 2016, 15:19:56 schrieb Xing Zheng: Export these source clocks

Re: [RESEND PATCH 1/1] usb: dwc2: add multiple clock handling

2017-02-06 Thread Frank Wang
Hi Heiko, John and Greg, On 2017/2/7 8:06, Heiko Stuebner wrote: Hi Frank, Am Sonntag, 5. Februar 2017, 10:51:01 CET schrieb Frank Wang: Originally, dwc2 just handle one clock named otg, however, it may have two or more clock need to manage for some new SoCs, so this adds change clk to clk's

[RESEND PATCH 0/1] add multiple clock handling for dwc2 driver

2017-02-04 Thread Frank Wang
more clocks operation. Frank Wang (1): usb: dwc2: add multiple clock handling drivers/usb/dwc2/core.h | 5 - drivers/usb/dwc2/platform.c | 39 ++- 2 files changed, 30 insertions(+), 14 deletions(-) -- 1.9.1

[RESEND PATCH 1/1] usb: dwc2: add multiple clock handling

2017-02-04 Thread Frank Wang
Originally, dwc2 just handle one clock named otg, however, it may have two or more clock need to manage for some new SoCs, so this adds change clk to clk's array of dwc2_hsotg to handle more clocks operation. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- drivers/usb/dwc2/

[PATCH v2 1/2] Documentation: dt: dwc2: amend clocks property

2017-02-08 Thread Frank Wang
Move 'clocks' to optional properties since not every platform is going to need to specify it and add pmu/utmi/ulpi/utmifs optional clocks into 'clock-names' list. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Documentation/devicetree/bindings/usb/dwc2.txt | 13 ++---

[PATCH v2 2/2] usb: dwc2: add multiple clocks handling

2017-02-08 Thread Frank Wang
Since dwc2 may have one or more input clocks need to manage for some platform, so this adds change clk to clk's array of struct dwc2_hsotg to handle more clocks operation. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- drivers/usb/dwc2/core.h | 5 - drivers/us

[PATCH v2 0/2] add multiple clock handling for dwc2 driver

2017-02-08 Thread Frank Wang
DWC2_MAX_CLKS to 5 and amend commit message. Frank Wang (2): Documentation: dt: dwc2: amend clocks property usb: dwc2: add multiple clocks handling Documentation/devicetree/bindings/usb/dwc2.txt | 13 +++-- drivers/usb/dwc2/core.h| 5 +++- drivers/usb/dwc2

Re: [RESEND PATCH 0/1] add multiple clock handling for dwc2 driver

2017-02-05 Thread Frank Wang
Hi Heiko, On 2017/2/5 17:41, Heiko Stuebner wrote: Hi Frank, Am Sonntag, 5. Februar 2017, 10:51:00 CET schrieb Frank Wang: The original posting on Jan 19th have not received any responses, so I resend them. The Current default dwc2 just handle one clock named otg, however, it may have two

Re: [RESEND PATCH 0/1] add multiple clock handling for dwc2 driver

2017-02-05 Thread Frank Wang
Sorry to reformat the graph. On 2017/2/6 9:40, Frank Wang wrote: Hi Heiko, On 2017/2/5 17:41, Heiko Stuebner wrote: Hi Frank, Am Sonntag, 5. Februar 2017, 10:51:00 CET schrieb Frank Wang: The original posting on Jan 19th have not received any responses, so I resend them. The Current

Re: [RESEND PATCH v2 0/2] add multiple clock handling for dwc2 driver

2017-02-21 Thread Frank Wang
Hi John and Greg, Friendly ping... :-) On 2017/2/10 11:06, Frank Wang wrote: Resend this series to involve device tree maintainer and add 'Reviewed-by' tag for driver. The Current default dwc2 just handle one clock named otg, however, it may have two or more clock need to manage for some new

[RESEND PATCH v2 2/2] usb: dwc2: add multiple clocks handling

2017-02-09 Thread Frank Wang
Since dwc2 may have one or more input clocks need to manage for some platform, so this adds change clk to clk's array of struct dwc2_hsotg to handle more clocks operation. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> Reviewed-by: Heiko Stuebner <he...@sntech.de> --- driv

[RESEND PATCH v2 0/2] add multiple clock handling for dwc2 driver

2017-02-09 Thread Frank Wang
to handle more clocks operation. Changes in v2: - amend dwc2 clocks property in DT. - change DWC2_MAX_CLKS to 5 and amend commit message. Frank Wang (2): Documentation: dt: dwc2: amend clocks property usb: dwc2: add multiple clocks handling Documentation/devicetree/bindings/usb/dwc2.txt | 13

[RESEND PATCH v2 1/2] Documentation: dt: dwc2: amend clocks property

2017-02-09 Thread Frank Wang
Move 'clocks' to optional properties since not every platform is going to need to specify it and add pmu/utmi/ulpi/utmifs optional clocks into 'clock-names' list. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Documentation/devicetree/bindings/usb/dwc2.txt | 13 ++---

[PATCH 1/1] usb: dwc2: add multiple clock handling

2017-01-19 Thread Frank Wang
Originally, dwc2 just handle one clock named otg, however, it may have two or more clock need to manage for some new SoCs, so this adds change clk to clk's array of dwc2_hsotg to handle more clocks operation. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- drivers/usb/dwc2/

[PATCH 0/1] add multiple clock handling for dwc2 driver

2017-01-19 Thread Frank Wang
The Current default dwc2 just handle one clock named otg, however, it may have two or more clock need to manage for some new SoCs(such as RK3328), so this adds change clk to clk's array of dwc2_hsotg to handle more clocks operation. Frank Wang (1): usb: dwc2: add multiple clock handling

Re: [PATCH v9 4/4] arm64: dts: rockchip: configure usb2-phy support for rk3399-evb

2016-08-17 Thread Frank Wang
On 2016/8/17 18:02, Heiko Stübner wrote: Am Freitag, 22. Juli 2016, 15:00:46 schrieb Frank Wang: Add vcc5v0_host regulator for usb2-phy and enable host-port support. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> applied to ny dts64 branch [0] with some changes: - the pin is

Re: [PATCH 3/3] arm64: dts: rockchip: add clk-480m for ehci and ohci of rk3399

2016-12-14 Thread Frank Wang
Hi Brain, Doug and Heiko, I would like to summarize why this story was constructed. The ehci/ohci-platform suspend process are blocked due to UTMI clock which directly output from usb-phy has been disabled, and why the UTMI clock was disabled? UTMI clock and 480m clock all output from the

Re: [PATCH v2 2/2] usb: dwc2: add multiple clocks handling

2017-04-17 Thread Frank Wang
Hi John, I apologize if this was presumptuous, would you like to have a look this series please? On 2017/3/28 21:49, Felipe Balbi wrote: Hi, Heiko Stübner <he...@sntech.de> writes: Am Donnerstag, 9. Februar 2017, 10:44:39 CET schrieb Frank Wang: Since dwc2 may have one or more

[PATCH 2/3] phy: rockchip-inno-usb2: add otg mux irq quirk

2017-08-01 Thread Frank Wang
The otg-id/otg-bvalid/linestate irqs are multiplexed to one irq in otg-port on some Rockchip SoC (e.g RV1108), this patch add a quirk to support this mux irq feature. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 5 ++ drive

[PATCH 1/3] phy: rockchip-inno-usb2: add companion grf quirk

2017-08-01 Thread Frank Wang
The registers of usb-phy are distributed in grf and usbgrf on some Rockchip SoCs (e.g RV1108), this patch add a quirk to support this companion grf design. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 4 + drivers/phy/ro

[PATCH 0/3] add some quirks for Rockchip usb2-phy and add rv1108 SoCs' support

2017-08-01 Thread Frank Wang
These series of patches add companion_grf_quirk and otg_mux_irq_quirk for rockchip usb2-phy. In addition, this change also add rv1108 usb2-phy support. Frank Wang (3): phy: rockchip-inno-usb2: add companion grf quirk phy: rockchip-inno-usb2: add otg mux irq quirk phy: rockchip-inno-usb2

[PATCH 3/3] phy: rockchip-inno-usb2: add support of usb2-phy for rv1108 SoCs

2017-08-01 Thread Frank Wang
This adds support usb2-phy for rv1108 SoCs and amend phy Documentation. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 43 ++ 2 files chang

[PATCH v2 1/5] phy: rockchip-inno-usb2: add companion grf quirk

2017-08-02 Thread Frank Wang
The registers of usb-phy are distributed in grf and usbgrf on some Rockchip SoCs (e.g RV1108), this patch add a quirk to support this companion grf design. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 112 +--

[PATCH v2 4/5] dt-bindings: phy-rockchip-inno-usb2: add otg mux irq quirk

2017-08-02 Thread Frank Wang
Add rockchip,otg_mux_irq_quirk property to support the otg-id/ otg-bvalid/linestate irqs that are multiplexed to one irq in otg-port on some special Rockchip SoCs (e.g RV1108). Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Documentation/devicetree/bindings/phy/phy-rockchip-inn

[PATCH v2 3/5] phy: rockchip-inno-usb2: add otg mux irq quirk

2017-08-02 Thread Frank Wang
The otg-id/otg-bvalid/linestate irqs are multiplexed to one irq in otg-port on some Rockchip SoCs (e.g RV1108), this patch add a quirk to support this mux irq feature. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- drivers/phy/rockchip/phy-rockchip-inno-usb2.

[PATCH v2 2/5] dt-bindings: phy-rockchip-inno-usb2: add companion grf quirk

2017-08-02 Thread Frank Wang
Add rockchip,usbgrf and rockchip,companion_grf_quirk to support the registers of usb-phy that are distributed in grf and usbgrf on some special Rockchip SoCs (e.g RV1108). Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-us

[PATCH v2 5/5] phy: rockchip-inno-usb2: add support of usb2-phy for rv1108 SoCs

2017-08-02 Thread Frank Wang
This adds support usb2-phy for rv1108 SoCs and amend phy Documentation. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 43 ++ 2 files chang

[PATCH v2 0/5] add some quirks for Rockchip usb2-phy and add rv1108 SoCs' support

2017-08-02 Thread Frank Wang
These series of patches add companion_grf_quirk and otg_mux_irq_quirk for rockchip usb2-phy. In addition, this change also add rv1108 usb2-phy support. Changes from v1: - Send the dt-bindings as a separate patch and cc devicetree list. Frank Wang (5): phy: rockchip-inno-usb2: add companion

Re: [PATCH 1/3] phy: rockchip-inno-usb2: add companion grf quirk

2017-08-02 Thread Frank Wang
Hi Kishon, On 2017/8/2 13:03, Kishon Vijay Abraham I wrote: Hi, On Tuesday 01 August 2017 01:42 PM, Frank Wang wrote: The registers of usb-phy are distributed in grf and usbgrf on some Rockchip SoCs (e.g RV1108), this patch add a quirk to support this companion grf design. Signed-off

Re: [PATCH v2 4/5] dt-bindings: phy-rockchip-inno-usb2: add otg mux irq quirk

2017-08-02 Thread Frank Wang
Hi Heiko, On 2017/8/2 19:25, Heiko Stübner wrote: Hi Frank, Am Mittwoch, 2. August 2017, 15:53:09 CEST schrieb Frank Wang: Add rockchip,otg_mux_irq_quirk property to support the otg-id/ otg-bvalid/linestate irqs that are multiplexed to one irq in otg-port on some special Rockchip SoCs (e.g

[PATCH v3 0/5] add some quirks for Rockchip usb2-phy and add rv1108 SoCs' support

2017-08-03 Thread Frank Wang
as a separate patch and cc devicetree list. Frank Wang (5): phy: rockchip-inno-usb2: add companion grf quirk dt-bindings: phy-rockchip-inno-usb2: add companion grf quirk phy: rockchip-inno-usb2: add support for otg-mux interrupt dt-bindings: phy-rockchip-inno-usb2: add otg-mux interrupt phy

[PATCH v3 4/5] dt-bindings: phy-rockchip-inno-usb2: add otg-mux interrupt

2017-08-03 Thread Frank Wang
Add otg-mux property to support multiplexed interrupt in otg-port on some Rockchip SoC (e.g RV1108). Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[PATCH v3 1/5] phy: rockchip-inno-usb2: add companion grf quirk

2017-08-03 Thread Frank Wang
The registers of usb-phy are distributed in grf and usbgrf on some Rockchip SoCs (e.g RV1108), this patch add a quirk to support this companion grf design. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 112 +--

[PATCH v3 2/5] dt-bindings: phy-rockchip-inno-usb2: add companion grf quirk

2017-08-03 Thread Frank Wang
Add rockchip,usbgrf and rockchip,companion_grf_quirk to support the registers of usb-phy that are distributed in grf and usbgrf on some special Rockchip SoCs (e.g RV1108). Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-us

[PATCH v3 3/5] phy: rockchip-inno-usb2: add support for otg-mux interrupt

2017-08-03 Thread Frank Wang
The otg-id/otg-bvalid/linestate interrupts are multiplexed together in otg-port on some Rockchip SoC (e.g RV1108), this patch add support for it. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 63 +--

[PATCH v3 5/5] phy: rockchip-inno-usb2: add support of usb2-phy for rv1108 SoCs

2017-08-03 Thread Frank Wang
This adds support usb2-phy for rv1108 SoCs and amend phy Documentation. Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 43 ++ 2 files chang

  1   2   3   4   >