[PATCH 3/3] ARM64: dts: rk3368: Add mailbox device nodes

2015-09-14 Thread Caesar Wang
This adds mailbox device nodes in dts. mailbox is used by the Rockchip CPU cores to communicate requests to MCU processormZ Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip

Re: [PATCH] thermal: rockchip: fix handling of invalid readings

2015-09-14 Thread Caesar Wang
Hello Eduardo, I guess you forgot to review/pick up this series patchs. Another patch as follows: [PATCH] thermal: rockhip: fix setting thermal shutdown polarity https://patchwork.kernel.org/patch/6973131/ Thanks, Caesar 在 2015年08月10日 18:22, Caesar Wang 写道: 在 2015年08月10日 15:59

[PATCH 0/5] Fix a trivial typo and support rk3228/rk3399 SoCs for thermal driver.

2015-11-25 Thread Caesar Wang
rning came from Dan Carpenter report smatch check, Thanks. :) PATCH[3/5]: Add the rk3228/rk339 SoCs compatible for dt-bindings. PATCH[4/5]: Add the rk3228 SoCs for thermal driver. PATCH[5/5]: Add the rk3399 SoCs for thermal driver. Caesar Wang (5): thermal: rockchip: fix a trivial typo

[PATCH 2/5] thermal: rockchip: fix a impossible condition caused by the warning

2015-11-25 Thread Caesar Wang
ented as int not long in the thermal driver. Fixes: commit 437df2172e8d ("thermal: rockchip: consistently use int for temperatures") Reported-by: Dan Carpenter Signed-off-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 del

[PATCH 3/5] dt-bindings: rockchip-thermal: Support the RK3228/RK3399 SoCs compatible

2015-11-25 Thread Caesar Wang
This patchset attempts to new compatible for thermal founding on RK3228/RK3399 SoCs. Signed-off-by: Caesar Wang --- Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/rockchip

[PATCH 1/5] thermal: rockchip: fix a trivial typo

2015-11-25 Thread Caesar Wang
Signed-off-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c index e845841..85a7930 100644 --- a/drivers/thermal/rockchip_thermal.c +++ b

[PATCH 4/5] thermal: rockchip: Support the RK3228 SoCs in thermal driver

2015-11-25 Thread Caesar Wang
The RK3228 SoCs has one Temperature Sensor, channel 0 is for CPU. Signed-off-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 81 ++ 1 file changed, 81 insertions(+) diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal

[PATCH 5/5] thermal: rockchip: Support the RK3399 SoCs in thermal driver

2015-11-25 Thread Caesar Wang
The RK3399 SoCs have two Temperature Sensors, channel 0 is for CPU. channel 1 is for GPU. Signed-off-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 66 ++ 1 file changed, 66 insertions(+) diff --git a/drivers/thermal/rockchip_thermal.c b/drivers

Re: [PATCH] ASoC: rockchip: Fix incorrect VDW value for 24 bit

2015-11-25 Thread Caesar Wang
x0) +#define SPDIF_CFGR_VDW_20 SPDIF_CFGR_VDW(0x1) +#define SPDIF_CFGR_VDW_24 SPDIF_CFGR_VDW(0x2) Yep, From the TRM says: (RK3288/RK3368...) VDW Valid data width 00: 16bit 01: 20bit 10: 24bit 11: reserved So feel free add my tag: Reviewed-by: Caesar Wang /* * DMACR --

Re: [PATCH 3/5] dt-bindings: rockchip-thermal: Support the RK3228/RK3399 SoCs compatible

2015-11-25 Thread Caesar Wang
在 2015年11月25日 22:56, Heiko Stübner 写道: Am Mittwoch, 25. November 2015, 15:59:35 schrieb Caesar Wang: This patchset attempts to new compatible for thermal founding on RK3228/RK3399 SoCs. Signed-off-by: Caesar Wang --- Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 2

