[PATCH v2 1/2] pwm: add this patch to introduce for rk-pwm and vop-pwm

2014-07-19 Thread Caesar Wang
Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- Documentation/devicetree/bindings/pwm/pwm-rockchip.txt | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt b/Documentation/devicetree/bindings/pwm/pwm

[PATCH v2 0/2] This series adds support for Rockchip SoCs integrated PWM.

2014-07-19 Thread Caesar Wang
the new pwm for next genenation Rockchip SoCs. Tested on RK3288 SDK board. Changes in v2: * address comments from Beniamino Galvani Reding: - remove #include linux/of_address.h. - of_iomap be removed,and devm_ioremap replace it. - remove a line no be used. Caesar Wang (2

[PATCH v2 2/2] pwm: add this patch to support the new pwm of Rockchip SoCs

2014-07-19 Thread Caesar Wang
Suggested-by: Beniamino Galvani b.galv...@gmail.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/pwm/pwm-rockchip.c | 97 +- 1 file changed, 79 insertions(+), 18 deletions(-) diff --git a/drivers/pwm/pwm-rockchip.c b/drivers/pwm

[PATCH v4 1/2] pwm: rockchip: document RK3288 SoC compatible

2014-07-24 Thread Caesar Wang
Document new compatible for PWM founding on RK3288 SoC Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- Documentation/devicetree/bindings/pwm/pwm-rockchip.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt

[PATCH v4 0/2] This series adds support for RK3288 SoC integrated PWM

2014-07-24 Thread Caesar Wang
Beniamino Galvani: - remove #include linux/of_address.h. - of_iomap be removed,and devm_ioremap replace it. - remove a line no be used. Caesar Wang (2): pwm: rockchip: document RK3288 SoC compatible pwm: rockchip: Added to support for RK3288 SoC .../devicetree/bindings/pwm/pwm

