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

2016-05-02 Thread Caesar Wang
在 2016年04月28日 05:52, Eduardo Valentin 写道: On Mon, Apr 25, 2016 at 11:02:45AM +0800, Caesar Wang wrote: From: Sascha Hauer Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- drivers/thermal/of-thermal.c | 12

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

2016-05-03 Thread Caesar Wang
在 2016年04月28日 05:48, Eduardo Valentin 写道: This patch is based on an earlier version from Mikko Perttunen Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- drivers/thermal/thermal_core.c | 48

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

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

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

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

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

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

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

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

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

2016-05-03 Thread Caesar Wang
governor does not react since The polling driven zones have to be one step cooler before the governor reacts. Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- Changes in v2: - Update the commit for patch[v2 4/5]. drivers

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

2016-05-03 Thread Caesar Wang
on an earlier version from Mikko Perttunen Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- Changes in v2: - update the sysfs-api.txt for set_trips Documentation/thermal/sysfs-api.txt | 7 + drivers/thermal/thermal_c

[PATCH] thermal: trivial: fix the typo

2016-05-03 Thread Caesar Wang
See the thermal code, the obvious typo from my editor. Signed-off-by: Caesar Wang --- Documentation/devicetree/bindings/thermal/thermal.txt | 10 +- drivers/thermal/thermal_core.c| 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a

[PATCH] pinctrl: rockchip: fix pull setting error for rk3399

2016-05-10 Thread Caesar Wang
'b01: weak 1(pull-up); 2'b10: weak 0(pull-down); 2'b11: Repeater(Bus keeper) For example,(rk3399evb board) sdmmc_cd --->gpio0_a7 localhost / # io -r -4 0xff320040 ff320040: 4d5f In general,the value should be 0xcd5f since the pin set in the dts. Signed-off-by: David Wu Sig

[PATCH v2] pinctrl: rockchip: fix pull setting error for rk3399

2016-05-10 Thread Caesar Wang
ld be 0xcd5f since the pin has been set in the dts. Signed-off-by: David Wu Signed-off-by: Caesar Wang Cc: Linus Walleij Cc: Heiko Stuebner Cc: linux-g...@vger.kernel.org --- Changes in v2: - As Doug commnets on https://patchwork.kernel.org/patch/9056961/ - update the commit for gpio2. - cha

Re: [PATCH] pinctrl: rockchip: fix pull setting error for rk3399

2016-05-10 Thread Caesar Wang
Doug, 于 2016年05月11日 05:07, Doug Anderson 写道: Caesar / David, On Tue, May 10, 2016 at 4:14 AM, Caesar Wang wrote: From: David Wu This patch fixes the pinctrl pull bias setting, since the pull up/down setting is the contrary for gpio0. Commit message only mentions gpio0, but gpio2 is also

Re: [PATCH v8 7/8] i2c: rk3x: add i2c support for rk3399 soc

2016-05-11 Thread Caesar Wang
nd support fast-mode plus (Doug) Tested-by: Caesar Wang Few comments below: I picked David's patches up for my rk3399 evb board. Add the needed i2c devices for dts. localhost / #modprobe i2c-dev localhost / # i2cdump -f -y 0 0x1b No size specified (using byte-data access) 0 1 2 3 4

Re: [PATCH v8 8/8] i2c: rk3x: support fast-mode plus for rk3399

2016-05-11 Thread Caesar Wang
在 2016年05月11日 03:33, David Wu 写道: Signed-off-by: David Wu Reviewed-by: Douglas Anderson Tested-by: Caesar Wang --- Change in v8: - None drivers/i2c/busses/i2c-rk3x.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[PATCH] arm64: dts: rockchip: fixes the gic400 2nd region size for rk3368

2016-05-18 Thread Caesar Wang
to include the GICC_IDR since the kernel will access it in some cases. Signed-off-by: Caesar Wang Cc: Heiko Stuebner Cc: linux-arm-ker...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] thermal: add the note for set_trip_temp

