Re: [PATCH v5 3/5] thermal: streamline get_trend callbacks

2016-06-07 Thread Caesar Wang
On 2016年06月07日 14:14, Keerthy wrote: On Monday 06 June 2016 05:14 PM, Caesar Wang wrote: From: Sascha Hauer The .get_trend callback in struct thermal_zone_device_ops has the prototype: int (*get_trend) (struct thermal_zone_device *, int, enum thermal_trend *); whereas the .get_trend

[PATCH v2 4/4] arm64: dts: rockchip: add rktimer device node for rk3399

2016-06-06 Thread Caesar Wang
ed-by: Jianqun Xu <jay...@rock-chips.com> Signed-off-by: Caesar Wang <w...@rock-chips.com> --- Changes in v2: - %s/ARM64/arm64. arch/arm64/boot/dts/rockchip/rk3399.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/b

[PATCH v2 4/4] arm64: dts: rockchip: add rktimer device node for rk3399

2016-06-06 Thread Caesar Wang
From: Huang Tao Select rktimer0 as broadcast timer. Signed-off-by: Huang Tao Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Heiko Stuebner Tested-by: Jianqun Xu Signed-off-by: Caesar Wang --- Changes in v2: - %s/ARM64/arm64. arch/arm64/boot/dts/rockchip/rk3399.dtsi | 8 1 file

[PATCH v2 2/4] clocksource: rockchip: add dynamic irq flag to the timer

2016-06-06 Thread Caesar Wang
l Lezcano <daniel.lezc...@linaro.org> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Heiko Stuebner <he...@sntech.de> Tested-by: Jianqun Xu <jay...@rock-chips.com> Signed-off-by: Caesar Wang <w...@rock-chips.com> --- Changes in v2: - s/cpu_all_mask/cpu_possible_mask/, As Dan

[PATCH v2 2/4] clocksource: rockchip: add dynamic irq flag to the timer

2016-06-06 Thread Caesar Wang
Xu Signed-off-by: Caesar Wang --- Changes in v2: - s/cpu_all_mask/cpu_possible_mask/, As Daniel comments on https://patchwork.kernel.org/patch/9135053/. drivers/clocksource/rockchip_timer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/rockchip_

[PATCH v2 3/4] clocksource: rockchip: add support for rk3399 SoC

2016-06-06 Thread Caesar Wang
l Lezcano <daniel.lezc...@linaro.org> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Heiko Stuebner <he...@sntech.de> Tested-by: Jianqun Xu <jay...@rock-chips.com> Signed-off-by: Caesar Wang <w...@rock-chips.com> --- Changes in v2: - As the Daniel su

[PATCH v2 1/4] dt-bindings: document rk3399 rk-timer bindings

2016-06-06 Thread Caesar Wang
<huang...@rock-chips.com> Cc: Rob Herring <robh...@kernel.org> Cc: Daniel Lezcano <daniel.lezc...@linaro.org> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Heiko Stuebner <he...@sntech.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Acked-by: Rob Herring &l

[PATCH v2 0/4] clocksource: rockchip/timer: Support rktimer for rk3399

2016-06-06 Thread Caesar Wang
This series patches had been tested on rockchip inside kernel. In order to support the rk3399 SoC timer and turn off interrupts and IPIs to save power in idle. Okay, it still works bootup on rk3288/other SoCs, even though many socs hasn't used the broadcast timer. History version: v1:

[PATCH v2 3/4] clocksource: rockchip: add support for rk3399 SoC

2016-06-06 Thread Caesar Wang
Jianqun Xu Signed-off-by: Caesar Wang --- Changes in v2: - As the Daniel suggests on https://patchwork.kernel.org/patch/9135061/, That will be better for the rockchip timer driver. drivers/clocksource/rockchip_timer.c | 31 ++- 1 file changed, 26 insertions(+), 5

[PATCH v2 1/4] dt-bindings: document rk3399 rk-timer bindings

2016-06-06 Thread Caesar Wang
Lezcano Cc: Thomas Gleixner Cc: Heiko Stuebner Signed-off-by: Caesar Wang Acked-by: Rob Herring --- Changes in v2: - Add the Rob' Ack. .../timer/{rockchip,rk3288-timer.txt => rockchip,rk-timer.txt} | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) rename Documentation/devicet

[PATCH v2 0/4] clocksource: rockchip/timer: Support rktimer for rk3399