[PATCH v1 0/5] Fix a trivial typo and support rk3228/rk3399 SoCs for thermal driver.

2015-11-26 Thread Caesar Wang
ivial typo for me. - As Heiko comments, fix a copy incorrect name. - Add a Acked from Rob. - fix a irq ack is similar with RK3228 SoCs. Caesar Wang (5): thermal: rockchip: fix a trivial typo thermal: rockchip: fix a impossible condition caused by the warning dt-bindings: rockchip-thermal: S

[PATCH v1 3/5] dt-bindings: rockchip-thermal: Support the RK3228/RK3399 SoCs compatible

2015-11-26 Thread Caesar Wang
This patchset attempts to new compatible for thermal founding on RK3228/RK3399 SoCs. Signed-off-by: Caesar Wang Acked-by: Rob Herring --- Changes in v1: - As Heiko comments, fix a copy incorrect name. - Add a Acked from Rob. Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 2

[PATCH v1 5/5] thermal: rockchip: Support the RK3399 SoCs in thermal driver

2015-11-26 Thread Caesar Wang
The RK3399 SoCs have two Temperature Sensors, channel 0 is for CPU. channel 1 is for GPU. Signed-off-by: Caesar Wang --- Changes in v1: - fix a irq ack is similar with RK3228 SoCs. drivers/thermal/rockchip_thermal.c | 66 ++ 1 file changed, 66 insertions

[PATCH v1 4/5] thermal: rockchip: Support the RK3228 SoCs in thermal driver

2015-11-26 Thread Caesar Wang
The RK3228 SoCs has one Temperature Sensor, channel 0 is for CPU. Signed-off-by: Caesar Wang --- Changes in v1: None drivers/thermal/rockchip_thermal.c | 81 ++ 1 file changed, 81 insertions(+) diff --git a/drivers/thermal/rockchip_thermal.c b/drivers

[PATCH v1 1/5] thermal: rockchip: fix a trivial typo

2015-11-26 Thread Caesar Wang
This patchset trys to dictate unified format for driver. Signed-off-by: Caesar Wang --- Changes in v1: - Search more trivial typo for me. drivers/thermal/rockchip_thermal.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/thermal

[PATCH v1 2/5] thermal: rockchip: fix a impossible condition caused by the warning

