在 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
在 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
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
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
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:
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
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
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
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
'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
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
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
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
在 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
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
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
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
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
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
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:
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'
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
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
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
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
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
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
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-
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
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
在 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
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-
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
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
于 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
: 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
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
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
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
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
: 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
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
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
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
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
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
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
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
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:
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/.
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
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
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
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:
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
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
在 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
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
%.
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
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
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-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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_
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
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
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-
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
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
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
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
在 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
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
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
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
301 - 400 of 936 matches
Mail list logo