[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 v3 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-07-23 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 | 141 +++-- 1 file changed, 122 insertions(+), 19 deletions(-) diff --git a/drivers/pwm/pwm

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

2014-07-23 Thread Caesar Wang
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: document RK3288

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

2014-07-23 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 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

[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 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

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 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 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 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 v5 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-08-08 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 | 134 + 1 file changed, 110 insertions(+), 24 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

[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 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 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 3/5] ARM: dts: add RK3288 Thermal data

2014-10-23 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 | 65 +++ 1 file changed, 65

[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

[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

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 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-23 Thread Caesar Wang
在 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, On Thu, Oct 23, 2014 at 05:40:06PM +0800, Caesar Wang wrote: This patch is depend on rk3288-thermal.dtsi

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 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 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 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 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

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 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 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 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 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 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 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 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 3/5] ARM: dts: add RK3288 Thermal data

2014-10-20 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 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

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 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 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

[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 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 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

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:

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

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

2014-10-27 Thread Caesar Wang
Dmitry, 在 2014年10月28日 08:29, Dmitry Torokhov 写道: On Mon, Oct 27, 2014 at 10:39:45AM +0800, Caesar Wang wrote: 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 v14 1/5] thermal: rockchip: add driver for thermal

2014-10-28 Thread Caesar Wang
Dmitry, 在 2014年10月28日 08:32, Dmitry Torokhov 写道: Hi Caesar, On Mon, Oct 27, 2014 at 10:39:44AM +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 v15 2/5] dt-bindings: document Rockchip thermal

2014-10-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 | 62 ++ 1 file changed, 62

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

2014-10-28 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 Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- arch/arm/boot/dts/rk3288.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm

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

2014-10-28 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 Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 6

[PATCH v15 0/5] Rockchip soc thermal driver

2014-10-28 Thread Caesar Wang
- 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 Thermal info to rk3288 ARM: dts

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

2014-10-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 120C. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- arch/arm/boot/dts/rk3288-thermal.dtsi | 65

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

2014-10-28 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 | 705 + 3 files changed, 715 insertions(+) create mode 100644 drivers

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

2014-10-28 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 709 + 3 files

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

2014-10-28 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 Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 6

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

2014-10-28 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 Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- arch/arm/boot/dts/rk3288.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm

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

2014-10-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 Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- .../bindings/thermal/rockchip-thermal.txt

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

2014-10-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 120C. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- arch/arm/boot/dts/rk3288-thermal.dtsi | 65

[PATCH v16 0/5] Rockchip soc thermal driver

2014-10-28 Thread Caesar Wang
-bindings 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

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

2014-10-28 Thread Caesar Wang
Dmitry, Fixed and sent in patch v16. 在 2014年10月29日 07:46, Dmitry Torokhov 写道: Hi Caesar, On Tue, Oct 28, 2014 at 04:51:23PM +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

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

2014-10-28 Thread Caesar Wang
在 2014年10月29日 07:46, Dmitry Torokhov 写道: On Tue, Oct 28, 2014 at 04:51:24PM +0800, Caesar Wang wrote: 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 v16 2/5] dt-bindings: document Rockchip thermal

2014-10-30 Thread Caesar Wang
Heiko, 在 2014年10月31日 04:17, Heiko Stübner 写道: Am Mittwoch, 29. Oktober 2014, 10:32:36 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

[PATCH] ARM: dts: fix PWM clock found on RK3288 Socs

2014-11-18 Thread Caesar Wang
We use the new PWM IP on RK3288,but the PWM's clock indeed incorrect. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi

Re: [PATCH] ARM: dts: fix PWM clock found on RK3288 Socs

2014-11-19 Thread Caesar Wang
Doug, 在 2014/11/19 13:14, Doug Anderson 写道: Caesar, On Tue, Nov 18, 2014 at 7:25 PM, Caesar Wang caesar.w...@rock-chips.com wrote: We use the new PWM IP on RK3288,but the PWM's clock indeed incorrect. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- arch/arm/boot/dts/rk3288.dtsi

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-09 Thread Caesar Wang
Dear Eduardo, I'm sorry for it. I just received this message.Maybe my mailbox has a problem. Thank you for your comments. 在 2014年08月31日 04:09, Eduardo Valentin 写道: Hello Ceasar, On Wed, Sep 03, 2014 at 10:10:36AM +0800, Caesar Wang wrote: Thermal is TS-ADC Controller module supports user

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 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 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 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 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

[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

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

[PATCH v19 0/5] Rockchip soc thermal driver

2014-11-23 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 v19 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-11-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 Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- arch/arm/boot/dts/rk3288-evb.dtsi | 6

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

2014-11-23 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 Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- arch/arm/boot/dts/rk3288.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm

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

2014-11-23 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 90C. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- arch/arm/boot/dts/rk3288-thermal.dtsi | 78

[PATCH v19 2/5] thermal: rockchip: add driver for thermal

2014-11-23 Thread Caesar Wang
-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/thermal/Kconfig| 10 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 693 + 3 files

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

2014-11-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 Reviewed-by: Dmitry Torokhov dmitry.torok...@gmail.com --- .../bindings/thermal/rockchip-thermal.txt

Re: [PATCH v19 0/5] Rockchip soc thermal driver

2014-11-24 Thread Caesar Wang
Heiko, 在 2014年11月25日 07:39, Heiko Stübner 写道: Hi Caesar, Am Montag, 24. November 2014, 16:18:12 schrieb Eduardo Valentin: Hello Caesar, On Mon, Nov 24, 2014 at 12:58:57PM +0800, Caesar Wang wrote: This series patchs tested on rk3288 SDK board and pinky-v1,v2 board. I believe the driver can

[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

  1   2   3   4   5   6   7   8   9   10   >