2016-05-18 Thread Caesar Wang
Fixes commit 60f9ce3ada53 ("thermal: of-thermal: allow setting trip_temp on hardware") Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- include/linux/thermal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/t

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Re: [PATCH v4 00/10] Better compatible for the rockchip thermal and support RK3368 SoCs

2015-11-13 Thread Caesar Wang
Eduardo, 在 2015年11月13日 02:29, Eduardo Valentin 写道: On Mon, Nov 09, 2015 at 12:48:52PM +0800, Caesar Wang wrote: Thank you all for providing inputs and comments on previous versions of this patchset. Especially thanks to the (Eduardo, Dmitry, Heiko,). This series patchs are working for

Re: [PATCH v4 00/10] Better compatible for the rockchip thermal and support RK3368 SoCs

2015-11-13 Thread Caesar Wang
在 2015年11月13日 06:14, Heiko Stuebner 写道: Hi Eduardo, Am Donnerstag, 12. November 2015, 10:29:52 schrieb Eduardo Valentin: On Mon, Nov 09, 2015 at 12:48:52PM +0800, Caesar Wang wrote: Thank you all for providing inputs and comments on previous versions of this patchset. Especially thanks to

[PATCH 2/2] ARM: dts: jaq: add the power-supply for backlight and panel

2015-12-07 Thread Caesar Wang
Add a fixed regulator and reference it for the backlight and panle power supply on rk3288 jaq board. Signed-off-by: Caesar Wang --- Changes in v1: - Add this series patches are working with ykk'EDP patches on rk3288-jaq board. arch/arm/boot/dts/rk3288-veyron-jaq.dts | 5 + 1

[PATCH 1/2] ARM: dts: modify rk3288 jaq backlight-level

2015-12-07 Thread Caesar Wang
%. Signed-off-by: Caesar Wang --- Changes in v1: None arch/arm/boot/dts/rk3288-veyron-jaq.dts | 37 + 1 file changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-veyron-jaq.dts b/arch/arm/boot/dts/rk3288-veyron-jaq.dts index c2f52cf..991b717 100644 --- a

[PATCH 5/5] ARM: config: Add the rk3036 configure for kylin board

2015-12-16 Thread Caesar Wang
Add RK3036-specific configuration for Kylin board. Signed-off-by: Caesar Wang --- arch/arm/configs/rk3036_kylin_defconfig | 230 1 file changed, 230 insertions(+) create mode 100644 arch/arm/configs/rk3036_kylin_defconfig diff --git a/arch/arm/configs

[PATCH 2/5] clk: rockchip: rk3036: enable the CLK_IGNORE_UNUSED flag for aclk_vio

2015-12-16 Thread Caesar Wang
From: Yakir Yang ACLK_VIO is the noc bus clock for display module, display cann't read data from ddr without this clock enabled. Due to it shouldn't belong to any driver, but we need it enabled, so just mark it as the CLK_IGNORE_UNUSED flag. Signed-off-by: Yakir Yang Signed-off-

[PATCH 1/5] clk: rockchip: rk3036: include downstream muxes into fractional dividers

2015-12-16 Thread Caesar Wang
Use the newly introduced possibility to combine the fractional dividers with their downstream muxes for all fractional dividers on currently supported RK3036 SoCs. Signed-off-by: Xing Zheng Signed-off-by: Caesar Wang --- drivers/clk/rockchip/clk-rk3036.c | 35

[PATCH 4/5] ARM: dts: rockchip: add the kylin board for rk3036

2015-12-16 Thread Caesar Wang
This patchset is the initiation version to try work for kylin board. Signed-off-by: Caesar Wang --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rk3036-kylin.dts | 302

[PATCH 0/5] Kylin-board is based on RK3036 SOCs, add the initiation

