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
Signed-off-by: Caesar Wang
---
.../bindings/thermal/rockchip
This add the necessary binding documentation for the thermal
found on Rockchip SoCs
Signed-off-by: zhaoyifeng
Signed-off-by: Caesar Wang
Change-Id: I822eba808c76ab51a5562eb61020a4aed4ff555e
---
.../bindings/thermal/rockchip-thermal.txt | 20
1 file changed, 20
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/
-off-by: Caesar Wang
Change-Id: I00e7df78c497704657aff16e602aa56b4c14c6f5
---
drivers/thermal/Kconfig|9 +
drivers/thermal/Makefile |1 +
drivers/thermal/rockchip_thermal.c | 644
3 files changed, 654 insertions(+)
create mode
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
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 "p
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
This add the necessary binding documentation for the thermal
found on Rockchip SoCs
Signed-off-by: zhaoyifeng
Signed-off-by: Caesar Wang
---
.../devicetree/bindings/thermal/rockchip-thermal.txt | 20
1 file changed, 20 insertions(+)
create mode 100644
Documentation
Signed-off-by: Caesar Wang
---
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/arch/arm/boot/dts/rk3288.dtsi
ecessary.
- fix 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/
Signed-off-by: Caesar Wang
---
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/arch/arm/boot/dts/rk3288
-off-by: Caesar Wang
---
drivers/thermal/Kconfig| 9 +
drivers/thermal/Makefile | 1 +
drivers/thermal/rockchip_thermal.c | 669 +
3 files changed, 679 insertions(+)
create mode 100644 drivers/thermal/rockchip_thermal.c
diff --git a
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:
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
---
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
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
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 com
Hi Doug,
I reviewed it, the change is need.
Reviewed-on: https://github.com/rkchrome/kernel.git
Reviewed-by: Caesar Wang
在 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 increase the numb
在 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
Signed-off-by: Caesar Wang
---
.../devicetree/bindings/thermal/rockchip
在 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
Signed-off-by: Caesar Wang
---
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/arch/arm/boot/dts/rk3288.dtsi
: Caesar Wang
---
drivers/thermal/Kconfig| 9 +
drivers/thermal/Makefile | 1 +
drivers/thermal/rockchip_thermal.c | 669 +
3 files changed, 679 insertions(+)
create mode 100644 drivers/thermal/rockchip_thermal.c
diff --git a/drivers
Signed-off-by: Caesar Wang
---
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/arch/arm/boot/dts/rk3288
- 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
This add the necessary binding documentation for the thermal
found on Rockchip SoCs
Signed-off-by: zhaoyifeng
Signed-off-by: Caesar Wang
---
.../devicetree/bindings/thermal/rockchip-thermal.txt | 20
1 file changed, 20 insertions(+)
create mode 100644
Documentation
This patch added to support the PWM controller found on
RK3288 SoC.
Signed-off-by: Caesar Wang
---
drivers/pwm/pwm-rockchip.c | 134 +
1 file changed, 110 insertions(+), 24 deletions(-)
diff --git a/drivers/pwm/pwm-rockchip.c b/drivers/pwm/pwm
Document new compatible for PWM founding on RK3288 SoC
Signed-off-by: Caesar Wang
---
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
b/Documentation/devicetree
ers
- Changed in rockchip_pwm_data struct
- remove the devm_ioremap(),fixed in lcdc driver.
Changes in v2:
* address comments from Beniamino Galvani:
- remove #include .
- of_iomap be removed,and devm_ioremap replace it.
- remove a line no be used.
Caesar Wang (2):
pwm: rockchip:
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
---
arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288
(),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: enable Thermal on rk
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
---
arch/arm/boot/dts/rk3288.dtsi | 21
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
---
arch/arm/boot/dts/rk3288-thermal.dtsi | 65 +++
1 file changed, 65 insertions(+)
create mode
This add the necessary binding documentation for the thermal
found on Rockchip SoCs
Signed-off-by: zhaoyifeng
Signed-off-by: Caesar Wang
---
.../bindings/thermal/rockchip-thermal.txt | 53 ++
1 file changed, 53 insertions(+)
create mode 100644
Documentation
: Caesar Wang
---
drivers/thermal/Kconfig| 9 +
drivers/thermal/Makefile | 1 +
drivers/thermal/rockchip_thermal.c | 693 +
3 files changed, 703 insertions(+)
create mode 100644 drivers/thermal/rockchip_thermal.c
diff --git a/drivers
gave CRU module,let it reset the entire chip,
or via GPIO give PMIC.
Signed-off-by: zhaoyifeng
Signed-off-by: Caesar Wang
Reviewed-by: Dmitry Torokhov
---
drivers/thermal/Kconfig| 9 +
drivers/thermal/Makefile | 1 +
drivers/thermal/rockchip_thermal.c | 711
ructure has changed
- Decomposition power-controller, changed to multiple controller
(gpu-power-controller, hevc-power-controller)
Changes in v2:
- remove the "pd->pd.of_node = np"
- move clocks to "optional"
- make pd_vio clocks all one entry per line
Signed-off-by: Jack Dai
Signed-off-by: jinkun.hong
Signed-off-by: Caesar Wang
---
Changes in v8:
- document go back to v2
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3:
- DT structure has changed
Changes in v2:
- move clocks to
In order to meet high performance and low power requirements, a power
management unit is designed or saving power when RK3288 in low power mode.
The RK3288 PMU is dedicated for managing the power ot the whole chip.
Signed-off-by: Jack Dai
Signed-off-by: jinkun.hong
Signed-off-by: Caesar Wang
Signed-off-by: Jack Dai
Signed-off-by: jinkun.hong
Signed-off-by: Caesar Wang
---
Changes in v8:
- DTS go back to v2
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3:
- Decomposition power-controller, changed to multiple controller
在 2014年11月06日 16:45, Kever Yang 写道:
Hi Caesar,
On 11/06/2014 02:22 PM, Caesar Wang wrote:
Signed-off-by: Jack Dai
Signed-off-by: jinkun.hong
Signed-off-by: Caesar Wang
pls detail the reason why you need to add all the clocks into
power-controller node.
OK, I will fix in next patch v9 if
在 2014年11月06日 17:06, Kever Yang 写道:
On 11/06/2014 02:22 PM, Caesar Wang wrote:
In order to meet high performance and low power requirements, a power
management unit is designed or saving power when RK3288 in low power
mode.
The RK3288 PMU is dedicated for managing the power ot the whole
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
Signed-off-by: Caesar Wang
Reviewed-by: Dmitry Torokhov
: Caesar Wang
Reviewed-by: Dmitry Torokhov
---
drivers/thermal/Kconfig| 9 +
drivers/thermal/Makefile | 1 +
drivers/thermal/rockchip_thermal.c | 711 +
3 files changed, 721 insertions(+)
create mode 100644 drivers/thermal
This add the necessary binding documentation for the thermal
found on Rockchip SoCs
Signed-off-by: zhaoyifeng
Signed-off-by: Caesar Wang
Reviewed-by: Dmitry Torokhov
---
.../bindings/thermal/rockchip-thermal.txt | 63 ++
1 file changed, 63 insertions(+)
create
This patch changes a dtsi file to contain the thermal data
on RK3288 and later SoCs. This data will
enable a thermal shutdown over 100C.
Signed-off-by: Caesar Wang
Reviewed-by: Dmitry Torokhov
---
arch/arm/boot/dts/rk3288-thermal.dtsi | 78 +++
1 file changed
r:
- fix dt-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() functi
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
Reviewed-by: Dmitry Torokhov
---
arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a
gave CRU module,let it reset
the entire chip,or via GPIO give PMIC.
Signed-off-by: Caesar Wang
Reviewed-by: Dmitry Torokhov
---
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
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
Signed-off-by: Caesar Wang
---
.../bindings/thermal/rockchip
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 to
This add the necessary binding documentation for the thermal
found on Rockchip SoCs
Signed-off-by: zhaoyifeng
Signed-off-by: Caesar Wang
---
.../bindings/thermal/rockchip-thermal.txt | 62 ++
1 file changed, 62 insertions(+)
create mode 100644
Documentation
gave CRU module,let it reset
the entire chip,or via GPIO give PMIC.
Signed-off-by: Caesar Wang
Reviewed-by: Dmitry Torokhov
---
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
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
Reviewed-by: Dmitry Torokhov
---
arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a
o 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
ARM: dts: add RK3288 Ther
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
Reviewed-by: Dmitry Torokhov
---
arch/arm/boot/dts/rk3288-thermal.dtsi | 65 +++
1 file changed
: Caesar Wang
---
drivers/thermal/Kconfig| 9 +
drivers/thermal/Makefile | 1 +
drivers/thermal/rockchip_thermal.c | 705 +
3 files changed, 715 insertions(+)
create mode 100644 drivers/thermal/rockchip_thermal.c
diff --git a/drivers
: Caesar Wang
Reviewed-by: Dmitry Torokhov
---
drivers/thermal/Kconfig| 9 +
drivers/thermal/Makefile | 1 +
drivers/thermal/rockchip_thermal.c | 709 +
3 files changed, 719 insertions(+)
create mode 100644 drivers/thermal
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
Reviewed-by: Dmitry Torokhov
---
arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a
gave CRU module,let it reset
the entire chip,or via GPIO give PMIC.
Signed-off-by: Caesar Wang
Reviewed-by: Dmitry Torokhov
---
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
This add the necessary binding documentation for the thermal
found on Rockchip SoCs
Signed-off-by: zhaoyifeng
Signed-off-by: Caesar Wang
Reviewed-by: Dmitry Torokhov
---
.../bindings/thermal/rockchip-thermal.txt | 62 ++
1 file changed, 62 insertions(+)
create
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
Reviewed-by: Dmitry Torokhov
---
arch/arm/boot/dts/rk3288-thermal.dtsi | 65 +++
1 file changed
* address comments from Heiko Stubner:
- fix dt-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
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
在 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
Signed-off-by: Caesar Wang
Reviewed-by: Dmitry Torokhov
Added.
Thank you
Doug,
在 2014年10月14日 00:11, Doug Anderson 写道:
Caesar,
On Sat, Oct 11, 2014 at 12:29 AM, Caesar Wang
wrote:
+static void rk_tsadcv2_initialize(int reset_mode, int chn, void __iomem *regs,
+ unsigned long hw_shut_temp)
+{
+ u32 shutdown_value
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
---
arch/arm/boot/dts/rk3288.dtsi | 20
when a thermal temperature over TSHUT.Default to via
CRU reset the entire chip on rk3288-evb Board
Signed-off-by: Caesar Wang
---
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
: Caesar Wang
---
drivers/thermal/Kconfig| 9 +
drivers/thermal/Makefile | 1 +
drivers/thermal/rockchip_thermal.c | 667 +
3 files changed, 677 insertions(+)
create mode 100644 drivers/thermal/rockchip_thermal.c
diff --git a/drivers
ADCV2_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
AR
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
---
arch/arm/boot/dts/rk3288-thermal.dtsi | 57 +++
1 file changed, 57 insertions(+)
create mode
This add the necessary binding documentation for the thermal
found on Rockchip SoCs
Signed-off-by: zhaoyifeng
Signed-off-by: Caesar Wang
---
.../bindings/thermal/rockchip-thermal.txt | 45 ++
1 file changed, 45 insertions(+)
create mode 100644
Documentation
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 it
在 2014/10/24 9:37, Dmitry Torokhov 写道:
On October 23, 2014 6:08:52 PM PDT, Caesar Wang
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,or
it will compile error.
If
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
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
wrote:
Dmitry,
在 2014/10/24 8:46, Dmitry Torokhov 写道:
Hi Caesar,
On Thu, Oct 23, 2014 at 05
在 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
: Caesar Wang
---
drivers/thermal/Kconfig| 9 +
drivers/thermal/Makefile | 1 +
drivers/thermal/rockchip_thermal.c | 699 +
3 files changed, 709 insertions(+)
create mode 100644 drivers/thermal/rockchip_thermal.c
diff --git a/drivers
gave CRU module,let it reset
the entire chip,or via GPIO give PMIC.
Signed-off-by: Caesar Wang
---
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
index cb18bb4..85855a6 100644
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
---
arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288
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
---
arch/arm/boot/dts/rk3288-thermal.dtsi | 65 +++
1 file changed, 65 insertions(+)
create mode
ermal.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: rockch
This add the necessary binding documentation for the thermal
found on Rockchip SoCs
Signed-off-by: zhaoyifeng
Signed-off-by: Caesar Wang
---
.../bindings/thermal/rockchip-thermal.txt | 53 ++
1 file changed, 53 insertions(+)
create mode 100644
Documentation
This add the necessary binding documentation for the power domain
found on Rockchip Socs.
Signed-off-by: Jack Dai
Signed-off-by: jinkun.hong
Signed-off-by: Caesar Wang
---
Changes in v9:
- add document decription
Changes in v8:
- document go back to v2
Changes in v7: None
Changes
syncchronous reset and
then sync revoked.so we need to enable clocks of all devices.
Signed-off-by: Jack Dai
Signed-off-by: jinkun.hong
Signed-off-by: Caesar Wang
---
Changes in v9:
- add decription for power-doamin node
Changes in v8:
- DTS go back to v2
Changes in v7: None
Changes in
ntroller, changed to multiple controller
(gpu-power-controller, hevc-power-controller)
Changes in v2:
- move clocks to "optional"
- remove the "pd->pd.of_node = np"
- make pd_vio clocks all one entry per line and alphabetize.
- power: power-controller move ba
In order to meet high performance and low power requirements, a power
management unit is designed or saving power when RK3288 in low power mode.
The RK3288 PMU is dedicated for managing the power ot the whole chip.
Signed-off-by: Jack Dai
Signed-off-by: jinkun.hong
Signed-off-by: Caesar Wang
This add the necessary binding documentation for the power domain
found on Rockchip Socs.
Signed-off-by: jinkun.hong
Signed-off-by: Caesar Wang
---
Changes in v16:
- remove the pmu node.
Changes in v15: None
Changes in v14: None
Changes in v13: None
Changes in v12: None
Changes in v11: None
position power-controller, changed to multiple controller
(gpu-power-controller, hevc-power-controller).
Changes in v2:
- move clocks to "optional".
- remove the "pd->pd.of_node = np".
- make pd_vio clocks all one entry per line and alphabetize.
- power: power-control
corresponding registers.
Signed-off-by: jinkun.hong
Signed-off-by: Caesar Wang
---
Changes in v16:
- the driver type from tristate to bool.
- Letter misspelled.
- As Ulf suggestion, remove #include ,
use "%pC" as the formatting string for the dev_dbg().
- As the Ulf suggestion, set the genpd
| | -
|-- -- | |VD_PMU |PD_PMU|
-
VD_* : voltage domain
PD_* : power domain
At the moment, we can support some power-domain type on RK3288.
We can add more types on RK3288 in the future, that's need to do.
Signed-off-by: Caesar
-off-by: Caesar Wang
---
Changes in v16:
- Manually copy the problem in patch v15.
- rebase the description.
Changes in v15:
- As Tomasz remarked previously the dts should represent the hardware
and the power-domains are part of the pmu.
Changes in v14:
- Remove essential clocks from rk3288
在 2015年08月26日 06:45, Kevin Hilman 写道:
Doug Anderson writes:
Kevin,
On Tue, Aug 25, 2015 at 2:07 PM, Kevin Hilman wrote:
Caesar Wang writes:
We can add more domains node in the future.
This patch add the needed clocks into power-controller.
As the discuess about all the device clocks
在 2015年08月26日 04:57, Kevin Hilman 写道:
Caesar Wang writes:
This driver is found on RK3288 SoCs.
In order to meet high performance and low power requirements, a power
management unit is designed or saving power when RK3288 in low power
mode.
The RK3288 PMU is dedicated for managing the power
Dear Dmitry,
Thanks your patch.
The code looks like fine,but I don't think the TS-ADC will work on
rk3288 SoC.
在 2015年08月08日 04:59, Dmitry Torokhov 写道:
We attempted to signal invalid code by returning -EAGAIN from
rk_tsadcv2_code_to_temp(), unfortunately the return value was stuffed
directly
Sorry, forgot it!
\s 'rockhip' to 'rockchip' :-)
在 2015年08月10日 14:34, Caesar Wang 写道:
Dear Dmitry,
Thanks to work for it.
在 2015年08月08日 05:00, Dmitry Torokhov 写道:
When requested thermal shutdown signal polarity is low we need to make
sure that the bit representing hig
TSADCV2_INT_PD_CLEAR_MASK to better
reflect its nature.
Signed-off-by: Dmitry Torokhov
Acked-by: Caesar Wang
--
Thanks,
Caesar
---
drivers/thermal/rockchip_thermal.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/thermal/rockchip_thermal.c
b/drivers
在 2015年08月10日 15:59, Dmitry Torokhov 写道:
Hi Caesar,
On Sun, Aug 9, 2015 at 11:30 PM, Caesar Wang wrote:
Dear Dmitry,
Thanks your patch.
The code looks like fine,but I don't think the TS-ADC will work on rk3288
SoC.
What do you mean? It seems to work when I ran it...
Making a mi
] r4:
...
Signed-off-by: Shuyu Wei
Tested-by: Michael Niewoehner
Tested-by: Xing Zheng
Cc: "David S. Miller"
Cc: Alexander Kochetkov
Cc: net...@vger.kernel.org
Signed-off-by: Caesar Wang
---
drivers/net/ethernet/arc/emac_main.c | 14 +++---
1 file changed, 7 i
ence for tsadc controller").
Cc: Zhang Rui
Cc: Eduardo Valentin
Cc: Heiko Stuebner
Suggested-by: Eduardo Valentin
Signed-off-by: Caesar Wang
---
drivers/thermal/rockchip_thermal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/thermal/rockchip_thermal
在 2016年04月28日 23:04, Eduardo Valentin 写道:
On Thu, Apr 28, 2016 at 09:50:29AM +0800, Caesar Wang wrote:
在 2016年04月28日 07:48, Eduardo Valentin 写道:
On Mon, Apr 18, 2016 at 11:35:56AM +0800, Caesar Wang wrote:
+ regmap_write(grf, GRF_TSADC_TESTBIT_L, GRF_TSADC_TSEN_PD_ON
在 2016年04月28日 05:48, Eduardo Valentin 写道:
A couple of comments as follows,
On Mon, Apr 25, 2016 at 11:02:44AM +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
201 - 300 of 936 matches
Mail list logo