Hello Jassi,
Friendly Ping!
Could you review this series patchs if you have free time?
在 2015年09月14日 19:06, Caesar Wang 写道:
Mailbox is used by the Rockchip CPU cores to communicate
requests to MCU processorm.
This driver is found on RK3368 SoCs.
The Mailbox module is a simple APB
On the RK3368 SoC, support the APB timers for rockchip platform.
Signed-off-by: Caesar Wang
---
arch/arm64/Kconfig.platforms | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 23800a1..0dae08d 100644
--- a/arch/arm64
SoC, verified on rk3368 evb board.
Caesar Wang (3):
clocksource: rockchip: Make the driver more readability and compatible
arm64: Enable the timer on Rockchip architecture
arm64: dts: rockchip: Add the needed timer for rk3368 SoC
arch/arm64/Kconfig.platforms | 1 +
arch/arm64
`
...
The problem was different semantics of dsb on btw arm32 and arm64,
Here we can convert the dsb with insteading of dsb(sy).
Meanwhile, I change a bit to make the code more readability for driver
when I check the code style.
Signed-off-by: Caesar Wang
---
drivers/clocksource/rockchip_ti
There is a need of a broadcast timer in this case to ensure proper
wakeup when the cpus are in sleep mode and a timer expires.
Signed-off-by: Caesar Wang
---
arch/arm64/boot/dts/rockchip/rk3368.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368
Hi Daniel,
在 2015年09月17日 17:11, Daniel Lezcano 写道:
Hi Caesar,
On 09/17/2015 09:51 AM, Caesar Wang wrote:
Build the arm64 SoCs (e.g.: RK3368) on Rockchip platform,
There are some failure with build up on timer driver for rockchip.
logs:
...
drivers/clocksource/rockchip_timer.c:156:13
在 2015年09月17日 18:06, Daniel Lezcano 写道:
On 09/17/2015 11:28 AM, Caesar Wang wrote:
Hi Daniel,
在 2015年09月17日 17:11, Daniel Lezcano 写道:
Hi Caesar,
On 09/17/2015 09:51 AM, Caesar Wang wrote:
Build the arm64 SoCs (e.g.: RK3368) on Rockchip platform,
There are some failure with build up on
在 2015年09月18日 03:01, Heiko Stübner 写道:
Am Donnerstag, 17. September 2015, 15:51:12 schrieb Caesar Wang:
There is a need of a broadcast timer in this case to ensure proper
wakeup when the cpus are in sleep mode and a timer expires.
Signed-off-by: Caesar Wang
---
arch/arm64/boot/dts
Hi Daniel,
在 2015年09月18日 15:55, Daniel Lezcano 写道:
On 09/17/2015 12:19 PM, Caesar Wang wrote:
在 2015年09月17日 18:06, Daniel Lezcano 写道:
On 09/17/2015 11:28 AM, Caesar Wang wrote:
Hi Daniel,
在 2015年09月17日 17:11, Daniel Lezcano 写道:
Hi Caesar,
On 09/17/2015 09:51 AM, Caesar Wang wrote
lid IRQs, and _eventually_ once all users
are gone, NO_IRQ deleted. Modern drivers should _all_ be using !irq to
detect invalid IRQs, and not using NO_IRQ.
Meanwhile, I change a bit to make the code more readability for driver
when I check the code style.
Signed-off-by: Caesar Wang
---
Change
There is a need of a broadcast timer in this case to ensure proper
wakeup when the cpus are in sleep mode and a timer expires.
Signed-off-by: Caesar Wang
---
Changes in v1:
- As the Heiko comments, add the "rockchip,rk3368-timer" for timer.
Although the 'rockchip,rk3288-timer&
d the
'rockchip,rk3368-timer' for the rk3368-spec timer in the future.
Caesar Wang (3):
clocksource: rockchip: Make the driver more readability and compatible
arm64: Enable the timer on Rockchip architecture
arm64: dts: rockchip: Add the needed timer for RK3368 SoC
arch/arm64/Kco
On the RK3368 SoC, support the APB timers for rockchip platform.
Signed-off-by: Caesar Wang
---
Changes in v1: None
arch/arm64/Kconfig.platforms | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 23800a1..0dae08d 100644
--- a
Let's checkstyle to clean up the macros with such trivial details.
Signed-off-by: Caesar Wang
---
Changes in v2: None
Changes in v1: None
drivers/clocksource/rockchip_timer.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/drivers/clocks
convert the dsb with insteading of dsb(sy).The "sy" param
is the default which you are allow to omit, so on arm32 dsb()and dsb(sy)
are the same.
Signed-off-by: Caesar Wang
---
Changes in v2:
- As Heiko/Daniel comments, let's split it into two patch.
Changes in v1:
- As Russell,
On the RK3368 SoC, support the APB timers for rockchip platform.
Signed-off-by: Caesar Wang
---
Changes in v2: None
Changes in v1: None
arch/arm64/Kconfig.platforms | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 23800a1
Although the 'rockchip,rk3288-timer' is working for RK3368, need to add the
'rockchip,rk3368-timer' for the rk3368-spec timer in the future.
Caesar Wang (4):
clocksource: rockchip: Make the driver more compatible
clocksource: rockchip: trivial: Make the driver more
There is a need of a broadcast timer in this case to ensure proper
wakeup when the cpus are in sleep mode and a timer expires.
Signed-off-by: Caesar Wang
---
Changes in v2: None
Changes in v1:
- As the Heiko comments, add the "rockchip,rk3368-timer" for timer.
Although the '
patch by
cleaning up the macros (if relevant) or send the patch to trivial@
I know the indentation is trivial for this driver, but I just send the
patch v2.
-- Daniel
On 09/22/2015 07:15 AM, Caesar Wang wrote:
Hi Heiko,
在 2015年09月22日 22:00, Heiko Stübner 写道:
Hi Caesar,
Am Freitag
Hi Uffe,
在 2015年06月25日 23:33, Ulf Hansson 写道:
[...]
+#include
clk-provider.h, why?
The following is needed.
_clk_get_name(clk)
I see, you need it for for the dev_dbg().
I think you shall use "%pC" as the formatting string for the dev_dbg()
message, since that will take care of printing
ux/kernel/git/jikos/hid
0be0171 HID: wacom: Report correct device resolution when using the
wireless adapater
2b9bea0 Merge tag 'mfd-fixes-4.2' of
git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
016a9f5 Merge tag 'ntb-4.2-rc7' of git://github.com/jonmason/ntb
a3ca013 Merge
This add the necessary binding documentation for the power domain
found on Rockchip Socs.
Signed-off-by: jinkun.hong
Signed-off-by: Caesar Wang
---
Changes in v16:
- remove the pmu node.
Series-changes:9
- add document decription.
Series-changes: 8
- document go back to v2.
Series-changes: 3
corresponding registers.
Signed-off-by: jinkun.hong
Signed-off-by: Caesar Wang
---
Changes in v16:
- the driver type from tristate to bool.
- Letter misspelled.
- As Ulf suggestion, remove #include ,
use "%pC" as the formatting string for the dev_dbg().
- As the Ulf suggestion, set the genpd
-off-by: Caesar Wang
---
Changes in v16:
- Manually copy the problem in patch v15.
- rebase the description.
Series-changes: 15
- As Tomasz remarked previously the dts should represent the hardware
and the power-domains are part of the pmu.
Series-changes: 12
- Remove essential clocks from rk3288
| | -
|-- -- | |VD_PMU |PD_PMU|
-
VD_* : voltage domain
PD_* : power domain
At the moment, we can support some power-domain type on RK3288.
We can add more types on RK3288 in the future, that's need to do.
Signed-off-by: Caesar
sed by the commit
(fe4407c0dc58215a7abfb7532740d79ddabe7a7a)
Signed-off-by: Caesar Wang
---
arch/arm/mach-rockchip/platsmp.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-rockchip/platsmp.c b/arch/arm/mach-rockchip/platsmp.c
index 7ebd1c1..3e7a4b7 100644
Hi Heiko,
在 2015年09月22日 22:00, Heiko Stübner 写道:
Hi Caesar,
Am Freitag, 18. September 2015, 16:51:09 schrieb Caesar Wang:
Build the arm64 SoCs (e.g.: RK3368) on Rockchip platform,
There are some failure with build up on timer driver for rockchip.
logs:
...
drivers/clocksource
Hi Xing,
在 2015年12月23日 17:19, Xing Zheng 写道:
This patch describe the emac, and we need to let mac clock under
the APLL which is able to provide the accurate 50MHz what mac_ref
need.
Signed-off-by: Xing Zheng
---
arch/arm/boot/dts/rk3036-evb.dts | 25 +
arch/arm/
Heiko,
在 2016年01月31日 19:06, Heiko Stuebner 写道:
Hi Caesar,
Am Donnerstag, 28. Januar 2016, 16:43:38 schrieb Caesar Wang:
[...]
memory {
@@ -485,6 +486,23 @@
status = "disabled";
};
+ spi: spi@20074000 {
+ compatible = "ro
在 2016年01月31日 18:46, Heiko Stuebner 写道:
Am Donnerstag, 28. Januar 2016, 16:43:30 schrieb Caesar Wang:
As the kylin schematic drawing, add the needed work led for
kylin board.
Run:
echo 0 > /sys/class/leds/kylin:red:led/brightness
echo 1 > /sys/class/leds/kylin:red:led/brightness
The l
Hello Vinod,
Is there any chance apply the DMA patches?:-)
-
Caesar
在 2016年01月22日 19:06, Caesar Wang 写道:
This series patches are apply on linus master branch.
Okay, this series patches verified on my github.
(https://github.com/Caesar-github/rockchip/commits/for-dma-tests)
Linux version
hasn't the spi devices to work, so maybe we need wait
the new required to enable in kylin/evb board.
Anyway, the spi should be needed land in rk3036 dts.
Signed-off-by: Caesar Wang
---
Changes in v4-->v4.1:
- Remove the unused, as Heiko comments on
https://patchwork.kernel.org/patch
hes.
- AS the previous discussed by them, add the mclk for codec.
(https://patchwork.kernel.org/patch/8041001/)
- Add this patch included in kylin series patches.
Caesar Wang (6):
ARM: dts: rockchip: add hdmi/vop device node for rk3036
ARM: dts: rockchip: add mclk for rt5616 on kylin board
This patch adds the needed display info for rk3036 SOCs.
The rk3036 support two overlay plane and one hwc plane,
it supports IOMMU, and its IOMMU same as rk3288's.
Meanwhile, add the inno hdmi for HDMI display.
Signed-off-by: Caesar Wang
---
Changes in v5: None
Changes in v4:
- solv
From: zhengxing
This patch adds the emac device node for rk3036.
We need to let mac clock under the DPLL which is able to provide
the accurate 50MHz what mac_ref need, since that will cause some
unstable things if the cpufreq is working.
Signed-off-by: Xing Zheng
Signed-off-by: Caesar Wang
The I2S block that provide the output clock as the mclk for rt5616,
That will be the master clock input.
Signed-off-by: Caesar Wang
---
Changes in v5: None
Changes in v4:
- AS the previous discussed by them, add the mclk for codec.
(https://patchwork.kernel.org/patch/8041001/)
arch/arm
hasn't the spi devices to work, so maybe we need wait
the new required to enable in kylin/evb board.
Anyway, the spi should be needed land in rk3036 dts.
Signed-off-by: Caesar Wang
---
Changes in v5:
- Remove the unused, as Heiko comments on
https://patchwork.kernel.org/patch/81
This patch adds the mclk property for the CODEC driver,
since sometimes the CODEC driver needs the clock enabled.
The system clock of ALC5616 can be selected from MCLK,
That also makes the codec the master clock provider.
Signed-off-by: Caesar Wang
Acked-by: Rob Herring
Cc: alsa-de...@alsa
provided.
Signed-off-by: Caesar Wang
Cc: alsa-de...@alsa-project.org
Cc: Mark Brown
Cc: Bard Liao
---
Changes in v5:
- Cc related alsa experts.
Changes in v4:
- AS the previous discussed by them, add the mclk for codec.
(https://patchwork.kernel.org/patch/8041001/)
sound/soc/codecs
This patch fixes the trivial typo.
Run "scripts/checkpatch.pl -f --subjective xxx"
The enable more subjective tests.
Signed-off-by: Caesar Wang
Cc: alsa-de...@alsa-project.org
Cc: Mark Brown
Cc: Bard Liao
---
Changes in v5:
-Cc releated alsa experts.
Changes in v4:
- Add
the freq which integer multiples of 50MHz, so we add these
emac node for reference.
Signed-off-by: Xing Zheng
Signed-off-by: Caesar Wang
---
Changes in v5: None
Changes in v4:
- fix the commit, pick up from the
https://patchwork.kernel.org/patch/7976631/.
- The emac parent shouldn't depe
在 2016年01月30日 00:28, Rob Herring 写道:
On Thu, Jan 28, 2016 at 04:43:35PM +0800, Caesar Wang wrote:
This patch add the mclk property for the CODEC driver,
since sometime the CODEC driver needs the clock enabled.
s/add/adds/
s/sometime/sometimes/
Done, thanks for pointing out that.
The
This patch adds the mclk property for the CODEC driver,
since sometimes the CODEC driver needs the clock enabled.
The system clock of ALC5616 can be selected from MCLK,
That also makes the codec the master clock provider
Signed-off-by: Caesar Wang
---
Changes in v4 -> v4.1:
- Fix the wr
Hi Julia,
Thanks to check this, but there was a patch fixing it.:-)
在 2015年12月20日 05:19, Julia Lawall 写道:
devm_kzalloc returns NULL rather than an ERR_PTR value.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
//
@@
expression x,e;
@@
* x = devm_kzall
在 2015年12月04日 04:19, Dmitry Torokhov 写道:
On Thu, Dec 03, 2015 at 04:48:40PM +0800, Caesar Wang wrote:
As the Dan report the smatch check the thermal driver warning:
drivers/thermal/rockchip_thermal.c:551 rockchip_configure_from_dt()
warn: impossible condition '(thermal->tshut_temp >
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 Carpenter
S
在 2015年12月18日 04:09, Eduardo Valentin 写道:
Hello,
On Thu, Dec 03, 2015 at 04:48:38PM +0800, Caesar Wang wrote:
This series pacthes to support the next soc for this thermal driver.
I don't add the dts thermal data since these SoCs have *_not_* land
in this mainline. I believe these SoC
I think the tsadc is fakly hand on pinky board,
maybe that's fixed in newest kernel.
As the following patch is a example:
https://patchwork.kernel.org/patch/7472051/
I don't have meet this issue on pinky board.
Let me know if that's still hanging on pinky board.
Signed-off-
Hi Heiko,
在 2015年12月20日 01:16, Heiko Stübner 写道:
Hi Caesar,
Am Donnerstag, 17. Dezember 2015, 22:21:46 schrieb Caesar Wang:
Kylin-board is based on RK3036 SOCs, add the initiation
version for working.
I've applied:
- patch1 (please include the "rockchip:" part in dts subjects)
Add a device tree match table. This serves to make the driver's support
of device tree more explicit.
Signed-off-by: Caesar Wang
---
sound/soc/codecs/rt5616.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/sound/soc/codecs/rt5616.c b/sound/soc/codecs/rt5616.c
index f4
Add the description for rt5616 codec.
Signed-off-by: Caesar Wang
---
Documentation/devicetree/bindings/sound/rt5616.txt | 38 ++
1 file changed, 38 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/rt5616.txt
diff --git a/Documentation/devicetree
在 2015年12月21日 22:10, Heiko Stübner 写道:
Am Montag, 21. Dezember 2015, 21:18:14 schrieb Caesar Wang:
Add the description for rt5616 codec.
Signed-off-by: Caesar Wang
---
Documentation/devicetree/bindings/sound/rt5616.txt | 38
++ 1 file changed, 38 insertions(+)
create
Add the description for rt5616 codec.
Signed-off-by: Caesar Wang
---
Changes in v1:
- As Heiko comments, remove the not exist option properties.
Documentation/devicetree/bindings/sound/rt5616.txt | 36 ++
1 file changed, 36 insertions(+)
create mode 100644 Documentation
Hi
在 2015年12月22日 05:15, Frank Rowand 写道:
On 12/21/2015 6:56 AM, Caesar Wang wrote:
Add the description for rt5616 codec.
Signed-off-by: Caesar Wang
---
Changes in v1:
- As Heiko comments, remove the not exist option properties.
Documentation/devicetree/bindings/sound/rt5616.txt | 36
Add a device tree match table. This serves to make the driver's support
of device tree more explicit.
Signed-off-by: Caesar Wang
---
Changes in v2: None
Changes in v1: None
sound/soc/codecs/rt5616.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/sound/soc/codecs/rt5616.c b/
Add the description for rt5616 codec.
Signed-off-by: Caesar Wang
---
Changes in v2:
- As Frank comments, rt5616@1b to instead of rt5616.
- Update the Pins device from Bard.
Changes in v1:
- As Heiko comments, remove the not exist option properties.
Documentation/devicetree/bindings/sound
f698a3533
Caesar Wang (5):
ARM: dts: set the pinctrl default setting for i2s
ARM: dts: add the sound codec for kylin board
ARM: dts: rockchip: enable the high speed on sdio for kylin board
ARM: dts: add the wifi/bt regulator for kylin board
ARM: dts: enable the uart0 for bluetooth module
lult value to work.
Signed-off-by: Caesar Wang
---
arch/arm/boot/dts/rk3036-kylin.dts | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/rk3036-kylin.dts
b/arch/arm/boot/dts/rk3036-kylin.dts
index bb7e549..2ef38be 100644
--- a/arch/arm/boot/dts/rk3036-kylin.dts
+++ b/arc
Sometime will hang if you set the i2s pinctrl as the none setting.
Let's set the pinctrl as the default setting to enable the gpio up/down.
Signed-off-by: Caesar Wang
---
arch/arm/boot/dts/rk3036.dtsi | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arc
Signed-off-by: Caesar Wang
---
arch/arm/boot/dts/rk3036-kylin.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/rk3036-kylin.dts
b/arch/arm/boot/dts/rk3036-kylin.dts
index ed0466f..700f79a 100644
--- a/arch/arm/boot/dts/rk3036-kylin.dts
+++ b/arch/arm/boot/dts
Without this the wifi/bluetooth module doesn't work
properly at bootup.
Signed-off-by: Caesar Wang
Patchset: Rockchip kylin board Patch[6/6], bring up kylin board.
We need add the wifi regulator to control the power.
(am https://patchwork.kernel.org/patch/7873721/)
---
arch/arm/boo
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
As the kylin schematic drawing, add the needed work led for
kylin board.
Run:
ucho 0 > /sys/class/leds/kylin:red:led/brightness
echo 1 > /sys/class/leds/kylin:red:led/brightness
The led can be normall on/off on kylin board.
Signed-off-by: Caesar Wang
---
Hi Heiko,
Describing the c
As the kylin schematic drawing, add the needed work led for
kylin board.
Run:
echo 0 > /sys/class/leds/kylin:red:led/brightness
echo 1 > /sys/class/leds/kylin:red:led/brightness
The led can be normall on/off on kylin board.
Signed-off-by: Caesar Wang
---
Hi Heiko,
Describing the c
/8041001/)
- Add this patch included in kylin series patches.
Caesar Wang (7):
ARM: dts: rockchip: add the leds control for kylin board
ARM: dts: rockchip: add hdmi/vop device node for rk3036
ARM: dts: rockchip: add mclk for rt5616 on kylin board
ASoC: rt5616: add mclk property for rt5616 d
the freq which integer multiples of 50MHz, so we add these
emac node for reference.
Signed-off-by: Xing Zheng
Signed-off-by: Caesar Wang
---
Changes in v4:
- fix the commit, pick up from the
https://patchwork.kernel.org/patch/7976631/.
- The emac parent shouldn't depend on the APLL. inste
As the kylin schematic drawing, add the needed work led for
kylin board.
Run:
echo 0 > /sys/class/leds/kylin:red:led/brightness
echo 1 > /sys/class/leds/kylin:red:led/brightness
The led can normal on/off on kylin board.
Signed-off-by: Caesar Wang
---
Changes in v4:
- Add the missi
The I2S block that provide the output clock as the mclk for rt5616,
That will be the master clock input.
Signed-off-by: Caesar Wang
---
Changes in v4:
- AS the previous discussed by them, add the mclk for codec.
(https://patchwork.kernel.org/patch/8041001/)
arch/arm/boot/dts/rk3036
-off-by: Xing Zheng
Signed-off-by: Caesar Wang
---
Changes in v4:
- included in the kylin series patches.
- This patch picked up from https://patchwork.kernel.org/patch/7924971/
- Change to solve the conflict based on the Heiko's branch.
- Make the emac parent as the DPLL.
arch/arm/boo
e new required to enable in kylin board.
Anyway, the spi should be needed land in rk3036 dts.
Signed-off-by: Caesar Wang
---
Changes in v4:
- Add this patch included in kylin series patches.
arch/arm/boot/dts/rk3036.dtsi | 42 ++
1 file changed, 42 inser
source.
Signed-off-by: Caesar Wang
---
Changes in v4:
- AS the previous discussed by them, add the mclk for codec.
(https://patchwork.kernel.org/patch/8041001/)
sound/soc/codecs/rt5616.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/sound/soc/codecs
This patch add the mclk property for the CODEC driver,
since sometime the CODEC driver needs the clock enabled.
The system clock of ALC5616 can be selected from MCLK,
That's also make as the codec master clock provider,
Signed-off-by: Caesar Wang
---
Changes in v4:
- Add this patch inc
This patch try to fix the trivial typo.
Run "scripts/checkpatch.pl -f --subjective xxx"
The enable more subjective tests.
Signed-off-by: Caesar Wang
---
Changes in v4:
- Add this patch included in kylin series patches.
sound/soc/codecs/rt56
This patch adds the needed display info for rk3036 SOCs.
The rk3036 support two overlay plane and one hwc plane,
it supports IOMMU, and its IOMMU same as rk3288's.
Meanwhile, add the inno hdmi for HDMI display.
Signed-off-by: Caesar Wang
---
Changes in v4:
- solve the lastest conflict, p
Hi,
在 2016年01月26日 10:59, Yakir Yang 写道:
Here are a brief introduction to Innosilicon HDMI IP:
- Support HDMI 1.4a, HDCP 1.2 and DVI 1.0 standard compliant transmitter
- Support HDMI1.4 a/b 3D function defined in HDMI 1.4 a/b spec
- Digital video interface supports a pixel size of 24, 30
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 981a502..6374fef 100644
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
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
the tsadc sequence output since the 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
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
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
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
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
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
as Heiko comment on
https://patchwork.kernel.org/patch/7903161/
- As Heiko comment, modify it to fit the simple-mmc-sequence.
- Add the uart0 commit content.
Caesar Wang (12):
ARM: dts: rockchip: set the pinctrl default setting for rk3036 i2s
ARM: dts: rockchip: add the sound codec for k
Sometime will hang if you set the i2s pinctrl as the none setting.
Let's set the pinctrl as the default setting to enable the gpio up/down.
Signed-off-by: Caesar Wang
---
Changes in v2:
- modify the commit.
arch/arm/boot/dts/rk3036.dtsi | 12 ++--
1 file changed, 6 insertions(
supprt the power-on sequencing for
sdio.
Signed-off-by: Caesar Wang
---
Changes in v2:
- This fix inmmc-power-sequences, as Heiko comment on
https://patchwork.kernel.org/patch/7903161/
drivers/mmc/core/pwrseq_simple.c | 16
1 file changed, 16 insertions(+)
diff --git a/driver
lult value to work.
Signed-off-by: Caesar Wang
---
Changes in v2: None
arch/arm/boot/dts/rk3036-kylin.dts | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/rk3036-kylin.dts
b/arch/arm/boot/dts/rk3036-kylin.dts
index b642369..b2e5f5d 100644
--- a/arch/arm/boot/dts/rk3036
id os.
you can add the
status = "okay" to enable the sdmmc for sd card working.
Signed-off-by: Caesar Wang
---
Changes in v2: None
arch/arm/boot/dts/rk3036-kylin.dts | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/boot/dts/rk3036-kylin.dts
b/arch/arm/
This patch is enabling the uart0 for bluetooth module.
Signed-off-by: Caesar Wang
---
Changes in v2:
- Add the uart0 commit content.
arch/arm/boot/dts/rk3036-kylin.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/rk3036-kylin.dts
b/arch/arm/boot/dts/rk3036
This patch adds the wifi/bt regulator for simple mmc sequence.
Also, add the exteral clock and reset gpios for simple mmmc sequence
on kylin board.
Without this the wifi/bluetooth module doesn't work properly at bootup.
Signed-off-by: Caesar Wang
---
Changes in v2:
- As Heiko comment, m
This patch adds the exteral vcc optional for the simple power sequence.
Some WLAN chips attached to a SDIO interface, need an external vcc
to be operational. Since this is very common, extend the simple MMC
power sequence DT binding to support an optional exteral vcc.
Signed-off-by: Caesar Wang
Support the rt5616 codec for kylin board, but we need
enable the i2s firstly.
Also, this patch adds the CPU/CODEC information for simple card
to make the happy work.
Signed-off-by: Caesar Wang
---
Changes in v2:
- fix the mclk-fs as the 256.
arch/arm/boot/dts/rk3036-kylin.dts | 33
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
---
Changes in v2: None
arch/arm/boot/dts/rk3036.dtsi | 61 +++
1
Update the cpu opp table for rk3399 op1.
Signed-off-by: Caesar Wang
---
arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi
b/arch/arm64/boot/dts/rockchip/rk3399-opp.dtsi
在 2017年04月24日 16:26, Heiko Stübner 写道:
Hi Caesar,
Am Montag, 24. April 2017, 14:18:50 CEST schrieb Caesar Wang:
Update the cpu opp table for rk3399 op1.
Ideally this should contain something about the "why".
Are these new voltage settings safer to operate under?
The before opp ta
The SdioAudio power domain includes the i2s/spdif/spi5/sdio.
So this patch adds the pd control for rk3399 i2s/spdif/spi5/sdio, in order
to save more power consumption.
Signed-off-by: Caesar Wang
---
Changes note:
- As the Jeffy fixes the spi'cs issue recently as follows:
aa09938 spi: roc
RK3399's GPU uses the quad-core Mali-T860, which is the new generation of
high-end graphics processors from ARM.
This patch added "rockchip,rk3399-mali" for dt-bindings, in order to
support IPA of gpu thermal in later.
Signed-off-by: Caesar Wang
---
Documentation/devicetree/b
This patch enables the gpu and adds the mali-supply power for RK3399-GRU
devices.
Signed-off-by: Caesar Wang
---
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi
b/arch/arm64/boot/dts/rockchip
l IPA.
Signed-off-by: Caesar Wang
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 62 +++-
1 file changed, 29 insertions(+), 33 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 8c6438b..139f58c 100644
801 - 900 of 936 matches
Mail list logo