[PATCH v4 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-07-24 Thread Caesar Wang
This patch added to support the PWM controller found on RK3288 SoC. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/pwm/pwm-rockchip.c | 124 ++--- 1 file changed, 105 insertions(+), 19 deletions(-) diff --git a/drivers/pwm/pwm

[PATCH v5 1/2] pwm: rockchip: document RK3288 SoC compatible

2014-08-08 Thread Caesar Wang
Document new compatible for PWM founding on RK3288 SoC Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- Documentation/devicetree/bindings/pwm/pwm-rockchip.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt

[PATCH v5 0/2] This series adds support for RK3288 SoC integrated PWM

2014-08-08 Thread Caesar Wang
in rockchip_pwm_data struct - remove the devm_ioremap(),fixed in lcdc driver. Changes in v2: * address comments from Beniamino Galvani: - remove #include linux/of_address.h. - of_iomap be removed,and devm_ioremap replace it. - remove a line no be used. Caesar Wang (2): pwm: rockchip

Re: [PATCH v3 2/4] pwm: rockchip: Allow polarity invert on rk3288

2014-08-19 Thread Caesar Wang
Hi Doug, I reviewed it, the change is need. Reviewed-on: https://github.com/rkchrome/kernel.git Reviewed-by: Caesar Wang caesar.w...@rock-chips.com 在 2014年08月20日 00:07, Doug Anderson 写道: The rk3288 has the ability to invert the polarity of the PWM. Let's enable that ability. To do this we

[PATCH 0/2] Rockchip SoC thermal driver

2014-08-22 Thread Caesar Wang
This series adds support for the thermal Found on Rockhip SoCs. Caesar Wang (2): dt-bindings: document Rockchip thermal thermal: rockchip: add driver for Rockchip thermal Tested on rk3288 Board. .../bindings/thermal/rockchip-thermal.txt | 33 + drivers/thermal/Kconfig

[PATCH 2/2] thermal: rockchip: add driver for Rockchip thermal

2014-08-22 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig|9 + drivers/thermal/Makefile |1 + drivers/thermal/rockchip_thermal.c | 659 3 files changed, 669 insertions(+) create mode 100644

[PATCH 1/2] dt-bindings: document Rockchip thermal

2014-08-22 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../bindings/thermal/rockchip-thermal.txt | 33 1 file changed, 33

Re: [PATCH 1/2] dt-bindings: document Rockchip thermal

2014-08-25 Thread Caesar Wang
Hi Heiko, 在 2014年08月24日 07:03, Heiko Stübner 写道: Hi Caesar, Am Samstag, 23. August 2014, 08:15:33 schrieb Caesar Wang: This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock

Re: [PATCH 2/2] thermal: rockchip: add driver for Rockchip thermal

2014-08-25 Thread Caesar Wang
Heiko, 在 2014年08月24日 07:33, Heiko Stübner 写道: Am Samstag, 23. August 2014, 08:15:34 schrieb Caesar Wang: Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing to register

Re: [PATCH 1/2] dt-bindings: document Rockchip thermal

2014-08-26 Thread Caesar Wang
Heiko, 在 2014/8/24 7:03, Heiko Stübner 写道: Hi Caesar, Am Samstag, 23. August 2014, 08:15:33 schrieb Caesar Wang: This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock

[PATCH v2 2/2] dt-bindings: document Rockchip thermal

2014-08-26 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com Change-Id: I822eba808c76ab51a5562eb61020a4aed4ff555e --- .../bindings/thermal/rockchip-thermal.txt

[PATCH v2 0/2] Rockchip soc theamal driver

2014-08-26 Thread Caesar Wang
to merge compatible other SoCs. - fix a identation - remove clk_set_rate(),it's no necessary. - fix the SIMPLE_DEV_PM_OPS() function style. Caesar Wang (2): thermal: rockchip: add driver for thermal dt-bindings: document Rockchip thermal .../bindings/thermal/rockchip

[PATCH v2 1/2] thermal: rockchip: add driver for thermal

2014-08-26 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com Change-Id: I00e7df78c497704657aff16e602aa56b4c14c6f5 --- drivers/thermal/Kconfig|9 + drivers/thermal/Makefile |1 + drivers/thermal/rockchip_thermal.c | 644 3 files

Re: [PATCH v2 1/2] thermal: rockchip: add driver for thermal

2014-08-27 Thread Caesar Wang
Hi Dmtry, 在 2014年08月27日 08:11, Dmitry Torokhov 写道: Hi Caesar, On Wed, Aug 27, 2014 at 07:41:42AM +0800, Caesar Wang wrote: Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing

Re: [PATCH v2 2/2] dt-bindings: document Rockchip thermal

2014-08-27 Thread Caesar Wang
Arnd, 在 2014年08月28日 04:17, Arnd Bergmann 写道: On Wednesday 27 August 2014 07:41:43 Caesar Wang wrote: +- clock-names : Shall be tsadc_clk for the transfer-clock, and tsadc_pclk for +the peripheral clock. Why not just name them clk and pclk? The tsadc part seems highly redundant

Re: [PATCH v2 1/2] thermal: rockchip: add driver for thermal

2014-08-27 Thread Caesar Wang
Hi Dmitry, 在 2014年08月28日 02:02, Dmitry Torokhov 写道: On Thu, Aug 28, 2014 at 01:18:12AM +0800, Caesar Wang wrote: Hi Dmtry, 在 2014年08月27日 08:11, Dmitry Torokhov 写道: Hi Caesar, On Wed, Aug 27, 2014 at 07:41:42AM +0800, Caesar Wang wrote: Thermal is TS-ADC Controller module supports user

[PATCH v3 0/4] Rockchip soc theamal driver

2014-08-27 Thread Caesar Wang
the SIMPLE_DEV_PM_OPS() function style. Tested On rk3288 SDK board. Caesar Wang (4): thermal: rockchip: add driver for thermal dt-bindings: document Rockchip thermal ARM: dts: add main Thermal info to rk3288 ARM: dts: enable Thermal on rk3288-evb board .../bindings/thermal/rockchip

[PATCH v3 3/4] ARM: dts: add main Thermal info to rk3288

2014-08-27 Thread Caesar Wang
Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 36be7bb..3d672e3 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b

[PATCH v4 4/4] ARM: dts: enable Thermal on rk3288-evb board

2014-08-27 Thread Caesar Wang
Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index 2964370..fe85dde 100644 --- a/arch/arm/boot/dts/rk3288-evb.dtsi +++ b

[PATCH v3 1/4] thermal: rockchip: add driver for thermal

2014-08-27 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 669 + 3 files changed, 679 insertions(+) create mode 100644 drivers

[PATCH v3 2/4] dt-bindings: document Rockchip thermal

2014-08-27 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../devicetree/bindings/thermal/rockchip-thermal.txt | 20 1 file changed, 20

Re: [PATCH v3 1/4] thermal: rockchip: add driver for thermal

2014-08-28 Thread Caesar Wang
Arnd Heiko Eduardo, OK. Maybe you are right. This driver should be put into drivers/iio/adc/* , Anyway,I will re-edit it ASAP. 在 2014/8/29 0:16, Arnd Bergmann 写道: On Thursday 28 August 2014 18:11:43 Heiko Stübner wrote: Am Donnerstag, 28. August 2014, 10:37:35 schrieb Eduardo Valentin:

[PATCH v4 2/4] dt-bindings: document Rockchip thermal

2014-09-02 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../devicetree/bindings/thermal/rockchip-thermal.txt | 20 1 file changed, 20

[PATCH v4 4/4] ARM: dts: enable Thermal on rk3288-evb board

2014-09-02 Thread Caesar Wang
Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index 2964370..fe85dde 100644 --- a/arch/arm/boot/dts/rk3288-evb.dtsi +++ b

[PATCH v4 1/4] thermal: rockchip: add driver for thermal

2014-09-02 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 669 + 3 files changed, 679 insertions(+) create mode 100644 drivers

[PATCH v4 3/4] ARM: dts: add main Thermal info to rk3288

2014-09-02 Thread Caesar Wang
Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 36be7bb..3d672e3 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b

[PATCH v4 0/4] Rockchip soc thermal driver

2014-09-02 Thread Caesar Wang
- remove Author mark - rename TSADC_XXX-TSADCV2_XXX,it eill ready to merge compatible other SoCs. - fix a identation - remove clk_set_rate(),it's no necessary. - fix the SIMPLE_DEV_PM_OPS() function style. Tested on rk3288 SDK board Caesar Wang (4

Re: [PATCH v4 2/4] dt-bindings: document Rockchip thermal

2014-09-03 Thread Caesar Wang
在 2014年09月03日 16:07, Heiko Stübner 写道: Am Mittwoch, 3. September 2014, 10:10:37 schrieb Caesar Wang: This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com

Re: [PATCH v4 1/4] thermal: rockchip: add driver for thermal

2014-09-04 Thread Caesar Wang
在 2014年09月05日 01:06, Dmitry Torokhov 写道: Hi Caesar, On Wed, Sep 03, 2014 at 10:10:36AM +0800, Caesar Wang wrote: +static int rockchip_thermal_remove(struct platform_device *pdev) +{ + struct rockchip_thermal_data *data = platform_get_drvdata(pdev); + + rockchip_thermal_control

Re: [PATCH v4 3/4] ARM: dts: add main Thermal info to rk3288

2014-09-09 Thread Caesar Wang
Hi Heiko, 在 2014年09月09日 19:37, Heiko Stübner 写道: Am Mittwoch, 3. September 2014, 10:10:38 schrieb Caesar Wang: Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts

Re: [PATCH v4 1/4] thermal: rockchip: add driver for thermal

2014-09-10 Thread Caesar Wang
Dear Eduardo, 在 2014/9/10 20:46, Eduardo Valentin 写道: Hello Caesar, On Wed, Sep 10, 2014 at 12:39:07PM +0800, Caesar Wang wrote: Dear Eduardo, I'm sorry for it. I just received this message.Maybe my mailbox has a problem. No problems. You can take your time. Thank you for your comments

[PATCH v5 2/4] dt-bindings: document Rockchip thermal

2014-09-16 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../bindings/thermal/rockchip-thermal.txt | 41 ++ 1 file changed, 41

[PATCH v5 0/4] Rockchip soc thermal driver

2014-09-16 Thread Caesar Wang
-thermal.txt - remove Author mark - rename TSADC_XXX-TSADCV2_XXX,it eill ready to merge compatible other SoCs. - fix a identation - remove clk_set_rate(),it's no necessary. - fix the SIMPLE_DEV_PM_OPS() function style. Tested on rk3288 SDK board Caesar Wang (4

[PATCH v5 1/4] thermal: rockchip: add driver for Thermal

2014-09-16 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 790 + 3 files changed, 800 insertions(+) create mode 100644 drivers

[PATCH v5 4/4] ARM: dts: enable Thermal on rk3288-evb board

2014-09-16 Thread Caesar Wang
Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index 2964370..b68d21b 100644 --- a/arch/arm/boot/dts/rk3288

[PATCH v5 3/4] ARM: dts: add main Thermal info to rk3288

2014-09-16 Thread Caesar Wang
Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 36be7bb..ba7ad94 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b

Re: [PATCH v4 1/4] thermal: rockchip: add driver for thermal

2014-09-17 Thread Caesar Wang
Eduardo, 在 2014/9/10 20:46, Eduardo Valentin 写道: Hello Caesar, On Wed, Sep 10, 2014 at 12:39:07PM +0800, Caesar Wang wrote: Dear Eduardo, I'm sorry for it. I just received this message.Maybe my mailbox has a problem. No problems. You can take your time. Thank you for your comments. 在

Re: [PATCH v5 2/4] dt-bindings: document Rockchip thermal

2014-09-17 Thread Caesar Wang
在 2014年09月18日 04:13, Dmitry Torokhov 写道: On Wed, Sep 17, 2014 at 12:48:16PM -0700, Doug Anderson wrote: Caesar, On Tue, Sep 16, 2014 at 8:59 PM, Caesar Wang caesar.w...@rock-chips.com wrote: This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off

Re: [PATCH v5 1/4] thermal: rockchip: add driver for Thermal

2014-09-18 Thread Caesar Wang
Dear Dmitry, 在 2014年09月18日 01:02, Dmitry Torokhov 写道: Hi Caesar, On Wed, Sep 17, 2014 at 11:59:10AM +0800, Caesar Wang wrote: Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software

Re: [PATCH v5 2/4] dt-bindings: document Rockchip thermal

2014-09-18 Thread Caesar Wang
Tomeu, 在 2014年09月18日 17:27, Tomeu Vizoso 写道: On 17 September 2014 05:59, Caesar Wang caesar.w...@rock-chips.com wrote: This add the necessary binding documentation for the thermal found on Rockchip SoCs Hi Caesar, is there any reason to not use the existing thermal bindings? You can find

[PATCH v6 1/3] thermal: rockchip: add driver for Thermal

2014-09-26 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig| 10 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 605 + 3 files changed, 616 insertions(+) create mode 100644 drivers

[PATCH v7 0/5] Rockchip soc thermal driver

2014-09-28 Thread Caesar Wang
the SIMPLE_DEV_PM_OPS() function style. Caesar Wang (5): thermal: rockchip: add driver for thermal dt-bindings: document Rockchip thermal ARM: dts: add RK3xxx CPU Thermal data ARM: dts: add main Thermal info to rk3288 ARM: dts: enable Thermal on rk3288-evb board .../bindings/thermal

[PATCH v7 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-09-28 Thread Caesar Wang
when a thermal shutdown at 125C.Via GPIO give PMIC, Reset the entire chip. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi

[PATCH v7 4/5] ARM: dts: add main Thermal info to rk3288

2014-09-28 Thread Caesar Wang
This patch is depend on rk3xxx-cpu-thermal.dtsi,or it will compile error. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288

[PATCH v7 3/5] ARM: dts: add RK3xxx CPU Thermal data

2014-09-28 Thread Caesar Wang
This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 125C. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3xxx-cpu-thermal.dtsi | 32 +++ 1 file changed, 32

[PATCH v7 2/5] dt-bindings: document Rockchip thermal

2014-09-28 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../bindings/thermal/rockchip-thermal.txt | 32 ++ 1 file changed, 32

[PATCH v7 1/5] thermal: rockchip: add driver for thermal

2014-09-28 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig| 10 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 608 + 3 files changed, 619 insertions(+) create mode 100644 drivers

Re: [PATCH v7 1/5] thermal: rockchip: add driver for thermal

2014-10-08 Thread Caesar Wang
Dear Dmitry, 在 2014年10月08日 07:39, Dmitry Torokhov 写道: Hi Caesar, On Sun, Sep 28, 2014 at 06:38:09PM +0800, Caesar Wang wrote: Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing

[PATCH v8 1/5] thermal: rockchip: add driver for thermal

2014-10-10 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 628 + 3 files changed, 638 insertions(+) create mode 100644 drivers

[PATCH v8 0/5] Rockchip soc thermal driver

2014-10-10 Thread Caesar Wang
no necessary. - fix the SIMPLE_DEV_PM_OPS() function style. Caesar Wang (5): thermal: rockchip: add driver for thermal dt-bindings: document Rockchip thermal ARM: dts: add RK3288 Thermal data ARM: dts: add main Thermal info to rk3288 ARM: dts: enable Thermal on rk3288-evb board

[PATCH v8 3/5] ARM: dts: add RK3288 Thermal data

2014-10-10 Thread Caesar Wang
This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 125C. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-thermal.dtsi | 57 +++ 1 file changed, 57

[PATCH v8 2/5] dt-bindings: document Rockchip thermal

2014-10-10 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../bindings/thermal/rockchip-thermal.txt | 45 ++ 1 file changed, 45

[PATCH v8 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-10-10 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm

[PATCH v8 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-10 Thread Caesar Wang
This patch is depend on rk3288-thermal.dtsi,or it will compile error. If the temperature over a period of time High,over 120C the resulting TSHUT gave CRU module,let it reset the entire chip,or via GPIO give PMIC. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts

Re: [PATCH v8 1/5] thermal: rockchip: add driver for thermal

2014-10-11 Thread Caesar Wang
Dear Dmitry, 在 2014年10月11日 01:46, Dmitry Torokhov 写道: Hi Caesar, On Fri, Oct 10, 2014 at 06:19:37PM +0800, Caesar Wang wrote: Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing

[PATCH v9 0/5] Rockchip soc thermal driver

2014-10-11 Thread Caesar Wang
in rockchip-thermal.txt - remove Author mark - rename TSADC_XXX-TSADCV2_XXX,it eill ready to merge compatible other SoCs. - fix a identation - remove clk_set_rate(),it's no necessary. - fix the SIMPLE_DEV_PM_OPS() function style. Caesar Wang (5): thermal: rockchip

[PATCH v9 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-11 Thread Caesar Wang
This patch is depend on rk3288-thermal.dtsi,or it will compile error. If the temperature over a period of time High,over 120C the resulting TSHUT gave CRU module,let it reset the entire chip,or via GPIO give PMIC. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts

[PATCH v9 2/5] dt-bindings: document Rockchip thermal

2014-10-11 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../bindings/thermal/rockchip-thermal.txt | 45 ++ 1 file changed, 45

[PATCH v9 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-10-11 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm

[PATCH v9 3/5] ARM: dts: add RK3288 Thermal data

2014-10-11 Thread Caesar Wang
This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 125C. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-thermal.dtsi | 57 +++ 1 file changed, 57

[PATCH v9 1/5] thermal: rockchip: add driver for thermal

2014-10-11 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 624 + 3 files changed, 634 insertions(+) create mode 100644 drivers

Re: [PATCH v9 1/5] thermal: rockchip: add driver for thermal

2014-10-14 Thread Caesar Wang
Doug, 在 2014年10月14日 00:11, Doug Anderson 写道: Caesar, On Sat, Oct 11, 2014 at 12:29 AM, Caesar Wang caesar.w...@rock-chips.com wrote: +static void rk_tsadcv2_initialize(int reset_mode, int chn, void __iomem *regs, + unsigned long hw_shut_temp) +{ + u32

[PATCH v10 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-14 Thread Caesar Wang
This patch is depend on rk3288-thermal.dtsi,or it will compile error. If the temperature over a period of time High,over 120C the resulting TSHUT gave CRU module,let it reset the entire chip,or via GPIO give PMIC. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts

[PATCH v10 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-10-14 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm

[PATCH v10 1/5] thermal: rockchip: add driver for thermal

2014-10-14 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 667 + 3 files changed, 677 insertions(+) create mode 100644 drivers

[PATCH v10 2/5] dt-bindings: document Rockchip thermal

2014-10-14 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../bindings/thermal/rockchip-thermal.txt | 45 ++ 1 file changed, 45

[PATCH v10 3/5] ARM: dts: add RK3288 Thermal data

2014-10-14 Thread Caesar Wang
This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 125C. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-thermal.dtsi | 57 +++ 1 file changed, 57

[PATCH v10 0/5] Rockchip soc thermal driver

2014-10-14 Thread Caesar Wang
. - fix a identation - remove clk_set_rate(),it's no necessary. - fix the SIMPLE_DEV_PM_OPS() function style. Caesar Wang (5): thermal: rockchip: add driver for thermal dt-bindings: document Rockchip thermal ARM: dts: add RK3288 Thermal data ARM: dts: add main

Re: [PATCH v10 1/5] thermal: rockchip: add driver for thermal

2014-10-16 Thread Caesar Wang
Vladimir, 在 2014年10月15日 02:08, Vladimir Zapolskiy 写道: On 14.10.2014 20:10, Caesar Wang wrote: Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing to register for direct control

[PATCH v11 0/5] Rockchip soc thermal driver

2014-10-16 Thread Caesar Wang
the SIMPLE_DEV_PM_OPS() function style. Caesar Wang (5): thermal: rockchip: add driver for thermal dt-bindings: document Rockchip thermal ARM: dts: add RK3288 Thermal data ARM: dts: add main Thermal info to rk3288 ARM: dts: enable Thermal on rk3288-evb board .../bindings/thermal/rockchip

[PATCH v11 1/5] thermal: rockchip: add driver for thermal

2014-10-16 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 688 + 3 files changed, 698 insertions(+) create mode 100644 drivers

[PATCH v11 2/5] dt-bindings: document Rockchip thermal

2014-10-16 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../bindings/thermal/rockchip-thermal.txt | 45 ++ 1 file changed, 45

[PATCH v11 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-10-16 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm

[PATCH v11 3/5] ARM: dts: add RK3288 Thermal data

2014-10-16 Thread Caesar Wang
This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 125C. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-thermal.dtsi | 57 +++ 1 file changed, 57

[PATCH v11 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-16 Thread Caesar Wang
This patch is depend on rk3288-thermal.dtsi,or it will compile error. If the temperature over a period of time High,over 120C the resulting TSHUT gave CRU module,let it reset the entire chip,or via GPIO give PMIC. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts

[PATCH v12 0/5] Rockchip soc thermal driver

2014-10-20 Thread Caesar Wang
- rename TSADC_XXX-TSADCV2_XXX,it eill ready to merge compatible other SoCs. - fix a identation - remove clk_set_rate(),it's no necessary. - fix the SIMPLE_DEV_PM_OPS() function style. Caesar Wang (5): thermal: rockchip: add driver for thermal dt-bindings: document Rockchip

[PATCH v12 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-20 Thread Caesar Wang
This patch is depend on rk3288-thermal.dtsi,or it will compile error. If the temperature over a period of time High,over 120C the resulting TSHUT gave CRU module,let it reset the entire chip,or via GPIO give PMIC. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts

[PATCH v12 2/5] dt-bindings: document Rockchip thermal

2014-10-20 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../bindings/thermal/rockchip-thermal.txt | 45 ++ 1 file changed, 45

[PATCH v12 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-10-20 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm

[PATCH v12 1/5] thermal: rockchip: add driver for thermal

2014-10-20 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 725 + 3 files changed, 735 insertions(+) create mode 100644 drivers

[PATCH v13 0/5] Rockchip soc thermal driver

2014-10-23 Thread Caesar Wang
() function style. Caesar Wang (5): thermal: rockchip: add driver for thermal dt-bindings: document Rockchip thermal ARM: dts: add RK3288 Thermal data ARM: dts: add main Thermal info to rk3288 ARM: dts: enable Thermal on rk3288-evb board .../bindings/thermal/rockchip-thermal.txt | 45

[PATCH v13 1/5] thermal: rockchip: add driver for thermal

2014-10-23 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 693 + 3 files changed, 703 insertions(+) create mode 100644 drivers

[PATCH v13 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-23 Thread Caesar Wang
This patch is depend on rk3288-thermal.dtsi,or it will compile error. If the temperature over a period of time High,over 120C the resulting TSHUT gave CRU module,let it reset the entire chip,or via GPIO give PMIC. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts

[PATCH v13 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-10-23 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board, TSHUT is low active on rk3288-evb board. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch

[PATCH v13 2/5] dt-bindings: document Rockchip thermal

2014-10-23 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../bindings/thermal/rockchip-thermal.txt | 53 ++ 1 file changed, 53

Re: [PATCH v13 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-23 Thread Caesar Wang
Dmitry, 在 2014/10/24 8:46, Dmitry Torokhov 写道: Hi Caesar, On Thu, Oct 23, 2014 at 05:40:06PM +0800, Caesar Wang wrote: This patch is depend on rk3288-thermal.dtsi,or it will compile error. If the temperature over a period of time High,over 120C the resulting TSHUT gave CRU module,let

Re: [PATCH v13 3/5] ARM: dts: add RK3288 Thermal data

2014-10-23 Thread Caesar Wang
Dmitry, 在 2014/10/24 8:48, Dmitry Torokhov 写道: Hi Caesar, On Thu, Oct 23, 2014 at 05:40:05PM +0800, Caesar Wang wrote: This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 125C. Signed-off-by: Caesar Wang caesar.w

Re: [PATCH v13 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-23 Thread Caesar Wang
Dmitry, 在 2014/10/24 10:32, Dmitry Torokhov 写道: On Fri, Oct 24, 2014 at 10:06:43AM +0800, Caesar Wang wrote: 在 2014/10/24 9:37, Dmitry Torokhov 写道: On October 23, 2014 6:08:52 PM PDT, Caesar Wang caesar.w...@rock-chips.com wrote: Dmitry, 在 2014/10/24 8:46, Dmitry Torokhov 写道: Hi Caesar

Re: [PATCH v13 1/5] thermal: rockchip: add driver for thermal

2014-10-24 Thread Caesar Wang
在 2014/10/24 16:21, Dmitry Torokhov 写道: On Thu, Oct 23, 2014 at 05:55:46PM -0700, Dmitry Torokhov wrote: Hi Caesar, On Thu, Oct 23, 2014 at 05:40:03PM +0800, Caesar Wang wrote: Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC

[PATCH v14 0/5] Rockchip soc thermal driver

2014-10-26 Thread Caesar Wang
-TSADCV2_XXX,it eill ready to merge compatible other SoCs. - fix a identation - remove clk_set_rate(),it's no necessary. - fix the SIMPLE_DEV_PM_OPS() function style. Caesar Wang (5): thermal: rockchip: add driver for thermal dt-bindings: document Rockchip thermal

[PATCH v14 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-26 Thread Caesar Wang
gave CRU module,let it reset the entire chip,or via GPIO give PMIC. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi

[PATCH v14 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-10-26 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board, TSHUT is low active on rk3288-evb board. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch

[PATCH v14 3/5] ARM: dts: add RK3288 Thermal data

2014-10-26 Thread Caesar Wang
This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 120C. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288-thermal.dtsi | 65 +++ 1 file changed, 65

[PATCH v14 1/5] thermal: rockchip: add driver for thermal

2014-10-26 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 699 + 3 files changed, 709 insertions(+) create mode 100644 drivers

[PATCH v14 2/5] dt-bindings: document Rockchip thermal

2014-10-26 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../bindings/thermal/rockchip-thermal.txt | 53 ++ 1 file changed, 53

  1   2   3   4   >