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

2015-09-27 Thread Caesar Wang
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

[PATCH 2/3] arm64: Enable the timer on Rockchip architecture

2015-09-17 Thread Caesar Wang
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

[PATCH 0/3] Support the timer on RK3368 SoC

2015-09-17 Thread Caesar Wang
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

[PATCH 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-17 Thread Caesar Wang
` ... 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

[PATCH 3/3] arm64: dts: rockchip: Add the needed timer for rk3368 SoC

2015-09-17 Thread 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/rockchip/rk3368.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368

Re: [PATCH 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-17 Thread Caesar Wang
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

Re: [PATCH 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-17 Thread Caesar Wang
在 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

Re: [PATCH 3/3] arm64: dts: rockchip: Add the needed timer for rk3368 SoC

2015-09-17 Thread Caesar Wang
在 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

Re: [PATCH 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-18 Thread Caesar Wang
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

[PATCH v1 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-18 Thread Caesar Wang
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

[PATCH v1 3/3] arm64: dts: rockchip: Add the needed timer for RK3368 SoC

2015-09-18 Thread 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 --- Changes in v1: - As the Heiko comments, add the "rockchip,rk3368-timer" for timer. Although the 'rockchip,rk3288-timer&

[PATCH v1 0/3] Support the timer on RK3368 SoC

2015-09-18 Thread Caesar Wang
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

[PATCH v1 2/3] arm64: Enable the timer on Rockchip architecture

2015-09-18 Thread Caesar Wang
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

[PATCH v2 2/4] clocksource: rockchip: trivial: Make the driver more readability

2015-09-24 Thread Caesar Wang
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

[PATCH v2 1/4] clocksource: rockchip: Make the driver more compatible

2015-09-24 Thread Caesar Wang
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,

[PATCH v2 3/4] arm64: Enable the timer on Rockchip architecture

2015-09-24 Thread Caesar Wang
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

[PATCH v2 0/4] Support the timer on RK3368 SoC

2015-09-24 Thread Caesar Wang
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

[PATCH v2 4/4] arm64: dts: rockchip: Add the needed timer for RK3368 SoC

2015-09-24 Thread 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 --- Changes in v2: None Changes in v1: - As the Heiko comments, add the "rockchip,rk3368-timer" for timer. Although the '

Re: [PATCH v1 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-24 Thread Caesar Wang
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

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

2015-06-29 Thread Caesar Wang
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

[PATCH v16 0/4] ARM: rk3288: Add PM Domain support

2015-08-11 Thread Caesar Wang
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

[PATCH v16 1/4] dt-bindings: add document of Rockchip power domain

2015-08-11 Thread Caesar Wang
This add the necessary binding documentation for the power domain found on Rockchip Socs. Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang --- Changes in v16: - remove the pmu node. Series-changes:9 - add document decription. Series-changes: 8 - document go back to v2. Series-changes: 3

[PATCH v16 3/4] soc: rockchip: power-domain: Add power domain driver

2015-08-11 Thread Caesar Wang
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

[PATCH v16 4/4] ARM: dts: add the support power-domain node on RK3288 SoCs

2015-08-11 Thread Caesar Wang
-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

[PATCH v16 2/4] ARM: power-domain: rockchip: add all the domain type on RK3288 SoCs

2015-08-11 Thread Caesar Wang
| | - |-- -- | |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

[PATCH] ARM: rockchip: fix broken build

2015-07-05 Thread Caesar Wang
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

Re: [PATCH v1 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-22 Thread Caesar Wang
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

Re: [PATCH 4/4] ARM: dts: rockchip: Add support emac for RK3036

2015-12-24 Thread Caesar Wang
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/

Re: [PATCH v4 9/9] ARM: dts: rockchip: support the spi for rk3036

2016-01-31 Thread Caesar Wang
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

Re: [PATCH v4 1/9] ARM: dts: rockchip: add the leds control for kylin board

2016-01-31 Thread Caesar Wang
在 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

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

2016-01-31 Thread Caesar Wang
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

[PATCH v4.1 9/9] ARM: dts: rockchip: support the spi for rk3036

2016-01-31 Thread Caesar Wang
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

[PATCH v5 0/8] Add the family patches to support for kylin board

2016-02-01 Thread Caesar Wang
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

[PATCH v5 1/8] ARM: dts: rockchip: add hdmi/vop device node for rk3036

2016-02-01 Thread Caesar Wang
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

[PATCH v5 3/8] ARM: dts: rockchip: add support emac for RK3036

2016-02-01 Thread Caesar Wang
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

[PATCH v5 4/8] ARM: dts: rockchip: add mclk for rt5616 on kylin board

2016-02-01 Thread 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

[PATCH v5 8/8] ARM: dts: rockchip: support the spi for rk3036

2016-02-01 Thread Caesar Wang
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

[PATCH v5 5/8] ASoC: rt5616: add mclk property for rt5616 document

2016-02-01 Thread Caesar Wang
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

[PATCH v5 7/8] ASoC: rt5616: add the mclk for the codec driver

2016-02-01 Thread Caesar Wang
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

[PATCH v5 6/8] ASoC: rt5616: trivial: fix the typo

2016-02-01 Thread Caesar Wang
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

[PATCH v5 2/8] clk: rockchip: rk3036: fix and add node id for emac clock

2016-02-01 Thread Caesar Wang
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

Re: [PATCH v4 6/9] ASoC: rt5616: add mclk property for rt5616 document

2016-01-31 Thread Caesar Wang
在 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

[PATCH v4.1 6/9] ASoC: rt5616: add mclk property for rt5616 document

2016-01-31 Thread Caesar Wang
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

Re: [PATCH] nvmem: delete unneeded IS_ERR test

2015-12-19 Thread Caesar Wang
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

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

2015-12-19 Thread Caesar Wang
在 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 >

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

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

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

2015-12-20 Thread Caesar Wang
在 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

[PATCH] ARM: dts: veyron: enable the tsadc on pinky board

2015-12-20 Thread Caesar Wang
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-

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

2015-12-20 Thread Caesar Wang
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)

[PATCH 1/2] ASoC: rt5616: add an of_match table

2015-12-21 Thread Caesar Wang
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

[PATCH 2/2] dt-bindings: sound: add devicetree document for rt5616

2015-12-21 Thread 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 mode 100644 Documentation/devicetree/bindings/sound/rt5616.txt diff --git a/Documentation/devicetree

Re: [PATCH 2/2] dt-bindings: sound: add devicetree document for rt5616

2015-12-21 Thread Caesar Wang
在 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

[PATCH v1 2/2] dt-bindings: sound: add devicetree document for rt5616

2015-12-21 Thread Caesar Wang
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

Re: [PATCH v1 2/2] dt-bindings: sound: add devicetree document for rt5616

2015-12-21 Thread Caesar Wang
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

[PATCH v2 1/2] ASoC: rt5616: add an of_match table

2015-12-21 Thread Caesar Wang
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/

[PATCH v2 2/2] dt-bindings: sound: add devicetree document for rt5616

2015-12-21 Thread Caesar Wang
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

[PATCH 0/5] Support the codec and wifi/bt for rk3036 Kylin board

2015-12-22 Thread Caesar Wang
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

[PATCH 3/5] ARM: dts: rockchip: enable the high speed on sdio for kylin board

2015-12-22 Thread Caesar Wang
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

[PATCH 1/5] ARM: dts: set the pinctrl default setting for i2s

2015-12-22 Thread Caesar Wang
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

[PATCH 5/5] ARM: dts: enable the uart0 for bluetooth module

2015-12-22 Thread Caesar Wang
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

[PATCH 4/5] ARM: dts: add the wifi/bt regulator for kylin board

2015-12-22 Thread Caesar Wang
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

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

2015-12-22 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] ARM: dts: rockchip: add the leds control for kylin board

2016-01-26 Thread Caesar Wang
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

[RESEND PATCH] ARM: dts: rockchip: add the leds control for kylin board

2016-01-26 Thread 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 led can be normall on/off on kylin board. Signed-off-by: Caesar Wang --- Hi Heiko, Describing the c

[PATCH v4 0/9] Add the family patches to support for kylin board

2016-01-28 Thread Caesar Wang
/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

[PATCH v4 3/9] clk: rockchip: rk3036: fix and add node id for emac clock

2016-01-28 Thread Caesar Wang
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

[PATCH v4 1/9] ARM: dts: rockchip: add the leds control for kylin board

2016-01-28 Thread 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 led can normal on/off on kylin board. Signed-off-by: Caesar Wang --- Changes in v4: - Add the missi

[PATCH v4 5/9] ARM: dts: rockchip: add mclk for rt5616 on kylin board

2016-01-28 Thread 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 v4: - AS the previous discussed by them, add the mclk for codec. (https://patchwork.kernel.org/patch/8041001/) arch/arm/boot/dts/rk3036

[PATCH v4 4/9] ARM: dts: rockchip: add support emac for RK3036

2016-01-28 Thread Caesar Wang
-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

[PATCH v4 9/9] ARM: dts: rockchip: support the spi for rk3036

2016-01-28 Thread Caesar Wang
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

[PATCH v4 8/9] ASoC: rt5616: add the mclk for the codec driver

2016-01-28 Thread Caesar Wang
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

[PATCH v4 6/9] ASoC: rt5616: add mclk property for rt5616 document

2016-01-28 Thread Caesar Wang
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

[PATCH v4 7/9] ASoC: rt5616: trivial: fix the typo

2016-01-28 Thread Caesar Wang
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

[PATCH v4 2/9] ARM: dts: rockchip: add hdmi/vop device node for rk3036

2016-01-28 Thread Caesar Wang
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

Re: [PATCH v7 0/2] Add Rockchip Inno-HDMI driver

2016-01-26 Thread Caesar Wang
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

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

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

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

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

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

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

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

2016-02-02 Thread Caesar Wang
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

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

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

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

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

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

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

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

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

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

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

[PATCH v2 00/12] Add the family patches to support for kylin board

2016-01-07 Thread Caesar Wang
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

[PATCH v2 01/12] ARM: dts: rockchip: set the pinctrl default setting for rk3036 i2s

2016-01-07 Thread Caesar Wang
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(

[PATCH v2 06/12] mmc: pwrseq: add support for power-on sequencing through DT

2016-01-07 Thread Caesar Wang
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

[PATCH v2 07/12] ARM: dts: rockchip: enable the high speed on sdio for kylin board

2016-01-07 Thread Caesar Wang
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

[PATCH v2 10/12] ARM: dts: rockchip: add the sdmmc for kylin board

2016-01-07 Thread Caesar Wang
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/

[PATCH v2 09/12] ARM: dts: rockchip: enable the uart0 for kylin board

2016-01-07 Thread Caesar Wang
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

[PATCH v2 08/12] ARM: dts: rockchip: add the wifi/bt regulator for kylin board

2016-01-07 Thread Caesar Wang
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

[PATCH v2 05/12] mmc: pwrseq: Document optional exteral vcc for the simple power sequence

2016-01-07 Thread Caesar Wang
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

[PATCH v2 02/12] ARM: dts: rockchip: add the sound codec for kylin board

2016-01-07 Thread 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

[PATCH v2 11/12] ARM: dts: rockchip: add the lcdc and hdmi node for rk3036

2016-01-07 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 --- Changes in v2: None arch/arm/boot/dts/rk3036.dtsi | 61 +++ 1

[PATCH] arm64: dts: rockchip: update cpu opp table for rk3399 op1

2017-04-23 Thread Caesar Wang
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

Re: [PATCH] arm64: dts: rockchip: update cpu opp table for rk3399 op1

2017-04-24 Thread Caesar Wang
在 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

arm64: dts: rockchip: add SdioAudio pd control for rk3399

2017-06-29 Thread Caesar Wang
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

[PATCH 1/4] dt-bindings: gpu: add the RK3399 mali for rockchip specifics

2017-07-11 Thread Caesar Wang
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

[PATCH 3/4] arm64: dts: rockchip: enable the GPU for RK3399-GRU

2017-07-11 Thread Caesar Wang
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

[PATCH 4/4] arm64: dts: rockchip: update the thermal zones for RK3399 SoCs

2017-07-11 Thread Caesar Wang
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

<    4   5   6   7   8   9   10   >