[PATCH v3 0/3] add support of usb2-phy for rk3328

2017-03-05 Thread Meng Dongyang
/rockchip/grf.txt - add otg port config information of rk3328 Changes in v3: - remove tuning function and id pin configs - delete example of usb2-phy grf in grf.txt Meng Dongyang (3): dt-bindings: phy: add assign clock property in usb2-phy node dt-bindings: phy: add DT bindings for usb2-phy grf

[PATCH v3 3/3] phy: rockchip-inno-usb2: add support of usb2-phy for rk3328

2017-03-05 Thread Meng Dongyang
Add usb2-phy config information in the data of match table for rk3328. Changes in v2: - add support of otg port Changes in v3: - remove tuning function and id pin configs Signed-off-by: Meng Dongyang --- drivers/phy/phy-rockchip-inno-usb2.c | 44 1 file

[PATCH v3 2/3] dt-bindings: phy: add DT bindings for usb2-phy grf

2017-03-05 Thread Meng Dongyang
Adds the device tree bindings description for usb2-phy grf of RK3328 platform. Changes in v2: - add usb2-phy grf specification Chagnes in v3: - remove the example of usb2-phy grf Signed-off-by: Meng Dongyang --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 4 1 file changed

[PATCH v3 1/3] dt-bindings: phy: add assign clock property in usb2-phy node

2017-03-05 Thread Meng Dongyang
: None Signed-off-by: Meng Dongyang --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt index

[PATCH 2/2] phy: rockchip-inno-usb2: add support of u2phy for rk3328

2017-03-01 Thread Meng Dongyang
Add u2phy config information in the data of match table for rk3328. Signed-off-by: Meng Dongyang --- drivers/phy/phy-rockchip-inno-usb2.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/phy/phy-rockchip-inno-usb2.c b/drivers/phy/phy-rockchip-inno-usb2.c index

[PATCH 1/2] Documentation: bindings: add DT documentation for u2phy and u2phy grf

2017-03-01 Thread Meng Dongyang
-clock-parents to assign parent for 480m clock. Signed-off-by: Meng Dongyang --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 47 ++ 1 file changed, 47 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt b/Documentation

[PATCH 0/2] add support of u2phy for rk3328

2017-03-01 Thread Meng Dongyang
The config information of RK3328 about address and port property is different from before platform. So add config information in the data of match table and documentation of the device tree bindings of u2phy. Meng Dongyang (2): Documentation: bindings: add DT documentation for u2phy and u2phy

[RESEND PATCH 0/2] add support of u2phy for rk3328

2017-03-01 Thread Meng Dongyang
Resend this series to involve maintainer of phy documentation The config information of RK3328 about address and port property is different from before platform. So add config information in the data of match table and documentation of the device tree bindings of u2phy. Meng Dongyang (2

[RESEND PATCH 1/2] Documentation: bindings: add DT documentation for u2phy and u2phy grf

2017-03-01 Thread Meng Dongyang
-clock-parents to assign parent for 480m clock. Signed-off-by: Meng Dongyang --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 47 ++ 1 file changed, 47 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt b/Documentation

[RESEND PATCH 2/2] phy: rockchip-inno-usb2: add support of u2phy for rk3328

2017-03-01 Thread Meng Dongyang
Add u2phy config information in the data of match table for rk3328. Signed-off-by: Meng Dongyang --- drivers/phy/phy-rockchip-inno-usb2.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/phy/phy-rockchip-inno-usb2.c b/drivers/phy/phy-rockchip-inno-usb2.c index

[PATCH v2 0/3] add support of u2phy for rk3328

2017-03-01 Thread Meng Dongyang
/grf.txt - add otg port config information of rk3328 Meng Dongyang (3): Documentation: bindings: add assign clock property in u2phy node Documentation: bindings: add DT documentation for u2phy and u2phy grf phy: rockchip-inno-usb2: add support of u2phy for rk3328 .../bindings/phy/phy

[PATCH v2 3/3] phy: rockchip-inno-usb2: add support of u2phy for rk3328

2017-03-01 Thread Meng Dongyang
Add u2phy config information in the data of match table for rk3328. Changes in v2: - add support of otg port Signed-off-by: Meng Dongyang --- drivers/phy/phy-rockchip-inno-usb2.c | 52 1 file changed, 52 insertions(+) diff --git a/drivers/phy/phy-rockchip

[PATCH v2 2/3] Documentation: bindings: add DT documentation for u2phy and u2phy grf

2017-03-01 Thread Meng Dongyang
Due to the u2phy registers are separated from general grf, we need to add u2phy grf node and place u2phy node in it. So this patch add u2phy grf node. Changes in v2: - add u2phy grf specification Signed-off-by: Meng Dongyang --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 15

[PATCH v2 1/3] Documentation: bindings: add assign clock property in u2phy node

2017-03-01 Thread Meng Dongyang
On some platform such as RK3328, the 480m clock may need to assign clock parent in dts in stead of clock driver. So this patch add property of assigned-clocks and assigned-clock-parents to assign parent for 480m clock. Changes in v2: - move u2phy grf specification to grf.txt Signed-off-by: Meng

[PATCH] usb: dwc2: skip L2 state of hcd if work in device mode

2017-07-23 Thread Meng Dongyang
The gadget may fail to enqueue request if the controller has enter L2 state. This patch prevent enter L2 state in hcd driver if the controller works in device mode. Meng Dongyang (1): usb: dwc2: skip L2 state of hcd if controller work in device mode drivers/usb/dwc2/hcd.c | 6 ++ 1 file

[PATCH] usb: dwc2: skip L2 state of hcd if controller work in device mode

2017-07-23 Thread Meng Dongyang
global state into L2. This patch prevent the hcd enter L2 state if the controller work in device mode. Signed-off-by: Meng Dongyang --- drivers/usb/dwc2/hcd.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c index 740c7e8..c263114 100644 --- a

[PATCH v2] usb: dwc2: skip L2 state of hcd if controller work in device mode

2017-08-08 Thread Meng Dongyang
global state into L2. This patch prevent the hcd enter L2 state if the controller work in device mode. Signed-off-by: Meng Dongyang --- Changes in v2:None drivers/usb/dwc2/hcd.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c index 740c7e8

[PATCH v2] usb: dwc2: skip L2 state of hcd if work in device mode

2017-08-08 Thread Meng Dongyang
The gadget may fail to enqueue request if the controller has enter L2 state. This patch prevent enter L2 state in hcd driver if the controller works in device mode. Change in v2:None, resend to addition maintainer Meng Dongyang (1): usb: dwc2: skip L2 state of hcd if controller work in device