2015-11-26 Thread Caesar Wang
ented as int not long in the thermal driver. Fixes: commit 437df2172e8d ("thermal: rockchip: consistently use int for temperatures") Reported-by: Dan Carpenter Signed-off-by: Caesar Wang --- Changes in v1: None drivers/thermal/rockchip_thermal.c | 2 +- 1 file changed, 1 insertion(+

[PATCH v1 0/6] Support the thermal for RK3368 SoCs

2015-10-29 Thread Caesar Wang
one1/temp:32500 /sys/class/thermal/thermal_zone0/temp:32500 Changes in v1: - %s/thermal/rockchip-thermal in subject. - add a new patch for thermal driver to support more SoCs. - As Dmitry comment, make the conversion table in as a parameter. - support the opt gpio pinctrl state Caesar Wang (

[PATCH v1 1/6] dt-bindings: rockchip-thermal: Support the RK3368 SoCs compatible

2015-10-29 Thread Caesar Wang
This patchset attempts to new compatible for thermal founding on RK3368 SoCs. Signed-off-by: Caesar Wang --- Changes in v1: - %s/thermal/rockchip-thermal in subject. Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[PATCH v1 2/6] thermal: rockchip: better to compatible the driver for different SoCs

2015-10-29 Thread Caesar Wang
The current driver is default to register the two thermal sensors in probe since some SoCs maybe only have one sensor for thermal. In some cases, the channel 0 is not always the cpu or gpu sensor. So add the channel can be configured for sensors. Signed-off-by: Caesar Wang --- Changes in v1

[PATCH v1 4/6] arm64: dts: Add the thermal data found on RK3368

2015-10-29 Thread Caesar Wang
critical temperature for thermal over-tempeature protection on Software. Signed-off-by: Caesar Wang --- Changes in v1: None arch/arm64/boot/dts/rockchip/rk3368-thermal.dtsi | 112 +++ 1 file changed, 112 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3368

[PATCH v1 5/6] arm64: dts: Add main Thermal info to rk3368.dtsi

2015-10-29 Thread Caesar Wang
This patch add the thermal needed info on RK3368. Meanwhile, support the trips to throttle for thermal. Signed-off-by: Caesar Wang --- Changes in v1: - support the opt gpio pinctrl state arch/arm64/boot/dts/rockchip/rk3368.dtsi | 36 1 file changed, 36

[PATCH v1 3/6] thermal: rockchip: Support the RK3368 SoCs in thermal driver

2015-10-29 Thread Caesar Wang
The RK3368 SoCs support to 2 channel TS-ADC, the temperature criteria of each channel can be configurable. The system has two Temperature Sensors, channel 0 is for CPU, and channel 1 is for GPU. Signed-off-by: Caesar Wang --- Changes in v1: - As Dmitry comment, make the conversion table in as

[PATCH v1 6/6] arm64: dts: Enable the Thermal on R88 board

2015-10-29 Thread Caesar Wang
This patch enable the TS-ADC. When a thermal temperature is invoked use the CRU to reset the chip on R88 board. TSHUT is low active on this board. Signed-off-by: Caesar Wang --- Changes in v1: None arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 6 ++ 1 file changed, 6 insertions(+) diff

[PATCH v7 0/9] Fix broken DMAFLUSHP on Rockchips platform

2016-01-22 Thread Caesar Wang
remove Sunny's tag - rename broken-no-flushp to "arm,pl330-broken-no-flushp" suggested by Krzysztof. Addy Ke (3): dmaengine: pl330: add quirk for broken no flushp ARM: dts: Add arm, pl330-broken-no-flushp quirk for rk3288 platform spi: rockchip: modify DMA max burst to 1 Bo

[PATCH v7 5/9] ARM: dts: Add arm, pl330-broken-no-flushp quirk for rk3xxx platform

2016-01-22 Thread Caesar Wang
From: Shawn Lin Pl330 integrated in rk3xxx platform doesn't support DMAFLUSHP function. So we add arm,pl330-broken-no-flushp quirk for it. Signed-off-by: Shawn Lin cc: Heiko Stuebner cc: Doug Anderson cc: Olof Johansson Signed-off-by: Caesar Wang --- Changes in v7: None Changes

[PATCH v7 1/9] dmaengine: pl330: support burst mode for dev-to-mem and mem-to-dev transmit

2016-01-22 Thread Caesar Wang
From: Boojin Kim This patch adds to support burst mode for dev-to-mem and mem-to-dev transmit. Signed-off-by: Boojin Kim Signed-off-by: Addy Ke Signed-off-by: Shawn Lin cc: Heiko Stuebner cc: Doug Anderson cc: Olof Johansson Reviewed-by: Sonny Rao Signed-off-by: Caesar Wang

[PATCH v7 2/9] dt/bindings: arm-pl330: add description of arm, pl330-broken-no-flushp

2016-01-22 Thread Caesar Wang
From: Shawn Lin This patch adds the "arm, pl330-broken-no-flushp" for arm-pl330. Reviewed-by: Doug Anderson Reviewed-by: Sonny Rao Signed-off-by: Shawn Lin Signed-off-by: Caesar Wang --- Changes in v7: - modify the subject to be better match. Changes in v6: None Changes i

[PATCH v7 9/9] spi: rockchip: modify DMA max burst to 1

2016-01-22 Thread Caesar Wang
dy ke Fixes: 64e36824b32b06 ("spi/rockchip: add driver for Rockchip...") Signed-off-by: Shawn Lin cc: Heiko Stuebner cc: Olof Johansson cc: Doug Anderson cc: Sonny Rao Acked-by: Mark Brown Signed-off-by: Caesar Wang --- Changes in v7: None Changes in v6: - remove quirks and get dm

[PATCH v7 8/9] dmaengine: pl330: add max burst for dmaengine

2016-01-22 Thread Caesar Wang
From: Shawn Lin This patch add max burst capability for dmaengine and limit burst capability to one for PL330_QUIRK_BROKEN_NO_FLUSHP Signed-off-by: Shawn Lin Signed-off-by: Caesar Wang --- Changes in v7: - fix the subject. Changes in v6: - remove expose quirks and add max_burst for

[PATCH v7 7/9] dmaengine: core: expose max burst capability to clients

2016-01-22 Thread Caesar Wang
From: Shawn Lin This patch add max_burst to dma_get_slave_caps for clients to get the burst capability of slave dma controller. Signed-off-by: Shawn Lin Signed-off-by: Caesar Wang --- Changes in v7: - fix the subject. Changes in v6: - remove expose quirk and add dma max_burst caps for

[PATCH v7 6/9] ARM: dts: add pl330-broken-no-flushp quirk for rk3036 SoCs

2016-01-22 Thread Caesar Wang
Pl330 integrated in rk3036 platform that doesn't support DMAFLUSHP function. So we add 'arm,pl330-broken-no-flushp' quirk for rk3036. Signed-off-by: Caesar Wang --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2:

[PATCH v7 3/9] dmaengine: pl330: add quirk for broken no flushp

2016-01-22 Thread Caesar Wang
From: Addy Ke This patch add "arm,pl330-broken-no-flushp" quirk to avoid execute DMAFLUSHP if Soc doesn't support it. Signed-off-by: Addy Ke Signed-off-by: Shawn Lin cc: Doug Anderson cc: Heiko Stuebner cc: Olof Johansson Reviewed-by: Sonny Rao Signed-off-by: Caesar Wang

[PATCH v7 4/9] ARM: dts: Add arm, pl330-broken-no-flushp quirk for rk3288 platform

2016-01-22 Thread Caesar Wang
y Rao Signed-off-by: Caesar Wang --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - add Reviewed-by: Sonny Rao Changes in v2: - amend the author - add Reviewed-by: Doug Anderson - amend Olof's mail address Changes in v1: - rename broken-no

Re: [PATCH v3 1/2] drm: rockchip/hdmi: add Innosilicon HDMI support

2016-01-23 Thread Caesar Wang
Hi 在 2016年01月18日 09:21, Mark yao 写道: Hi Yakir I'd like you can change your patch title into "drm/rockchip/hdmi", so when I search patches use "drm/rockchip" can find your patch. and I have some advices mail inline. Thanks:-) On 2016年01月15日 17:38, Yakir Yang wrote: The Innosilicon HDMI is

[PATCH] arm64: dts: rockchip: fix the incorrect otp-out pin on rk3368

2016-02-14 Thread Caesar Wang
This patch fixes the incorrect Over-temperature protection pin. since the rk3368 io list said the otp pin is gpio0a3. Anyway, that should be fixed in here. Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[RESEND PATCH 1/8] clk: rockchip: add id of the tsadc clock found on rk3228 SoCs

2016-02-14 Thread Caesar Wang
This patch adds 'SCLK_TSADC' and 'PCLK_TSADC' id found on rk3228 SoCs. That will be needed by TSADC controller. Signed-off-by: Caesar Wang --- include/dt-bindings/clock/rk3228-cru.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/rk3228

[RESEND PATCH 0/8] Support and fixes the rk3228 SoCS for thermal

2016-02-14 Thread Caesar Wang
he rk3228/rk3399 SoCs design. Hi Heiko, PATCH[7/8-8/8]: thermal DTS 1) add the thermal main info found on rk3228 2) enable the tsadc for rk3228 evb I'd appreciate if someone have free time to review that. :) Caesar Wang (7): clk: rockchip: add id of the tsadc clock found on rk3228 SoCs clk

