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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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/

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

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

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 v1 1/6] ARM: dts: fix the correct pinctrl control for rk3036

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2015-12-03 Thread Caesar Wang
This patchset attempts to new compatible for thermal founding on RK3228/RK3399 SoCs. Signed-off-by: Caesar Wang Acked-by: Rob Herring --- Changes in v3: None Changes in v2: None Changes in v1: - As Heiko comments, fix a copy incorrect name. - Add a Acked from Rob. Documentation/devicetree

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

2015-12-03 Thread Caesar Wang
The RK3399 SoCs have two Temperature Sensors, channel 0 is for CPU. channel 1 is for GPU. Signed-off-by: Caesar Wang --- Changes in v3: None Changes in v2: None Changes in v1: - fix a irq ack is similar with RK3228 SoCs. drivers/thermal/rockchip_thermal.c | 66

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

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

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

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

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

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

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

2015-12-03 Thread Caesar Wang
ondition Since the Temperature is currently represented as int not long in the thermal driver. Fixes: commit 437df2172e8d ("thermal: rockchip: consistently use int for temperatures") Reported-by: Dan Carpenter Signed-off-by: Caesar Wang --- Changes in v3: - As Brian comments on https://p

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2015-11-29 Thread Caesar Wang
s, move to documenting the fields in the header instead of inside the table. Changes in v1: - Search more trivial typo for me. - As Heiko comments, fix a copy incorrect name. - Add a Acked from Rob. - fix a irq ack is similar with RK3228 SoCs. Caesar Wang (5): thermal: rockchip: fix a tr

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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