2015-12-16 Thread Caesar Wang
RM: config: Add the rk3036 configure for kylin board Add the defconfig for Kylin-board to better to know about that. Note: I don't plan to upstream for this patch. :) --- The game is just beginning Caesar Wang (4): clk: rockchip: rk3036: include downstream muxes into fractional

[PATCH 3/5] ARM: dts: rockchip: update the core dts for rk3036

2015-12-16 Thread Caesar Wang
the different gpios. 3) Add sdio for wifi module, sdmmc for sd card. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3036.dtsi | 225 +- 1 file changed, 221 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts

[PATCH v1 0/6] Support the rk3036 Kylin board

2015-12-17 Thread Caesar Wang
for kylin board Enable the sdio for kylin board. --- Caesar Wang (6): ARM: dts: fix the correct pinctrl control for rk3036 ARM: dts: add the lcdc and hdmi node for rk3036 ARM: dts: add the sdio/sdmmc node for rk3036 ARM: dts: rockchip: add the kylin board for rk3036 ARM: dts: add

[PATCH v1 1/6] ARM: dts: fix the correct pinctrl control for rk3036

2015-12-17 Thread Caesar Wang
The pinctrl gpio pull up/down is incorrect since the rk3036 SoCs can't set the status in the internal. We should keep the default status for enable the gpio status, In fact, the pull_none is the disable the gpio pull up/down. Signed-off-by: Xing Zheng Signed-off-by: Caesar Wang --- arc

[PATCH v1 2/6] ARM: dts: add the lcdc and hdmi node for rk3036

2015-12-17 Thread Caesar Wang
The rk3036 support two overlay plane and one hwc plane, it support IOMMU, and its IOMMU same as rk3288's. Meanwhile, add the inno hdmi for HDMI display. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3036.dtsi | 61 +++ 1 file changed, 61 inser

[PATCH v1 3/6] ARM: dts: add the sdio/sdmmc node for rk3036

2015-12-17 Thread Caesar Wang
In general, the sdio/sdmmc is used by the wifi module and sd card. let's add the node for these function. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3036.dtsi | 72 +++ 1 file changed, 72 insertions(+) diff --git a/arch/arm/boot/dts/rk3036

[PATCH v1 5/6] ARM: dts: add the sound codec for kylin board

2015-12-17 Thread Caesar Wang
Support the rt5616 codec for kylin board, but we need enable the i2s firstly. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3036-kylin.dts | 33 + 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036

[PATCH v1 4/6] ARM: dts: rockchip: add the kylin board for rk3036

2015-12-17 Thread Caesar Wang
This patchset is the initiation version to try work for kylin board. Signed-off-by: Caesar Wang --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rk3036-kylin.dts | 298

[PATCH v1 6/6] ARM: dts: add the sdio node for kylin board

2015-12-17 Thread Caesar Wang
Let's enable the sdio for wifi module on kylin board. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3036-kylin.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036-kylin.dts index 296139b..581e954 1

Re: [PATCH v1 1/6] ARM: dts: fix the correct pinctrl control for rk3036

2015-12-17 Thread Caesar Wang
Heiko, 在 2015年12月18日 07:28, Heiko Stübner 写道: Am Donnerstag, 17. Dezember 2015, 22:21:47 schrieb Caesar Wang: The pinctrl gpio pull up/down is incorrect since the rk3036 SoCs can't set the status in the internal. We should keep the default status for enable the gpio status, In fact