2016-06-06 Thread Caesar Wang
This series patches had been tested on rockchip inside kernel. In order to support the rk3399 SoC timer and turn off interrupts and IPIs to save power in idle. Okay, it still works bootup on rk3288/other SoCs, even though many socs hasn't used the broadcast timer. History version: v1:

[PATCH v5 1/5] thermal: Add support for hardware-tracked trip points

2016-06-06 Thread Caesar Wang
before. This patch is based on an earlier version from Mikko Perttunen <mikko.perttu...@kapsi.fi> Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.

[PATCH v5 1/5] thermal: Add support for hardware-tracked trip points

2016-06-06 Thread Caesar Wang
on an earlier version from Mikko Perttunen Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- Changes in v5: - add the lock for thermal_zone_set_trips function. - change based on next kernel. Changes in v4: - Missing the lock added

[PATCH v5 2/5] thermal: of: implement .set_trips for device tree thermal zones

2016-06-06 Thread Caesar Wang
scha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.com> Reviewed-by: Javi Merino <javi.mer...@arm.com> --- Changes in v5: None Changes in v4: - as the Javi comm

[PATCH v5 3/5] thermal: streamline get_trend callbacks

2016-06-06 Thread Caesar Wang
level. Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.com> Cc: linux...@vger.kernel.org --- Changes in v5: None Changes in v4: None Changes i

[PATCH v5 4/5] thermal: bang-bang governor: act on lower trip boundary

2016-06-06 Thread Caesar Wang
rature, but the bang bang governor does not react since The polling driven zones have to be one step cooler before the governor reacts. Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc:

[PATCH v5 0/5] Thermal: Support for hardware-tracked trip points

2016-06-06 Thread Caesar Wang
Javi comments on https://patchwork.kernel.org/patch/9001311/. - add the select if they set the option for devicetree. - Add the peter's ACK. Changes in v2: - update the sysfs-api.txt for set_trips. - add the commit in patch[v2 2/5]. - Update the commit for patch[v2 4/5]. Caesar Wang (1): thermal:

[PATCH v5 2/5] thermal: of: implement .set_trips for device tree thermal zones

2016-06-06 Thread Caesar Wang
From: Sascha Hauer This patch implements .set_trips for device tree thermal zones. As the hardware-tracked trip points is supported by thermal core patch[0]. patch[0] "thermal: Add support for hardware-tracked trip points". Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc:

[PATCH v5 3/5] thermal: streamline get_trend callbacks

2016-06-06 Thread Caesar Wang
Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/thermal/of-thermal.c | 11 +- drivers/thermal/ti-soc-thermal/ti-thermal

[PATCH v5 4/5] thermal: bang-bang governor: act on lower trip boundary

2016-06-06 Thread Caesar Wang
governor does not react since The polling driven zones have to be one step cooler before the governor reacts. Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org Acked-by: Peter Feuerer --- Changes in v5: None Changes in v4: None

[PATCH v5 0/5] Thermal: Support for hardware-tracked trip points

2016-06-06 Thread Caesar Wang
Javi comments on https://patchwork.kernel.org/patch/9001311/. - add the select if they set the option for devicetree. - Add the peter's ACK. Changes in v2: - update the sysfs-api.txt for set_trips. - add the commit in patch[v2 2/5]. - Update the commit for patch[v2 4/5]. Caesar Wang (1): thermal:

[PATCH v5 5/5] thermal: rockchip: add the set_trips function

2016-06-06 Thread Caesar Wang
rate and throttle frequency to limit the temperature rising When performing passive cooling. Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.com> Cc: linux...@vger.kernel.org Tested-by: Stephen Barber <

[PATCH v5 5/5] thermal: rockchip: add the set_trips function

2016-06-06 Thread Caesar Wang
rate and throttle frequency to limit the temperature rising When performing passive cooling. Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org Tested-by: Stephen Barber --- Changes in v5: - add the tested by Steve. Changes in v4: None Changes in v3

Re: [RESEND PATCH v4 1/5] thermal: Add support for hardware-tracked trip points

2016-06-03 Thread Caesar Wang
Javi, Thanks your comments. On 2016年06月03日 01:30, Javi Merino wrote: Hi Caesar, On Fri, May 27, 2016 at 04:36:44PM +0800, Caesar Wang wrote: From: Sascha Hauer <s.ha...@pengutronix.de> This adds support for hardware-tracked trip points to the device tree thermal sensor fra

Re: [RESEND PATCH v4 1/5] thermal: Add support for hardware-tracked trip points

2016-06-03 Thread Caesar Wang
Javi, Thanks your comments. On 2016年06月03日 01:30, Javi Merino wrote: Hi Caesar, On Fri, May 27, 2016 at 04:36:44PM +0800, Caesar Wang wrote: From: Sascha Hauer This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports

