[PATCH 4/4] phy: rockchip-inno-usb2: add support of usb2-phy for rk322x SoCs

2017-05-17 Thread Frank Wang
This adds support usb2-phy for rk322x SoCs and amend phy Documentation. Signed-off-by: Frank Wang --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/phy-rockchip-inno-usb2.c | 60 ++ 2 files changed, 61 insertions(+) diff --git a/Documen

[PATCH 1/4] phy: rockchip-inno-usb2: add a delay after phy resume

2017-05-17 Thread Frank Wang
From: William Wu When resume phy, it need about 1.5 ~ 2ms to wait for utmi_clk which used for USB controller to become stable. Signed-off-by: William Wu Signed-off-by: Frank Wang --- drivers/phy/phy-rockchip-inno-usb2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/phy-ro

[PATCH 3/4] phy: rockchip-inno-usb2: add one phy comprises with two host-ports support

2017-05-17 Thread Frank Wang
From: William Wu At the current rockchip-inno-usb2 phy driver framework, it can only support usb2-phy which comprises with one otg-port and one host-port. However, some Rockchip SoCs' (e.g RK3228, RK3229) usb2-phy comprises with two host-ports, so we use index of otg id for one host-port configu

[PATCH 2/4] phy: rockchip-inno-usb2: increase otg sm work first schedule time

2017-05-17 Thread Frank Wang
From: William Wu In rockchip-inno-usb2 phy driver, we use otg_sm_work to dynamically manage power consumption for phy otg-port. If the otg-port works as peripheral mode and does not communicate with usb host, we will suspend phy. But once suspend phy, the phy no longer has any internal clock run

Re: [PATCH] tracing: Make sure RCU is watching before calling a stack trace

2017-05-17 Thread Paul E. McKenney
On Wed, May 17, 2017 at 10:08:45PM -0400, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > As stack tracing now requires "rcu watching", force RCU to be watching when > recording a stack trace. > > Link: http://lkml.kernel.org/r/20170512172449.879684...@goodmis.org > > Cc: "Paul E

Re: [PATCH 3/3] arm: dts: rk322x: add watchdog device node.

2017-05-17 Thread Frank Wang
Hi, Sorry, I forgot to declare that this change required below patch on patchwork. https://patchwork.kernel.org/patch/9703945/ BR. Frank On 2017/5/18 11:18, kbuild test robot wrote: Hi Frank, [auto build test ERROR on rockchip/for-next] [also build test ERROR on v4.12-rc1 next-20170517

Re: [RFC][PATCH 0/5] perf/tracing/cpuhotplug: Fix locking order

2017-05-17 Thread Paul E. McKenney
On Wed, May 17, 2017 at 07:55:20AM -0700, Paul E. McKenney wrote: > On Wed, May 17, 2017 at 12:40:10PM +0200, Peter Zijlstra wrote: > > On Tue, May 16, 2017 at 07:27:42AM -0700, Paul E. McKenney wrote: > > > On Tue, May 16, 2017 at 05:46:06AM -0700, Paul E. McKenney wrote: [ . . . ] > > > > With

[PATCH v3 1/6] dt-bindings: clock: sunxi-ccu: Add compatible string for A83T CCU

2017-05-17 Thread Chen-Yu Tsai
The A83T clock control unit is a hybrid of some new style clock designs from the A80, and old style layout from the other Allwinner SoCs. Like the A80, the SoC does not have a low speed 32.768 kHz oscillator. Unlike the A80, there is no clock input either. The only low speed clock available is the

[PATCH v3 5/6] ARM: sun8i: a83t: Set clock accuracy for 24MHz oscillator

2017-05-17 Thread Chen-Yu Tsai
The datasheets for Allwinner SoCs set strict requirements on the stability of the external crystal oscillators. Add the accuracy for the main 24MHz oscillator to the device tree. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH v3 6/6] ARM: sun8i: a83t: Switch to CCU device tree binding macros

2017-05-17 Thread Chen-Yu Tsai
Now that the CCU device tree binding headers have been merged, we can use the properly named macros in the device tree, instead of raw numbers. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/

[PATCH v3 0/6] clk: sunxi-ng: Add support for A83T CCU

2017-05-17 Thread Chen-Yu Tsai
Hi everyone, This is v3 of my A83T CCU series. This is for 4.13. Changes since v2: - Dropped patches "clk: Provide option to query hardware for clk phase" and "clk: sunxi-ng: Add class of phase clocks supporting MMC new timing modes". - Dropped support for MMC new timing mode. T

[PATCH v3 4/6] ARM: sun8i: a83t: Add CCU device nodes

2017-05-17 Thread Chen-Yu Tsai
Now that we have support for the A83T CCU, add a device node for it, and replace any existing placeholder clock phandles with the correct ones. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/a

[PATCH v3 3/6] clk: sunxi-ng: Add driver for A83T CCU

2017-05-17 Thread Chen-Yu Tsai
The A83T clock control unit is a hybrid of some new style clock designs from the A80, and old style layout from the other Allwinner SoCs. Like the A80, the SoC does not have a low speed 32.768 kHz oscillator. Unlike the A80, there is no clock input either. The only low speed clock available is the

<    5   6   7   8   9   10