Re: [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl

2015-11-18 Thread Caesar Wang
Hi Heiko, 在 2015年10月25日 15:55, Heiko Stübner 写道: Am Freitag, 23. Oktober 2015, 08:25:08 schrieb Doug Anderson: On Fri, Oct 23, 2015 at 4:25 AM, Caesar Wang wrote: Add the "init" anf "sleep" pinctrl as the OTP gpio state. We need the OTP pin is gpio state before resetting

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

2015-11-29 Thread Caesar Wang
s, move to documenting the fields in the header instead of inside the table. Changes in v1: - Search more trivial 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 tr

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

2015-11-29 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 v2: None Changes in v1: None drivers/thermal/rockchip_thermal.c | 2 +- 1 fi

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

2015-11-29 Thread Caesar Wang
This patchset trys to dictate unified format for driver. Signed-off-by: Caesar Wang --- Changes in v2: - As Heiko comments, move to documenting the fields in the header instead of inside the table. Changes in v1: - Search more trivial typo for me. drivers/thermal/rockchip_thermal.c | 25

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

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

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

2015-11-29 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 v2: None Changes in v1: - fix a irq ack is similar with RK3228 SoCs. drivers/thermal/rockchip_thermal.c | 66 ++ 1 file

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

2015-11-29 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 v2: None Changes in v1: - As Heiko comments, fix a copy incorrect name. - Add a Acked from Rob. Documentation/devicetree/bindings/thermal

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

2015-11-29 Thread Caesar Wang
Hi Heiko, Thanks to take your time to review that. 在 2015年11月27日 17:49, Heiko Stübner 写道: Hi Caesar, Am Freitag, 27. November 2015, 10:52:22 schrieb Caesar Wang: [...] /** -* The conversion table has the adc value and temperature. -* ADC_DECREMENT is the adc value decremnet.(e.g

[PATCH 0/3] Add the rk3368 evb board with the act8846 pmic

2015-12-01 Thread Caesar Wang
hat's similar HACK way to work. PATCH [2/3]: Add the RK3368 EVB board for with the act8846 pmic for dtsi PATCH [3/3]: Add the PWM node info for rk3368 core. Caesar Wang (3): clk: rockchip: Force rk3368 PWM clock (and its parents) on arm64: dts: rockchip: add rk3368 evaluation board

[PATCH 2/3] arm64: dts: rockchip: add rk3368 evaluation board

2015-12-01 Thread Caesar Wang
This board is similar with the rk3288 evb board but the rk3368 top board. There exist the act8846 as the pmic. Moment, add the balight/thermal/emmc/usb.. stuff, Let the board can happy work. Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/Makefile | 2 +- .../arm64

[PATCH 3/3] arm64: dts: rockchip: add the pwm node info for RK3368 SoCs

2015-12-01 Thread Caesar Wang
The pulse-width modulator (PWM) feature is very common in embedded systems. There exust 4 built-in PWM channels. In general, the pwm pins can via the pinctrl to configure iomux mode but the pwm2 since the pwm2 iomux mode from the SoC control register. Signed-off-by: Caesar Wang --- arch

[PATCH 1/3] clk: rockchip: Force rk3368 PWM clock (and its parents) on

2015-12-01 Thread Caesar Wang
al console then nobody is holding pclk_cpu on at reboot time. It gets disabled. We need to fix a lot of the above problems, but until we get everything right the cleanest "hack" seems like it is to just keep the "rk_pwm" clock on always. Signed-off-by: Caesar Wang

Re: [PATCH 0/4] support the efuse for rk3188/rk3066a SoCs and cleanup driver on nvmem.

2015-12-01 Thread Caesar Wang
Hi Srinivas, What's the think of this series patches? Let me know if you have any suggestions or ideas.:-) Thanks! 在 2015年11月11日 15:34, Caesar Wang 写道: This patchset to support reading the efuse info for more SoCs. (Note: support 32 bits SoCs). Meanwhile, cleanup sunxi/rockchip driver

[PATCH 2/2] ARM: dts: rockchip: change the correct voltage range for rk3288 evb board

2015-12-02 Thread Caesar Wang
In general, the logic voltage is affected by ddr frequency factors. We should fix the correct voltage range since assuemd that we have the ddr frequency driver in mainline. AFAIK, the 1.8v voltage is used by the SD3.0 card. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3288-evb-act8846

[PATCH 1/2] arm64: dts: rockchip: change the correct voltage range for rk3368 evb board

2015-12-02 Thread Caesar Wang
In general, the logic voltage is affected by ddr frequency factors. We should fix the correct voltage range since assuemd that we have the ddr frequency driver in mainline. AFAIK, the 1.8v voltage is used by the SD3.0 card. Signed-off-by: Caesar Wang --- arch/arm64/boot/dts/rockchip/rk3368

Re: [PATCH v4 06/10] thermal: rockchip: consistently use int for temperatures

2015-12-02 Thread Caesar Wang
Hi Brain, 于 2015年12月03日 08:49, Brian Norris 写道: Hi Caesar, On Thu, Dec 03, 2015 at 08:42:38AM +0800, Caesar Wang wrote: ? 2015?12?03? 02:38, Brian Norris ??: [.] if (thermal->tshut_temp > INT_MAX) { CID 1341498: Integer handling issues (CONSTANT_EXPRESSION_

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

2015-12-03 Thread Caesar Wang
ondition Since the Temperature is currently represented 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 v3: - As Brian comments on https://p

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

2015-12-03 Thread Caesar Wang
This patchset trys to dictate unified format for driver. Signed-off-by: Caesar Wang --- Changes in v3: None Changes in v2: - As Heiko comments, move to documenting the fields in the header instead of inside the table. Changes in v1: - Search more trivial typo for me. drivers/thermal

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

2015-12-03 Thread Caesar Wang
ore trivial 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-

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

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

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

2015-12-03 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 v3: None Changes in v2: None Changes in v1: - fix a irq ack is similar with RK3228 SoCs. drivers/thermal/rockchip_thermal.c | 66

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

2015-12-03 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 v3: None Changes in v2: None Changes in v1: - As Heiko comments, fix a copy incorrect name. - Add a Acked from Rob. Documentation/devicetree

Re: [PATCH 1/2] ARM: dts: modify rk3288 jaq backlight-level

2015-12-14 Thread Caesar Wang
Heiko, 在 2015年12月15日 05:46, Heiko Stübner 写道: Hi Caesar, Am Montag, 7. Dezember 2015, 21:11:08 schrieb Caesar Wang: the panel which jaq use require the pwm duty cycle larger than 3%, when the backlight status from power off to power on, otherwise the backlight will flush, so we modify the

Re: [PATCH v2] ARM: rockchip: add reboot notifier

2015-09-10 Thread Caesar Wang
在 2015年09月11日 11:40, Andy Yan 写道: Hi Eddie: On 2015年09月11日 10:01, Eddie Cai wrote: Hi Andy 2015-09-10 19:04 GMT+08:00 Andy Yan : rockchip platform have a protocol to pass the kernel reboot mode to bootloader by some special registers when system reboot. By this way the bootloader can take di

[PATCH 0/3] mailbox: rockchip: Add mailbox driver for Rockchip platform

2015-09-14 Thread Caesar Wang
accessible by both CPU via APB interface. Tested on RK3368 SDK board. Caesar Wang (3): dt-bindings: Add document of Rockchip mailbox mailbox: rockchip: Add Rockchip mailbox driver ARM64: dts: rk3368: Add mailbox device nodes .../bindings/mailbox/rockchip-mailbox.txt | 33 +++ arch

[PATCH 2/3] mailbox: rockchip: Add Rockchip mailbox driver

2015-09-14 Thread Caesar Wang
registers for software to use to indicate whether mailbox is occupied. Signed-off-by: Caesar Wang --- drivers/mailbox/Kconfig| 9 ++ drivers/mailbox/Makefile | 2 + drivers/mailbox/rockchip-mailbox.c | 317 + 3 files changed, 328

[PATCH 1/3] dt-bindings: Add document of Rockchip mailbox

2015-09-14 Thread Caesar Wang
This add the necessary binding documentation for mailbox found on RK3368 SoC. Signed-off-by: Caesar Wang --- .../bindings/mailbox/rockchip-mailbox.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/rockchip

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