Re: [PATCH v4 0/4] Thermal: Support for hardware-tracked trip points

2016-05-27 Thread Caesar Wang
Forget to send a patch, sorry for the noise.:-( Please ignore this series patches [PATCH v4 0/4]. RESEND the new series patches "[RESEND PATCH v4 0/5]". On 2016年05月27日 16:23, Caesar Wang wrote: The history patches come from Mikko and Sascha. http://thread.gmane.org/gmane.l

Re: [PATCH v4 0/4] Thermal: Support for hardware-tracked trip points

2016-05-27 Thread Caesar Wang
Forget to send a patch, sorry for the noise.:-( Please ignore this series patches [PATCH v4 0/4]. RESEND the new series patches "[RESEND PATCH v4 0/5]". On 2016年05月27日 16:23, Caesar Wang wrote: The history patches come from Mikko and Sascha. http://thread.gmane.org/gmane.l

[RESEND PATCH v4 2/5] thermal: of: implement .set_trips for device tree thermal zones

2016-05-27 Thread Caesar Wang
scha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.com> Reviewed-by: Javi Merino <javi.mer...@arm.com> --- Changes in v4: - as the Javi comments, %s/implemnets/implements.

[RESEND PATCH v4 2/5] thermal: of: implement .set_trips for device tree thermal zones

2016-05-27 Thread Caesar Wang
From: Sascha Hauer This patch implements .set_trips for device tree thermal zones. As the hardware-tracked trip points is supported by thermal core patch[0]. patch[0] "thermal: Add support for hardware-tracked trip points". Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc:

[RESEND PATCH v4 3/5] thermal: streamline get_trend callbacks

2016-05-27 Thread Caesar Wang
level. Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.com> Cc: linux...@vger.kernel.org --- Changes in v4: None Changes in v3: None Changes

[RESEND PATCH v4 3/5] thermal: streamline get_trend callbacks

2016-05-27 Thread Caesar Wang
Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/thermal/of-thermal.c | 11 +- drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 25

[RESEND PATCH v4 5/5] thermal: rockchip: add the set_trips function

2016-05-27 Thread Caesar Wang
rate and throttle frequency to limit the temperature rising When performing passive cooling. Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.com> Cc: linux...@vger.kernel.org --- Changes in v4: None C

[RESEND PATCH v4 5/5] thermal: rockchip: add the set_trips function

2016-05-27 Thread Caesar Wang
rate and throttle frequency to limit the temperature rising When performing passive cooling. Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/thermal/rockchip_thermal.c | 39

[RESEND PATCH v4 4/5] thermal: bang-bang governor: act on lower trip boundary

2016-05-27 Thread Caesar Wang
rature, but the bang bang governor does not react since The polling driven zones have to be one step cooler before the governor reacts. Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc:

[RESEND PATCH v4 4/5] thermal: bang-bang governor: act on lower trip boundary

2016-05-27 Thread Caesar Wang
governor does not react since The polling driven zones have to be one step cooler before the governor reacts. Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org Acked-by: Peter Feuerer --- Changes in v4: None Changes in v3

[RESEND PATCH v4 1/5] thermal: Add support for hardware-tracked trip points

2016-05-27 Thread Caesar Wang
before. This patch is based on an earlier version from Mikko Perttunen <mikko.perttu...@kapsi.fi> Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.

[RESEND PATCH v4 1/5] thermal: Add support for hardware-tracked trip points

2016-05-27 Thread Caesar Wang
on an earlier version from Mikko Perttunen Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- Changes in v4: - Missing the lock added in v3. Changes in v3: - as Javi comments on https://patchwork.kernel.org/patch/9001281/. - add

[PATCH v4 1/4] thermal: of: implement .set_trips for device tree thermal zones

2016-05-27 Thread Caesar Wang
scha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.com> Reviewed-by: Javi Merino <javi.mer...@arm.com> --- Changes in v4: - as the Javi comments, %s/implemnets/implements.

[PATCH v4 1/4] thermal: of: implement .set_trips for device tree thermal zones

2016-05-27 Thread Caesar Wang
From: Sascha Hauer This patch implements .set_trips for device tree thermal zones. As the hardware-tracked trip points is supported by thermal core patch[0]. patch[0] "thermal: Add support for hardware-tracked trip points". Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc:

[PATCH v4 4/4] thermal: rockchip: add the set_trips function

2016-05-27 Thread Caesar Wang
rate and throttle frequency to limit the temperature rising When performing passive cooling. Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.com> Cc: linux...@vger.kernel.org --- Changes in v4: None C

[PATCH v4 3/4] thermal: bang-bang governor: act on lower trip boundary

2016-05-27 Thread Caesar Wang
rature, but the bang bang governor does not react since The polling driven zones have to be one step cooler before the governor reacts. Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc:

[PATCH v4 4/4] thermal: rockchip: add the set_trips function

2016-05-27 Thread Caesar Wang
rate and throttle frequency to limit the temperature rising When performing passive cooling. Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/thermal/rockchip_thermal.c | 39

[PATCH v4 3/4] thermal: bang-bang governor: act on lower trip boundary

2016-05-27 Thread Caesar Wang
governor does not react since The polling driven zones have to be one step cooler before the governor reacts. Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org Acked-by: Peter Feuerer --- Changes in v4: None Changes in v3

[PATCH v4 2/4] thermal: streamline get_trend callbacks

2016-05-27 Thread Caesar Wang
level. Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.com> Cc: linux...@vger.kernel.org --- Changes in v4: None Changes in v3: None Changes

[PATCH v4 0/4] Thermal: Support for hardware-tracked trip points

2016-05-27 Thread Caesar Wang
]. - Update the commit for patch[v2 4/5]. Caesar Wang (1): thermal: rockchip: add the set_trips function Sascha Hauer (3): thermal: of: implement .set_trips for device tree thermal zones thermal: streamline get_trend callbacks thermal: bang-bang governor: act on lower trip boundary drivers

[PATCH v4 2/4] thermal: streamline get_trend callbacks

2016-05-27 Thread Caesar Wang
Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/thermal/of-thermal.c | 11 +- drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 25

[PATCH v4 0/4] Thermal: Support for hardware-tracked trip points

2016-05-27 Thread Caesar Wang
]. - Update the commit for patch[v2 4/5]. Caesar Wang (1): thermal: rockchip: add the set_trips function Sascha Hauer (3): thermal: of: implement .set_trips for device tree thermal zones thermal: streamline get_trend callbacks thermal: bang-bang governor: act on lower trip boundary drivers