[RESEND PATCH 7/8] ARM: dts: rockchip: add the thermal main info found on rk3228

2016-02-14 Thread Caesar Wang
zones: Add the needed device mode for thermal generic framework. Detail in Documentation/devicetree/bindings/thermal/thermal.txt. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3228.dtsi | 69 +++ 1 file changed, 69 insertions(+) diff --git a/arch/arm

[RESEND PATCH 3/8] thermal: rockchip: fix a impossible condition caused by the warning

2016-02-14 Thread Caesar Wang
the temperature is currently represented as int not long in the thermal driver. Let's change to make shut_temp instead of the thermal->tshut_temp for the condition. Fixes: commit 437df2172e8d ("thermal: rockchip: consistently use int for temperatures") Reported-by: Dan Carpen

[RESEND PATCH 5/8] thermal: rockchip: the rename compatibles for rockchip SoCs

2016-02-14 Thread Caesar Wang
This patch renames to be more adapter compatibles since more and more SoCs are supported in thermal driver. Reported-by: Huang,Tao Signed-off-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 50 +- 1 file changed, 28 insertions(+), 22 deletions

[RESEND PATCH 2/8] clk: rockchip: add the tsadc clocks found on rk3228 SoCs

2016-02-14 Thread Caesar Wang
This patch adds the needed clocks for rk3228 tsadc. Signed-off-by: Caesar Wang --- drivers/clk/rockchip/clk-rk3228.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3228.c b/drivers/clk/rockchip/clk-rk3228.c index c515915..ac014b9 100644