Re: [PATCH v3 1/5] thermal: Add support for hardware-tracked trip points

2016-05-25 Thread Caesar Wang
On 2016年05月26日 08:34, Caesar Wang wrote: On 2016年05月26日 00:42, Javi Merino wrote: Hi Caesar, On Wed, May 25, 2016 at 11:47:45AM +0800, Caesar Wang wrote: From: Sascha Hauer <s.ha...@pengutronix.de> This adds support for hardware-tracked trip points to the device tree thermal

Re: [PATCH v3 1/5] thermal: Add support for hardware-tracked trip points

2016-05-25 Thread Caesar Wang
On 2016年05月26日 08:34, Caesar Wang wrote: On 2016年05月26日 00:42, Javi Merino wrote: Hi Caesar, On Wed, May 25, 2016 at 11:47:45AM +0800, Caesar Wang wrote: From: Sascha Hauer This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework

Re: [PATCH v3 1/5] thermal: Add support for hardware-tracked trip points

2016-05-25 Thread Caesar Wang
On 2016年05月26日 00:42, Javi Merino wrote: Hi Caesar, On Wed, May 25, 2016 at 11:47:45AM +0800, Caesar Wang wrote: From: Sascha Hauer <s.ha...@pengutronix.de> This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports an arb

Re: [PATCH v3 1/5] thermal: Add support for hardware-tracked trip points

2016-05-25 Thread Caesar Wang
On 2016年05月26日 00:42, Javi Merino wrote: Hi Caesar, On Wed, May 25, 2016 at 11:47:45AM +0800, Caesar Wang wrote: From: Sascha Hauer This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports an arbitrary number of trip points

[PATCH 1/5] dt-bindings: document rk3399 rk-timer bindings