[RESEND PATCH 8/8] ARM: dts: rockchip: enable the tsadc for rk3228 evb

2016-02-14 Thread Caesar Wang
This patch enables the tsadc for rk3228 evb board. The rk3228 evb board uses the CRU to reset the chip since it hasn't the PMIC to connect it, and TSHUT is low active on evb board. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3228-evb.dts | 7 +++ 1 file changed, 7 inser

[RESEND PATCH 6/8] thermal: rockchip: fix the tsadc sequence output on rk3228/rk3399

2016-02-14 Thread Caesar Wang
SoCs in thermal driver" Reported-by: Elaine Zhang Signed-off-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 176 + 1 file changed, 102 insertions(+), 74 deletions(-) diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_the

[RESEND PATCH 4/8] thermal: rockchip: fix calculation error for code_to_temp

2016-02-14 Thread Caesar Wang
From: Elaine Zhang the calculation use a global table, not their own table. so adapt the table to the correct one. Signed-off-by: Elaine Zhang Signed-off-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH] dmaengine: pl330: fix to support the brust mode

2016-02-23 Thread Caesar Wang
v transmit" Reported-by: Dinh Nguyen Signed-off-by: Caesar Wang --- drivers/dma/pl330.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 1b0453b..372b435 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@

Re: commit 271e1b86e691 is breaking DMA uart on SoCFPGA

2016-02-23 Thread Caesar Wang
Hi, Thanks Dinh & Alexander for the intergration testing. --- @Dinh, Can you test it again with the patch[0]? patch[0]: https://patchwork.kernel.org/patch/8398511/ - Caesar 在 2016年02月23日 23:14, Dinh Nguyen 写道: Hi, Sorry that I couldn't get to this sooner. On 02/18/2016 10:07 AM, Alexand

Re: commit 271e1b86e691 is breaking DMA uart on SoCFPGA

2016-02-24 Thread Caesar Wang
在 2016年02月24日 21:24, Bartlomiej Zolnierkiewicz 写道: Hi, On Wednesday, February 24, 2016 02:01:59 PM Caesar Wang wrote: Hi, Thanks Dinh & Alexander for the intergration testing. --- @Dinh, Can you test it again with the patch[0]? patch[0]: https://patchwork.kernel.org/patch/8398511/

[PATCH v2] dmaengine: pl330: fix to support the burst mode

2016-02-24 Thread Caesar Wang
v transmit" Reported-by: Dinh Nguyen Signed-off-by: Caesar Wang Tested-by: Bartlomiej Zolnierkiewicz Tested-by: Dinh Nguyen --- Changes in v2: - s/brust/burst - add Dinh and Bartlomiej test tags. drivers/dma/pl330.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --gi

[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 --- 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 index cb18bb4..76

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 wrote: We use the new PWM IP on RK3288,but the PWM's clock indeed incorrect. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3288.dtsi | 8 1 file changed, 4 insertions(

[PATCH v11 3/3] ARM: dts: add rk3288 power-domain node

2014-11-12 Thread Caesar Wang
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 v11: None Changes in v10: - fix missing the #include - remove the notes Changes in v9: - add decription

[PATCH v11 2/3] power-domain: rockchip: add power doamin driver

2014-11-12 Thread Caesar Wang
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

[PATCH v11 0/3] ARM: rk3288: Add PM Domain support

2014-11-12 Thread Caesar Wang
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: p

[PATCH v11 1/3] dt-bindings: add document of Rockchip power domain

2014-11-12 Thread Caesar Wang
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 v11: None Changes in v10: None Changes in v9: - add document decription Changes in v8: - document go

[PATCH v10 0/3] ARM: rk3288: Add PM Domain support

2014-11-10 Thread Caesar Wang
ntroller, 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 back to pinctrl: pinctrl. Caesar Wang (3): dt-bindin

[PATCH v10 3/3] ARM: dts: add rk3288 power-domain node

2014-11-10 Thread Caesar Wang
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 v10: - fix missing the #include - remove the notes Changes in v9: - add decription for power-doamin node

[PATCH v10 2/3] power-domain: rockchip: add power doamin driver

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

[PATCH v10 1/3] dt-bindings: add document of Rockchip power domain

2014-11-10 Thread Caesar Wang
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 v10: None Changes in v9: - add document decription Changes in v8: - document go back to v2 Changes

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

2014-11-11 Thread 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 --- .../bindings/thermal/rockchip-thermal.txt | 68 ++ 1 file changed, 68 insertions(+) create

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

2014-11-11 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 Reviewed-by: Dmitry Torokhov --- arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a

[PATCH v18 0/5] Rockchip soc thermal driver

2014-11-11 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. Caesar Wang (5): thermal: rockchip: add driver f

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

2014-11-11 Thread Caesar Wang
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 | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288

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

2014-11-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 90C. Signed-off-by: Caesar Wang Reviewed-by: Dmitry Torokhov --- arch/arm/boot/dts/rk3288-thermal.dtsi | 78 +++ 1 file changed, 78

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

2014-11-11 Thread Caesar Wang
: Caesar Wang Reviewed-by: Dmitry Torokhov --- drivers/thermal/Kconfig| 10 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 721 + 3 files changed, 732 insertions(+) create mode 100644 drivers/thermal

[PATCH v19 0/5] Rockchip soc thermal driver

2014-11-23 Thread Caesar Wang
t 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 ARM: dts: a

[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 Reviewed-by: Dmitry Torokhov --- arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a

[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 Reviewed-by: Dmitry Torokhov --- arch/arm/boot/dts/rk3288.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288

[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 Reviewed-by: Dmitry Torokhov --- arch/arm/boot/dts/rk3288-thermal.dtsi | 78 +++ 1 file changed, 78

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

2014-11-23 Thread Caesar Wang
: Caesar Wang Reviewed-by: Dmitry Torokhov --- drivers/thermal/Kconfig| 10 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 693 + 3 files changed, 704 insertions(+) create mode 100644 drivers/thermal

[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 Signed-off-by: Caesar Wang Reviewed-by: Dmitry Torokhov --- .../bindings/thermal/rockchip-thermal.txt | 68 ++ 1 file changed, 68 insertions(+) create

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

Re: [PATCH v11 2/3] power-domain: rockchip: add power doamin driver

2014-11-16 Thread Caesar Wang
在 2014年11月14日 03:35, Daniel Kurtz 写道: On Thu, Nov 13, 2014 at 6:01 AM, 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

[PATCH v12 0/3] ARM: rk3288: Add PM Domain support

2014-11-17 Thread Caesar Wang
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 back to pinctrl: pinctrl. Caesar Wang (3): dt-bindings: add document

[PATCH v12 1/3] dt-bindings: add document of Rockchip power domain

2014-11-17 Thread Caesar Wang
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 v12: None Changes in v11: None Changes in v10: None Changes in v9: - add document decription Changes in

[PATCH v12 2/3] power-domain: rockchip: add power domain driver

2014-11-17 Thread Caesar Wang
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

[PATCH v12 0/3] ARM: rk3288: Add PM Domain support

2014-11-17 Thread Caesar Wang
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 back to pinctrl: pinctrl. Caesar Wang (3): dt-bindings: add document

[PATCH v12 3/3] ARM: dts: add rk3288 power-domain node

2014-11-17 Thread Caesar Wang
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 v12: - Remove essential clocks from rk3288 PD_VIO domain, Some clocks are essential for the system health and

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

2014-11-17 Thread Caesar Wang
Hello edubezval, I saw your latest patch[0]. I need send the new patch to fit the of-thermal Sensors API. Right? [0]: https://patchwork.kernel.org/patch/5324371/ 在 2014年11月12日 13:02, Caesar Wang 写道: Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User

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 Signed-off-by: Caesar Wang --- .../bindings/thermal/rockchip-thermal.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation

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

2014-10-16 Thread Caesar Wang
: Caesar Wang --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 688 + 3 files changed, 698 insertions(+) create mode 100644 drivers/thermal/rockchip_thermal.c diff --git a/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 --- arch/arm/boot/dts/rk3288-thermal.dtsi | 57 +++ 1 file changed, 57 insertions(+) create mode

[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 --- arch/arm/boot/dts/rk3288.dtsi | 20

[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 --- 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 v11 0/5] Rockchip soc thermal driver

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

[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 --- 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 v12 0/5] Rockchip soc thermal driver

2014-10-20 Thread Caesar Wang
ockchip-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): t

[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 --- arch/arm/boot/dts/rk3288.dtsi | 21

[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 Signed-off-by: Caesar Wang --- .../bindings/thermal/rockchip-thermal.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation

[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 --- arch/arm/boot/dts/rk3288-thermal.dtsi | 57 +++ 1 file changed, 57 insertions(+) create mode

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

2014-10-20 Thread Caesar Wang
: Caesar Wang --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 725 + 3 files changed, 735 insertions(+) create mode 100644 drivers/thermal/rockchip_thermal.c diff --git a/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 0/5] Rockchip soc thermal driver

2014-10-10 Thread Caesar Wang
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 Thermal info

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

2014-10-10 Thread Caesar Wang
: Caesar Wang --- drivers/thermal/Kconfig| 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 628 + 3 files changed, 638 insertions(+) create mode 100644 drivers/thermal/rockchip_thermal.c diff --git a/drivers

[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 --- arch/arm/boot/dts/rk3288-thermal.dtsi | 57 +++ 1 file changed, 57 insertions(+) create mode

[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 Signed-off-by: Caesar Wang --- .../bindings/thermal/rockchip-thermal.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation

[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 --- arch/arm/boot/dts/rk3288.dtsi | 23

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

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

2014-10-10 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
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. - fix the SIMPLE_DEV_PM_OPS()

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