2016-05-25 Thread Caesar Wang
<huang...@rock-chips.com> Cc: Rob Herring <robh...@kernel.org> Cc: Daniel Lezcano <daniel.lezc...@linaro.org> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Heiko Stuebner <he...@sntech.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> --- .../timer/{rockchip

[PATCH 1/5] dt-bindings: document rk3399 rk-timer bindings

2016-05-25 Thread Caesar Wang
Lezcano Cc: Thomas Gleixner Cc: Heiko Stuebner Signed-off-by: Caesar Wang --- .../timer/{rockchip,rk3288-timer.txt => rockchip,rk-timer.txt} | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) rename Documentation/devicetree/bindings/timer/{rockchip,rk3288-timer.txt => rockc

[PATCH 3/5] clocksource: rockchip: add dynamic irq flag to the timer

2016-05-25 Thread Caesar Wang
@linaro.org> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Heiko Stuebner <he...@sntech.de> Tested-by: Jianqun Xu <jay...@rock-chips.com> Signed-off-by: Caesar Wang <w...@rock-chips.com> --- drivers/clocksource/rockchip_timer.c | 5 +++-- 1 file changed, 3 insertion

[PATCH 3/5] clocksource: rockchip: add dynamic irq flag to the timer

2016-05-25 Thread Caesar Wang
-by: Caesar Wang --- drivers/clocksource/rockchip_timer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/rockchip_timer.c b/drivers/clocksource/rockchip_timer.c index b93fed6..f3dfb1a 100644 --- a/drivers/clocksource/rockchip_timer.c +++ b/drivers/clocksource

[PATCH 5/5] ARM64: dts: rockchip: add rktimer device node for rk3399

2016-05-25 Thread Caesar Wang
ed-by: Jianqun Xu <jay...@rock-chips.com> Signed-off-by: Caesar Wang <w...@rock-chips.com> --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 46f

[PATCH 5/5] ARM64: dts: rockchip: add rktimer device node for rk3399

2016-05-25 Thread Caesar Wang
From: Huang Tao Select rktimer0 as broadcast timer. Signed-off-by: Huang Tao Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Heiko Stuebner Tested-by: Jianqun Xu Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 8 1 file changed, 8 insertions(+) diff --git

[PATCH 4/5] clocksource: rockchip: add support for rk3399 SoC

2016-05-25 Thread Caesar Wang
Thomas Gleixner <t...@linutronix.de> Cc: Heiko Stuebner <he...@sntech.de> Tested-by: Jianqun Xu <jay...@rock-chips.com> Signed-off-by: Caesar Wang <w...@rock-chips.com> --- drivers/clocksource/rockchip_timer.c | 112 --- 1 file changed, 91

[PATCH 2/5] clocksource: rockchip: remove unnecessary clear irq before request_irq

2016-05-25 Thread Caesar Wang
Thomas Gleixner <t...@linutronix.de> Cc: Heiko Stuebner <he...@sntech.de> Tested-by: Jianqun Xu <jay...@rock-chips.com> Signed-off-by: Caesar Wang <w...@rock-chips.com> --- drivers/clocksource/rockchip_timer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drive

[PATCH 0/5] clocksource: rockchip/timer: Support rktimer for rk3399

2016-05-25 Thread Caesar Wang
This series patches had been tested on rockchip inside kernel. In order to support the rk3399 SoC timer and turn off interrupts and IPIs to save power in idle. Okay, it still works bootup on rk3288/other SoCs, even though many socs hasn't used the broadcast timer. Easy to test for my borad.

[PATCH 4/5] clocksource: rockchip: add support for rk3399 SoC

2016-05-25 Thread Caesar Wang
From: Huang Tao The CONTROL register offset is different from old SoCs. For Linux driver, there are not functional changes at all. Let's call it v2. Signed-off-by: Huang Tao Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Heiko Stuebner Tested-by: Jianqun Xu Signed-off-by: Caesar Wang

[PATCH 2/5] clocksource: rockchip: remove unnecessary clear irq before request_irq

2016-05-25 Thread Caesar Wang
From: Huang Tao rk_timer_interrupt_clear and rk_timer_disable is unnecessary before request_irq. Timer should keep disabled before booting Linux. Signed-off-by: Huang Tao Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Heiko Stuebner Tested-by: Jianqun Xu Signed-off-by: Caesar Wang

[PATCH 0/5] clocksource: rockchip/timer: Support rktimer for rk3399

2016-05-25 Thread Caesar Wang
This series patches had been tested on rockchip inside kernel. In order to support the rk3399 SoC timer and turn off interrupts and IPIs to save power in idle. Okay, it still works bootup on rk3288/other SoCs, even though many socs hasn't used the broadcast timer. Easy to test for my borad.

[RESEND PATCH] ARM64: dts: rockchip: add thermal zone node for rk3399 SoCs

2016-05-25 Thread Caesar Wang
-by: Caesar Wang <w...@rock-chips.com> --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 100 +++ 1 file changed, 100 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 46f325a..f8a80c2 100644 --- a/arch

[RESEND PATCH] ARM64: dts: rockchip: add thermal zone node for rk3399 SoCs

2016-05-25 Thread Caesar Wang
-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 100 +++ 1 file changed, 100 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 46f325a..f8a80c2 100644 --- a/arch/arm64/boot/dts/rockchip

[PATCH] ARM64: dts: rockchip: add thermal zone node for rk3399 SoCs

2016-05-24 Thread Caesar Wang
is the maximum cooling state used in this map. Signed-off-by: Caesar Wang <w...@rock-chips.com> --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 100 +++ 1 file changed, 100 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/bo

[PATCH] ARM64: dts: rockchip: add thermal zone node for rk3399 SoCs

2016-05-24 Thread Caesar Wang
is the maximum cooling state used in this map. Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 100 +++ 1 file changed, 100 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index

[PATCH v3 0/5] Thermal: Support for hardware-tracked trip points

2016-05-24 Thread Caesar Wang
ACK. Changes in v2: - update the sysfs-api.txt for set_trips. - add the commit in patch[v2 2/5]. - Update the commit for patch[v2 4/5]. Caesar Wang (1): thermal: rockchip: add the set_trips function Sascha Hauer (4): thermal: Add support for hardware-tracked trip points thermal

[PATCH v3 0/5] Thermal: Support for hardware-tracked trip points

2016-05-24 Thread Caesar Wang
ACK. Changes in v2: - update the sysfs-api.txt for set_trips. - add the commit in patch[v2 2/5]. - Update the commit for patch[v2 4/5]. Caesar Wang (1): thermal: rockchip: add the set_trips function Sascha Hauer (4): thermal: Add support for hardware-tracked trip points thermal

[PATCH v3 1/5] thermal: Add support for hardware-tracked trip points

2016-05-24 Thread Caesar Wang
before. This patch is based on an earlier version from Mikko Perttunen <mikko.perttu...@kapsi.fi> Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.

[PATCH v3 1/5] thermal: Add support for hardware-tracked trip points

2016-05-24 Thread Caesar Wang
on an earlier version from Mikko Perttunen Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- Changes in v3: - as Javi comments on https://patchwork.kernel.org/patch/9001281/. - add the lock for preventing the called from multi

[PATCH v3 4/5] thermal: bang-bang governor: act on lower trip boundary

2016-05-24 Thread Caesar Wang
rature, but the bang bang governor does not react since The polling driven zones have to be one step cooler before the governor reacts. Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc:

[PATCH v3 5/5] thermal: rockchip: add the set_trips function

2016-05-24 Thread Caesar Wang
rate and throttle frequency to limit the temperature rising When performing passive cooling. Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.com> Cc: linux...@vger.kernel.org --- Changes in v3: None C

[PATCH v3 4/5] thermal: bang-bang governor: act on lower trip boundary

2016-05-24 Thread Caesar Wang
governor does not react since The polling driven zones have to be one step cooler before the governor reacts. Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org Acked-by: Peter Feuerer --- Changes in v3: - Add the peter's ACK

[PATCH v3 5/5] thermal: rockchip: add the set_trips function

2016-05-24 Thread Caesar Wang
rate and throttle frequency to limit the temperature rising When performing passive cooling. Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- Changes in v3: None Changes in v2: None drivers/thermal/rockchip_thermal.c | 39

[PATCH v3 2/5] thermal: of: implement .set_trips for device tree thermal zones

2016-05-24 Thread Caesar Wang
scha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.com> --- Changes in v3: - as the Javi comments on https://patchwork.kernel.org/patch/9001311/. - add the select if they set t

[PATCH v3 2/5] thermal: of: implement .set_trips for device tree thermal zones

2016-05-24 Thread Caesar Wang
From: Sascha Hauer This patch implemnets .set_trips for device tree thermal zones. As the hardware-tracked trip points is supported by thermal core patch[0]. patch[0] "thermal: Add support for hardware-tracked trip points". Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc:

[PATCH v3 3/5] thermal: streamline get_trend callbacks

2016-05-24 Thread Caesar Wang
level. Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Zhang Rui <rui.zh...@intel.com> Cc: Eduardo Valentin <edubez...@gmail.com> Cc: linux...@vger.kernel.org --- Changes in v3: None Changes in v2: None

[PATCH v3 3/5] thermal: streamline get_trend callbacks

2016-05-24 Thread Caesar Wang
Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- Changes in v3: None Changes in v2: None drivers/thermal/of-thermal.c | 11 +- drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 25

Re: [PATCH v2 4/5] thermal: bang-bang governor: act on lower trip boundary

2016-05-24 Thread Caesar Wang
On 2016年05月25日 01:34, Peter Feuerer wrote: Hi, 24. Mai 2016 15:06 Uhr, "Javi Merino" <javi.mer...@arm.com> schrieb: Ccing Peter Feuerer, author of the bang bang governor. On Tue, May 03, 2016 at 05:33:32PM +0800, Caesar Wang wrote: From: Sascha Hauer <s.h

Re: [PATCH v2 4/5] thermal: bang-bang governor: act on lower trip boundary

2016-05-24 Thread Caesar Wang
On 2016年05月25日 01:34, Peter Feuerer wrote: Hi, 24. Mai 2016 15:06 Uhr, "Javi Merino" schrieb: Ccing Peter Feuerer, author of the bang bang governor. On Tue, May 03, 2016 at 05:33:32PM +0800, Caesar Wang wrote: From: Sascha Hauer With interrupt driven thermal zones we pass

Re: [PATCH v2 2/5] thermal: of: implement .set_trips for device tree thermal zones

2016-05-24 Thread Caesar Wang
Hi Javi, On 2016年05月24日 21:01, Javi Merino wrote: On Tue, May 03, 2016 at 05:33:30PM +0800, Caesar Wang wrote: From: Sascha Hauer <s.ha...@pengutronix.de> This patch implemnets .set_trips for device tree thermal zones. As the hardware-tracked trip points is supported by thermal core p

Re: [PATCH v2 2/5] thermal: of: implement .set_trips for device tree thermal zones

2016-05-24 Thread Caesar Wang
Hi Javi, On 2016年05月24日 21:01, Javi Merino wrote: On Tue, May 03, 2016 at 05:33:30PM +0800, Caesar Wang wrote: From: Sascha Hauer This patch implemnets .set_trips for device tree thermal zones. As the hardware-tracked trip points is supported by thermal core patch[0]. patch[0] "thermal

Re: [PATCH v2 1/5] thermal: Add support for hardware-tracked trip points

2016-05-24 Thread Caesar Wang
Hi Javi, Thanks your reviewing. On 2016年05月24日 20:57, Javi Merino wrote: On Tue, May 03, 2016 at 05:33:29PM +0800, Caesar Wang wrote: From: Sascha Hauer <s.ha...@pengutronix.de> This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The fra

Re: [PATCH v2 1/5] thermal: Add support for hardware-tracked trip points

2016-05-24 Thread Caesar Wang
Hi Javi, Thanks your reviewing. On 2016年05月24日 20:57, Javi Merino wrote: On Tue, May 03, 2016 at 05:33:29PM +0800, Caesar Wang wrote: From: Sascha Hauer This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports an arbitrary

Re: [PATCH v2 0/5] Thermal: Support for hardware-tracked trip points

2016-05-23 Thread Caesar Wang
日 17:33, Caesar Wang wrote: The history patches come from Mikko and Sascha. http://thread.gmane.org/gmane.linux.power-management.general/59451 Now, I pick them up to continue upstream. Nevermind! This series history patches: v1: https://lkml.org/lkml/2016/4/24/227 This series adds support for hard

Re: [PATCH v2 0/5] Thermal: Support for hardware-tracked trip points

2016-05-23 Thread Caesar Wang
日 17:33, Caesar Wang wrote: The history patches come from Mikko and Sascha. http://thread.gmane.org/gmane.linux.power-management.general/59451 Now, I pick them up to continue upstream. Nevermind! This series history patches: v1: https://lkml.org/lkml/2016/4/24/227 This series adds support for hard

Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036

2016-05-20 Thread Caesar Wang
于 2016年05月20日 20:35, Shawn Lin 写道: 在 2016/5/20 7:56, Caesar Wang 写道: That's seem the incorrect string to match the spi driver. Will it break the backward compatibility for some dtb if not falling back to "rockchip,rockchip-spi" ? The rk3036 shouldn't work if you read the driv

Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036

2016-05-20 Thread Caesar Wang
于 2016年05月20日 20:35, Shawn Lin 写道: 在 2016/5/20 7:56, Caesar Wang 写道: That's seem the incorrect string to match the spi driver. Will it break the backward compatibility for some dtb if not falling back to "rockchip,rockchip-spi" ? The rk3036 shouldn't work if you read the driv

[PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036

2016-05-19 Thread Caesar Wang
That's seem the incorrect string to match the spi driver. Fixes commit f629fcfab2cd ("ARM: dts: rockchip: support the spi for rk3036") Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Heiko Stuebner <he...@sntech.de> Cc: linux-rockc...@lists.infradead.org --- Changes

[PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036

2016-05-19 Thread Caesar Wang
That's seem the incorrect string to match the spi driver. Fixes commit f629fcfab2cd ("ARM: dts: rockchip: support the spi for rk3036") Signed-off-by: Caesar Wang Cc: Heiko Stuebner Cc: linux-rockc...@lists.infradead.org --- Changes in v2: None arch/arm/boot/dts/rk3036.dtsi | 2

[PATCH v2 2/3] spi/rockchip: add the rk3036/rk3228/rk3368 to match for driver

2016-05-19 Thread Caesar Wang
In gerenal, the "rockchip,rockchip-spi" string will match the dts that's great in spi driver. After all the most of rockchip SoCs ar same spi controller. Then, we should keep the old style to match the dts various. Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc:

[PATCH v2 2/3] spi/rockchip: add the rk3036/rk3228/rk3368 to match for driver

2016-05-19 Thread Caesar Wang
In gerenal, the "rockchip,rockchip-spi" string will match the dts that's great in spi driver. After all the most of rockchip SoCs ar same spi controller. Then, we should keep the old style to match the dts various. Signed-off-by: Caesar Wang Cc: Mark Brown Cc: Heiko Stuebner Cc: l

[PATCH v2 1/3] spi/rockchip: add rk3036/rk3228/rk3368 SoCs for spi document

2016-05-19 Thread Caesar Wang
We had supported the rk3036/rk3066/rk3188/rk3228/rk3288/rk3368/rk3399 family SoCs in linux kernel. Let's add the other SoCs, in order to a better understanding from the rockchip spi document. Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Rob Herring <robh...@kernel.org> Cc

[PATCH v2 1/3] spi/rockchip: add rk3036/rk3228/rk3368 SoCs for spi document

2016-05-19 Thread Caesar Wang
We had supported the rk3036/rk3066/rk3188/rk3228/rk3288/rk3368/rk3399 family SoCs in linux kernel. Let's add the other SoCs, in order to a better understanding from the rockchip spi document. Signed-off-by: Caesar Wang Cc: Rob Herring Cc: Mark Brown Cc: Heiko Stuebner Cc: linux-rockc

Re: [PATCH 1/3] spi/rockchip: add rk3036/rk3228/rk3368 socs for spi document

2016-05-19 Thread Caesar Wang
在 2016年05月19日 23:51, Heiko Stuebner 写道: Am Donnerstag, 19. Mai 2016, 23:47:02 schrieb Caesar Wang: We had supported the rk3036/rk3066/rk3188/rk3228/rk3288/rk3368/rk3399 family SoCs in linux kernel. Let's add the other SoCs, in order to a better understanding from the rockchip spi document

Re: [PATCH 1/3] spi/rockchip: add rk3036/rk3228/rk3368 socs for spi document

2016-05-19 Thread Caesar Wang
在 2016年05月19日 23:51, Heiko Stuebner 写道: Am Donnerstag, 19. Mai 2016, 23:47:02 schrieb Caesar Wang: We had supported the rk3036/rk3066/rk3188/rk3228/rk3288/rk3368/rk3399 family SoCs in linux kernel. Let's add the other SoCs, in order to a better understanding from the rockchip spi document

[PATCH 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036

2016-05-19 Thread Caesar Wang
That's seem the incorrect string to match the spi driver. Fixes commit f629fcfab2cd ("ARM: dts: rockchip: support the spi for rk3036") Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc: Heiko Stuebner <he...@sntech.de> Cc: linux-rockc...@lists.infradead.org --- arch/ar

[PATCH 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036

2016-05-19 Thread Caesar Wang
That's seem the incorrect string to match the spi driver. Fixes commit f629fcfab2cd ("ARM: dts: rockchip: support the spi for rk3036") Signed-off-by: Caesar Wang Cc: Heiko Stuebner Cc: linux-rockc...@lists.infradead.org --- arch/arm/boot/dts/rk3036.dtsi | 2 +- 1 file changed, 1

[PATCH 2/3] spi/rockchip: add the rk3036/rk3228/rk3368 to match for driver

2016-05-19 Thread Caesar Wang
In gerenal, the "rockchip,rockchip-spi" string will match the dts that's great in spi driver. After all the most of rockchip SoCs ar same spi controller. Then, we should keep the old style to match the dts various. Signed-off-by: Caesar Wang <w...@rock-chips.com> Cc:

<    1   2   3   4   5   6   7   8   9   10   >