Re: [U-Boot] [PATCH] rockchip: config: update part table

2017-11-01 Thread Jacob Chen
Hi, 2017-11-01 8:36 GMT+08:00 Eddie Cai : > Hi Kever > The reserved partition is not only for U-Boot but also for system. > There are customers using reserved partition in system now. > It's ok to hide them, since we just use offset, not partition index. > 2017-10-31 16:52 GMT+08:00 Kever Yang

Re: [U-Boot] [PATCH v3 2/3] rockchip: firefly: Add "usb start" to auto-start USB device

2017-07-24 Thread Jacob Chen
HI leo, Leo Wen wrote on 2017年07月25日 13:53: Add "usb start" to #define PREBOOT,you don't need to input "usb start" in command line of u-boot console,it can auto-start the USB device, after that usb keyboard can work. Change-Id: I40f6d81a6e8478703cb03c44e0f00fc2d26df33a Change-Id should be re

Re: [U-Boot] [PATCH] rockchip: rk8xx: allocate priv structure for driver

2017-05-07 Thread Jacob Chen
-- > 1.9.1 > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot Sorry for mistakes, Tested-by: Jacob Chen . ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] power: rk8xx: fix auto-allocation of priv

2017-05-07 Thread Jacob Chen
Hi, 2017-05-06 3:28 GMT+08:00 Philipp Tomsich : > The recent changes to the RK808 driver caused our BSP to sync-abort in > the regulator framework, when setting (or rather 'auto-setting') some > of the LDOs. > > Turns out that the auto-allocation of the priv-structure in the rk8xx > driver was nev

Re: [U-Boot] [PATCH] power: rk808: fix ldo register offset

2017-05-07 Thread Jacob Chen
rn &rk808_ldo[num - 1]; > + return &rk808_ldo[num]; > } > } > > -- > 2.11.0 > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot Sorry for untest patches, Reviewed-by: Jacob Chen . ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 2/5] power: pmic: rk808: add RK818 support

2017-05-02 Thread Jacob Chen
2017-05-02 14:54 GMT+08:00 Jacob Chen : > The RK818 chip is a Power Management IC (PMIC) for multimedia and handheld > devices. > > For boards use rk818, the input current should be set in the early stage, > before > ddr initialization. > > Signed-off-by: Jacob Chen

Re: [U-Boot] [PATCH v2 4/5] power: regulator: rk808: add rk818 support

2017-05-02 Thread Jacob Chen
2017-05-02 14:54 GMT+08:00 Jacob Chen : > Add support for the rk818 regulator. The regulator module consists > of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to > power OTG and HDMI5V. > > > > Signed-off-by: Jacob Chen > Reviewed-by: Simon Glass >

[U-Boot] [PATCH v2 3/5] power: regulator: rk808: replace vsel_bits with vsel_mask

2017-05-02 Thread Jacob Chen
Using mask is more flexible than bits. Signed-off-by: Jacob Chen Reviewed-by: Simon Glass --- Changes in v2: None drivers/power/regulator/rk808.c | 39 ++- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/drivers/power/regulator/rk808.c b

[U-Boot] [PATCH v2 5/5] power: rk808: rename to rk8xx

2017-05-02 Thread Jacob Chen
Since this driver can be used for rk8xx series pmic, let's rename rk808 to rk8xx, to make it clear. Configs parts are done by sed -i "s/RK808/RK8XX/g" `grep RK808 -lr ./` Signed-off-by: Jacob Chen --- Changes in v2: - rename rk808 to rk8xx arch/arm/mach-rockchip/rk3288/sdra

[U-Boot] [PATCH v2 0/5] Add Basic support for RK818

2017-05-01 Thread Jacob Chen
, it should be configured in board_init_f by manual. - rename rk808 to rk8xx Jacob Chen (5): power: pmic: append rk818 regs to rk808 power: pmic: rk808: add RK818 support power: regulator: rk808: replace vsel_bits with vsel_mask power: regulator: rk808: add rk818 support power: rk808

[U-Boot] [PATCH v2 1/5] power: pmic: append rk818 regs to rk808

2017-05-01 Thread Jacob Chen
Both RK808 and RK818 chips are using a similar register map, so we can reuse them. I have also add reg prefix to exist registers, to keep them same style. Signed-off-by: Jacob Chen Reviewed-by: Simon Glass --- Changes in v2: None drivers/power/regulator/rk808.c | 18 ++--- include/power

[U-Boot] [PATCH v2 2/5] power: pmic: rk808: add RK818 support

2017-05-01 Thread Jacob Chen
The RK818 chip is a Power Management IC (PMIC) for multimedia and handheld devices. For boards use rk818, the input current should be set in the early stage, before ddr initialization. Signed-off-by: Jacob Chen --- Changes in v2: - remove input current selection in probe, it should be

[U-Boot] [PATCH v2 4/5] power: regulator: rk808: add rk818 support

2017-05-01 Thread Jacob Chen
Add support for the rk818 regulator. The regulator module consists of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to power OTG and HDMI5V. Signed-off-by: Jacob Chen Reviewed-by: Simon Glass --- Changes in v2: None drivers/power/regulator/rk808.c | 55

Re: [U-Boot] [PATCH v1 3/3] rockchip: dts: evb_rk3288: Add mipi display support

2017-04-28 Thread Jacob Chen
Hi eric, 2017-04-28 15:46 GMT+08:00 Eric Gao : > Add mipi dsi configuration for evb-rk3288 device tree. > > Signed-off-by: Eric Gao > > --- > > Changes in v1: > -Add dts configuration. > > arch/arm/dts/rk3288-evb.dtsi | 88 > > arch/arm/dts/rk3288.d

Re: [U-Boot] [PATCH 0/4] Add Basic support for RK808

2017-04-20 Thread Jacob Chen
ok - -wrong title.. It's Add Basic support for RK818 2017-04-21 11:34 GMT+08:00 Jacob Chen : > > The RK818 chip is a power management IC for multimedia and handheld > devices. It contains the following components: > > - Regulators > - RTC > - Clkout > - battery suppo

[U-Boot] [PATCH 4/4] power: regulator: rk808: add rk818 support

2017-04-20 Thread Jacob Chen
Add support for the rk818 regulator. The regulator module consists of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to power OTG and HDMI5V. TODO: I don't know how to deal with BOOST and LDO9, so just ignore them now. Signed-off-by: Jacob Chen --- drivers/power/regu

[U-Boot] [PATCH 2/4] power: pmic: rk808: add RK818 support

2017-04-20 Thread Jacob Chen
=y and rk818 device should probe in spl board_init_f. Signed-off-by: Jacob Chen --- drivers/power/pmic/rk808.c | 29 + include/power/rk808_pmic.h | 12 2 files changed, 41 insertions(+) diff --git a/drivers/power/pmic/rk808.c b/drivers/power/pmic/rk808.c

[U-Boot] [PATCH 1/4] power: pmic: append rk818 regs to rk808

2017-04-20 Thread Jacob Chen
Both RK808 and RK818 chips are using a similar register map, so we can reuse them. I have also add reg prefix to exist registers, to keep them same style. Signed-off-by: Jacob Chen --- drivers/power/regulator/rk808.c | 18 ++--- include/power/rk808_pmic.h | 164

[U-Boot] [PATCH 3/4] power: regulator: rk808: replace vsel_bits with vsel_mask

2017-04-20 Thread Jacob Chen
Using mask is more flexible than bits. Signed-off-by: Jacob Chen --- drivers/power/regulator/rk808.c | 39 ++- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/drivers/power/regulator/rk808.c b/drivers/power/regulator/rk808.c index f1a00c5

[U-Boot] [PATCH 0/4] Add Basic support for RK808

2017-04-20 Thread Jacob Chen
The RK818 chip is a power management IC for multimedia and handheld devices. It contains the following components: - Regulators - RTC - Clkout - battery support This series patch just give it a basic support, to make rk818 board work. Jacob Chen (4): power: pmic: append rk818 regs to rk808

Re: [U-Boot] [PATCH 5/7] Add mipi display support for rk3399 && rk3288

2017-04-04 Thread Jacob Chen
Hi eric, 2017-04-01 22:42 GMT+08:00 : > From: "eric.gao" > > Signed-off-by: eric.gao > --- > > arch/arm/dts/rk3399-evb.dts | 33 ++ > arch/arm/dts/rk3399.dtsi | 72 + > arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 2 +- > arch/arm/incl

[U-Boot] [PATCH v2] net: designware: Add phy supply support

2017-03-27 Thread Jacob Chen
Some board need a regulator for gmac phy, so add this code to handle it. Signed-off-by: Jacob Chen --- drivers/net/designware.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index f9fb8e0..0fcd125 100644 --- a/drivers

Re: [U-Boot] [PATCH 2/2] net: gmac_rockchip: Add phy supply support

2017-03-21 Thread Jacob Chen
2017-03-22 2:56 GMT+08:00 Joe Hershberger : > On Wed, Mar 15, 2017 at 4:28 AM, Jacob Chen > wrote: >> Some board need a regulator for gmac phy, so add this code to handle it. >> >> Signed-off-by: Jacob Chen >> --- >> >> drivers/net/gmac_rockchip.c | 1

[U-Boot] [PATCH 2/2] net: gmac_rockchip: Add phy supply support

2017-03-15 Thread Jacob Chen
Some board need a regulator for gmac phy, so add this code to handle it. Signed-off-by: Jacob Chen --- drivers/net/gmac_rockchip.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/gmac_rockchip.c b/drivers/net/gmac_rockchip.c index e9b202a..639 100644

[U-Boot] [PATCH 1/2] rockchip: configs: correct mmc env dev for rk3288 based boards

2017-03-15 Thread Jacob Chen
we are using mmc alias , so mmc index have been changed. now mmc dev 0 is emmc and mmc dev 1 is sdmmc. Signed-off-by: Jacob Chen --- include/configs/evb_rk3288.h | 2 +- include/configs/fennec_rk3288.h | 2 +- include/configs/popmetal_rk3288.h | 2 +- include/configs/tinker_rk3288.h

Re: [U-Boot] [PATCH] rockchip: firefly: configs: add a new config to keep non-of-platdata

2017-02-22 Thread Jacob Chen
Hi Simon, 2017-02-22 11:59 GMT+08:00 Simon Glass : > Hi Jacob, > > On 20 February 2017 at 03:26, Jacob Chen wrote: >> The firefly config have been changed to use SPL_BACK_TO_BROM, but we also >> want keep >> CONFIG_SPL_OF_PLATDATA as an example. >> >> So

[U-Boot] [PATCH 2/2] rockchip: configs: Enable networking support on rk3288 boards

2017-02-22 Thread Jacob Chen
At current, only firefly and rock2 have network enabled. Let's enable other boards. Signed-off-by: Jacob Chen --- configs/evb-rk3288_defconfig | 5 - configs/fennec-rk3288_defconfig | 5 - configs/miniarm-rk3288_defconfig | 4 configs/popmetal-rk3288_defconfig | 4 ++

[U-Boot] [PATCH 1/2] ARM: dts: rockchip: enable gmac for rk3288 boards

2017-02-22 Thread Jacob Chen
Enable gmac interface for rk3288 board dts. use "okay" not "ok" Signed-off-by: Jacob Chen --- arch/arm/dts/rk3288-evb.dtsi | 22 ++ arch/arm/dts/rk3288-miniarm.dtsi | 2 +- arch/arm/dts/rk3288-popmetal.dtsi | 2 +- 3 files changed, 24 insert

Re: [U-Boot] [PATCH] rockchip: firefly: configs: remove config_spl_of_platdata

2017-02-20 Thread Jacob Chen
Hi, 2017-02-17 4:44 GMT+08:00 Simon Glass : > Hi, > > On 14 February 2017 at 23:41, Jacob Chen wrote: >> Hi Kever, >> >> >> Kever Yang wrote on 2017年02月15日 14:13: >>> >>> Hi Jacob, >>> >>> On 02/15/2017 11:06 AM, Jacob Chen wro

[U-Boot] [PATCH] rockchip: firefly: configs: add a new config to keep non-of-platdata

2017-02-20 Thread Jacob Chen
The firefly config have been changed to use SPL_BACK_TO_BROM, but we also want keep CONFIG_SPL_OF_PLATDATA as an example. So add this separate defconfig to show how both way works. Signed-off-by: Jacob Chen --- configs/firefly-nodtb-rk3288_defconfig | 78 ++ 1

Re: [U-Boot] [PATCH] rockchip: firefly: configs: remove config_spl_of_platdata

2017-02-14 Thread Jacob Chen
Hi Kever, Kever Yang wrote on 2017年02月15日 14:13: Hi Jacob, On 02/15/2017 11:06 AM, Jacob Chen wrote: We should remove config_spl_of_platdata to build u-boot-spl-dtb.bin rather than u-boot-spl-nodtb.bin since we use spl_back_to_brom. Have you try with CONFIG_SPL_OF_PLATDATA on and without

[U-Boot] [PATCH] rockchip: firefly: configs: remove config_spl_of_platdata

2017-02-14 Thread Jacob Chen
We should remove config_spl_of_platdata to build u-boot-spl-dtb.bin rather than u-boot-spl-nodtb.bin since we use spl_back_to_brom. I miss it because i forget to clean build-dir.. Signed-off-by: Jacob Chen --- configs/firefly-rk3288_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [U-boot] [PATCH 2/2] rockchip: firefly: configs: use spl back to brom

2017-01-16 Thread Jacob Chen
Keep it same with other boards otherwise i have to write special script for it.. Signed-off-by: Jacob Chen --- configs/firefly-rk3288_defconfig | 2 +- include/configs/firefly-rk3288.h | 5 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/configs/firefly-rk3288_defconfig b

[U-Boot] [U-boot] [PATCH 1/2] rockchip: configs: move env offset to common header

2017-01-16 Thread Jacob Chen
To reduce redundant code. Signed-off-by: Jacob Chen --- include/configs/evb_rk3288.h | 14 -- include/configs/fennec_rk3288.h | 14 -- include/configs/kylin_rk3036.h| 14 -- include/configs/miniarm_rk3288.h | 14 -- include/configs

Re: [U-Boot] [PATCH 1/3] dts: rk3288: correct sdram setting for miniarm

2017-01-10 Thread Jacob Chen
2016-11-18 9:13 GMT+08:00 Simon Glass : > On 14 November 2016 at 21:01, Jacob Chen wrote: >> miniarm board use lpddr3 >> >> Signed-off-by: Jacob Chen >> --- >> >> arch/arm/dts/rk3288-miniarm.dts | 16 >> 1 file changed, 8 insertions

[U-Boot] [PATCH v2 2/2] rockchip: configs: make rk3036 env config same as rk3288

2016-11-17 Thread Jacob Chen
To make rockchip soc keep the same partition map Signed-off-by: Jacob Chen --- Changes in v2: - add a commit message include/configs/kylin_rk3036.h | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/include/configs/kylin_rk3036.h b/include/configs

[U-Boot] [PATCH v2 1/2] rockchip: configs: correct env offset when enable CONFIG_ROCKCHIP_SPL_BACK_TO_BROM

2016-11-17 Thread Jacob Chen
With CONFIG_ROCKCHIP_SPL_BACK_TO_BROM enabled, the environment is inside u-boot. So solve it by moving environment after u-boot. Signed-off-by: Jacob Chen --- Changes in v2: - add a commit message include/configs/evb_rk3288.h | 9 + include/configs/fennec_rk3288.h | 9

[U-Boot] [PATCH v2 2/3] rockchip: configs: make rk3036 env config same as rk3288

2016-11-17 Thread Jacob Chen
To make rockchip soc keep the same partition map Signed-off-by: Jacob Chen --- Changes in v2: - add a commit message include/configs/kylin_rk3036.h | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/include/configs/kylin_rk3036.h b/include/configs

[U-Boot] [PATCH v2 1/3] rockchip: configs: correct env offset when enable CONFIG_ROCKCHIP_SPL_BACK_TO_BROM

2016-11-17 Thread Jacob Chen
With CONFIG_ROCKCHIP_SPL_BACK_TO_BROM enabled, the environment is inside u-boot. So solve it by moving environment after u-boot. Signed-off-by: Jacob Chen --- Changes in v2: - add a commit message include/configs/evb_rk3288.h | 9 + include/configs/fennec_rk3288.h | 9

[U-Boot] [PATCH v2 3/3] rockchip: configs: correct partitions 'boot' size

2016-11-17 Thread Jacob Chen
It should be 112M, to make rootfs start at 0x4 Signed-off-by: Jacob Chen Acked-by: Simon Glass --- Changes in v2: None include/configs/rockchip-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip

[U-Boot] [PATCH] rockchip: configs: correct partitions 'boot' size

2016-11-15 Thread Jacob Chen
It should be 112M, to make rootfs start at 0x4 Signed-off-by: Jacob Chen --- include/configs/rockchip-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h index 86c81b0..d077824 100644 --- a

[U-Boot] [PATCH 1/3] dts: rk3288: correct sdram setting for miniarm

2016-11-14 Thread Jacob Chen
miniarm board use lpddr3 Signed-off-by: Jacob Chen --- arch/arm/dts/rk3288-miniarm.dts | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/dts/rk3288-miniarm.dts b/arch/arm/dts/rk3288-miniarm.dts index 9083028..3dd40e6 100644 --- a/arch/arm/dts/rk3288

[U-Boot] [PATCH 2/3] rockchip: configs: correct env offset when enable CONFIG_ROCKCHIP_SPL_BACK_TO_BROM

2016-11-14 Thread Jacob Chen
Signed-off-by: Jacob Chen --- include/configs/evb_rk3288.h | 9 + include/configs/fennec_rk3288.h | 9 + include/configs/miniarm_rk3288.h | 9 + include/configs/popmetal_rk3288.h | 9 + 4 files changed, 36 insertions(+) diff --git a/include/configs

[U-Boot] [PATCH 3/3] rockchip: configs: make rk3036 env config same with rk3288

2016-11-14 Thread Jacob Chen
Signed-off-by: Jacob Chen --- include/configs/kylin_rk3036.h | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/include/configs/kylin_rk3036.h b/include/configs/kylin_rk3036.h index 4f0bd84..bc28525 100644 --- a/include/configs/kylin_rk3036.h +++ b/include

[U-Boot] [PATCH v3 2/2] rockchip: doc: add GPT partition layout

2016-10-07 Thread Jacob Chen
A simple introduction. Signed-off-by: Jacob Chen Acked-by: Simon Glass --- Changes in v3: None Changes in v2: None doc/README.rockchip | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/README.rockchip b/doc/README.rockchip index 69b926c..06ec80e 100644 --- a

[U-Boot] [PATCH v3 1/2] rockchip: use rockchip linux partitions layout

2016-10-07 Thread Jacob Chen
) Signed-off-by: Jacob Chen --- Changes in v3: - correct the copyright Changes in v2: - put macro in a rockchip_common.h include/configs/rk3036_common.h | 17 + include/configs/rk3288_common.h | 17 + include/configs/rk3399_common.h | 16

[U-Boot] [PATCH v2 2/2] rockchip: doc: add GPT partition layout

2016-10-06 Thread Jacob Chen
A simple introduction. Signed-off-by: Jacob Chen Acked-by: Simon Glass --- Changes in v2: None doc/README.rockchip | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/README.rockchip b/doc/README.rockchip index 69b926c..06ec80e 100644 --- a/doc/README.rockchip

[U-Boot] [PATCH v2 1/2] rockchip: use rockchip linux partitions layout

2016-10-06 Thread Jacob Chen
boot) Signed-off-by: Jacob Chen --- Changes in v2: - put macro in a rockchip_common.h include/configs/rk3036_common.h | 17 + include/configs/rk3288_common.h | 17 + include/configs/rk3399_common.h | 16 ++-- include/configs/rockchip-common.h | 36

[U-Boot] [PATCH 2/2] rockchip: doc: add GPT partition layout

2016-09-28 Thread Jacob Chen
A simple introduction. Signed-off-by: Jacob Chen --- doc/README.rockchip | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/README.rockchip b/doc/README.rockchip index 69b926c..06ec80e 100644 --- a/doc/README.rockchip +++ b/doc/README.rockchip @@ -149,7 +149,6

[U-Boot] [PATCH 1/2] rockchip: use rockchip linux partitions layout

2016-09-28 Thread Jacob Chen
boot) Signed-off-by: Jacob Chen --- include/configs/rk3036_common.h | 7 ++- include/configs/rk3288_common.h | 7 ++- include/configs/rk3399_common.h | 7 ++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/include/configs/rk3036_common.h b/include/configs

[U-Boot] [PATCH] rockchip: enable SPL_OF_PLATDATA for rk3288 board

2016-09-27 Thread Jacob Chen
It seems ddr auto detect make SPL image to large. So we have to use SPL_OF_PLATDATA to reduce size. Signed-off-by: Jacob Chen --- configs/evb-rk3288_defconfig | 4 configs/fennec-rk3288_defconfig | 3 +++ configs/miniarm-rk3288_defconfig | 3 +++ 3 files changed, 10 insertions

[U-Boot] [PATCH] clk: rk3399: fix rockchip_get_cru

2016-09-27 Thread Jacob Chen
clk_rk3399 is driver name, not device name Signed-off-by: Jacob Chen --- drivers/clk/rockchip/clk_rk3399.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c index ea0ce2a..8efb892 100644 --- a/drivers

[U-Boot] [PATCH 3/4] rockchip: move common function from board-file to rk3036-board.c

2016-09-19 Thread Jacob Chen
To keep it same with 3288 Signed-off-by: Jacob Chen --- arch/arm/mach-rockchip/Makefile| 1 + arch/arm/mach-rockchip/rk3036-board.c | 83 ++ board/rockchip/evb_rk3036/evb_rk3036.c | 66 board/rockchip/kylin_rk3036

[U-Boot] [PATCH 0/4] boot-mode support in rockchip platform

2016-09-19 Thread Jacob Chen
3036 and rk3288 more same , so easy to maintain Jacob Chen (4): rockchip: move partitons define from 3036-kylin to 3036-commn rockchip: rename board.c to rk3288-board.c rockchip: move common function from board-file to rk3036-board.c rockchip: add boot-mode support for rk3288,rk3036 arch

[U-Boot] [PATCH 4/4] rockchip: add boot-mode support for rk3288, rk3036

2016-09-19 Thread Jacob Chen
TE_INIT to common header and use a entry "rk_board_late_init" to replace "board_late_init" in board file. Signed-off-by: Jacob Chen --- arch/arm/include/asm/arch-rockchip/boot_mode.h | 19 ++ arch/arm/mach-rockchip/rk3036-board.c | 39

[U-Boot] [PATCH 1/4] rockchip: move partitons define from 3036-kylin to 3036-common

2016-09-19 Thread Jacob Chen
To keep it same with 3288. Signed-off-by: Jacob Chen --- include/configs/kylin_rk3036.h | 24 include/configs/rk3036_common.h | 10 ++ 2 files changed, 10 insertions(+), 24 deletions(-) diff --git a/include/configs/kylin_rk3036.h b/include/configs

[U-Boot] [PATCH 2/4] rockchip: rename board.c to rk3288-board.c

2016-09-19 Thread Jacob Chen
Signed-off-by: Jacob Chen --- arch/arm/mach-rockchip/Makefile| 2 +- arch/arm/mach-rockchip/{board.c => rk3288-board.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename arch/arm/mach-rockchip/{board.c => rk3288-board.c} (100%) diff --git a/arch/arm/mach-ro

[U-Boot] [PATCH 1/3] mmc: dw_mmc: change the read/write order under fifo mode

2016-08-29 Thread Jacob Chen
From: "jacob2.chen" The former implement have a bug. It will cause wrong data reading sometimes. Signed-off-by: jacob2.chen --- drivers/mmc/dw_mmc.c | 32 +--- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mm

[U-Boot] [PATCH 2/3] rockchip: add usb mass storage feature support for rk3036

2016-08-29 Thread Jacob Chen
From: "jacob2.chen" Enable ums feature for rk3036 boards, so that we can mount the mmc device to PC. Signed-off-by: jacob2.chen --- include/configs/rk3036_common.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h index 2

[U-Boot] [PATCH 3/3] rockchip: use rockchip linux partitions map

2016-08-29 Thread Jacob Chen
From: "jacob2.chen" Below link contains documents about rockchip linux partitions. http://rockchip.wikidot.com/partitions Signed-off-by: jacob2.chen --- include/configs/kylin_rk3036.h | 25 + include/configs/rk3288_common.h | 7 ++- 2 files changed, 15 insertions

[U-Boot] [PATCH v1] rockchip: rk3288-firefly: enable boot from eMMC

2016-08-09 Thread Jacob Chen
Add eMMC dt node and define fallback boot devices. Signed-off-by: Jacob Chen --- arch/arm/dts/rk3288-firefly.dts | 4 board/firefly/firefly-rk3288/firefly-rk3288.c | 8 2 files changed, 12 insertions(+) diff --git a/arch/arm/dts/rk3288-firefly.dts b/arch/arm/dts

[U-Boot] [PATCH] rockchip: rk3288-firefly: enable boot from eMMC

2016-08-09 Thread Jacob Chen
Add eMMC dt node and define fallback boot devices. Signed-off-by: Jacob Chen --- arch/arm/dts/rk3288-firefly.dts | 5 + board/firefly/firefly-rk3288/firefly-rk3288.c | 8 2 files changed, 13 insertions(+) diff --git a/arch/arm/dts/rk3288-firefly.dts b/arch/arm/dts

[U-Boot] [PATCH v3 6/6] doc: dt-bindings: Describe rockchip LVDS interface

2016-03-13 Thread Jacob Chen
I didn't have a common board to enable LVDS. So add this dcocument to help others who want to enable LVDS in their board. Signed-off-by: Jacob Chen Acked-by: Simon Glass --- Changes in v3: - None Changes in v2: - Correct file - Change description since the using of bingding file doc/d

[U-Boot] [PATCH v3 0/6] Add LVDS support for rk3288

2016-03-13 Thread Jacob Chen
dt-bindings document - Change description since the using of bingding file Jacob Chen (6): dm: video: Add a operation to display uclass rockchip: Add a binding file for rk3288 video rockchip: video: Add a display driver for rockchip LVDS rockchip: dts: Add LVDS support rockchip: video

[U-Boot] [PATCH v3 2/6] rockchip: Add a binding file for rk3288 video

2016-03-13 Thread Jacob Chen
Signed-off-by: Jacob Chen Acked-by: Simon Glass --- Changes in v3: - Move dts change to another patch Changes in v2: - New include/dt-bindings/video/rk3288.h | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 include/dt-bindings/video/rk3288.h diff --git a/include/dt

[U-Boot] [PATCH v3 1/6] dm: video: Add a operation to display uclass

2016-03-13 Thread Jacob Chen
The current display class only allow to get timing from edid. So add a operation to get timing directly from driver. In driver, I will use fdtdec_decode_display_timing to get timing. Signed-off-by: Jacob Chen Acked-by: Simon Glass --- Changes in v3: - None Changes in v2: - None drivers

[U-Boot] [PATCH v3 4/6] rockchip: dts: Add LVDS support

2016-03-13 Thread Jacob Chen
Add these node to be used in rockchip LVDS and VOP driver. Signed-off-by: Jacob Chen Acked-by: Simon Glass --- Changes in v3: - Include bingding file in dts Changes in v2: - None arch/arm/dts/rk3288.dtsi | 47 ++- 1 file changed, 46 insertions

[U-Boot] [PATCH v3 5/6] rockchip: video: Add LVDS support in vop driver

2016-03-13 Thread Jacob Chen
LVDS have a different display out mode, add code to get right flag. The vop_ip decied display device and the remote_vop_id decied which vop was being used. So we should use the remote_vop_id to set DCLK_VOP. Signed-off-by: Jacob Chen Acked-by: Simon Glass --- Changes in v3: - None Changes

[U-Boot] [PATCH v3 3/6] rockchip: video: Add a display driver for rockchip LVDS

2016-03-13 Thread Jacob Chen
Some Rockchip SoCs support LVDS output. Add a display driver for this so that these displays can be used on supported boards. Signed-off-by: Jacob Chen --- Changes in v3: - Use fdtdec_get_int instead fdtdec_get_uint in rk_lvds_ofdata_to_platdata Changes in v2: - Add comments to struct

[U-Boot] [PATCH v2 3/3] doc: dt-bindings: Describe rockchip LVDS interface

2016-03-13 Thread Jacob Chen
I didn't have a common board to enable LVDS. So add this dcocument to help others who want to enable LVDS in their board. Signed-off-by: Jacob Chen --- doc/device-tree-bindings/video/rockchip-lvds.txt | 77 1 file changed, 77 insertions(+) create mode 10064

[U-Boot] [PATCH v2 1/3] Add a binding file for rockchip video

2016-03-13 Thread Jacob Chen
and include it in rk3288 device tree Signed-off-by: Jacob Chen --- arch/arm/dts/rk3288.dtsi | 1 + include/dt-bindings/video/rk3288.h | 11 +++ 2 files changed, 12 insertions(+) create mode 100644 include/dt-bindings/video/rk3288.h diff --git a/arch/arm/dts/rk3288.dtsi b

[U-Boot] [PATCH v2 2/3] rockchip: video: Add a display driver for rockchip LVDS

2016-03-13 Thread Jacob Chen
Some Rockchip SoCs support LVDS output. Add a display driver for this so that these displays can be used on supported boards. Signed-off-by: Jacob Chen --- arch/arm/include/asm/arch-rockchip/lvds_rk3288.h | 97 + drivers/video/rockchip/Makefile | 2 +- drivers/video

[U-Boot] [PATCH v2 0/3] Add LVDS support for rk3288

2016-03-13 Thread Jacob Chen
This series patches add LVDS support for rk3288. Jacob Chen (3): Add a bingding file for rockchip video rockchip: video: Add a display driver for rockchip LVDS doc: dt-bindings: Describe rockchip LVDS interface arch/arm/dts/rk3288.dtsi | 1 + arch/arm/include

[U-Boot] [PATCH 4/5] rockchip: video: Add LVDS support in vop driver

2016-03-13 Thread Jacob Chen
LVDS have a different display out mode, add code to get right flag. The vop_ip decied display device and the remote_vop_id decied which vop was being used. So we should use the remote_vop_id to set DCLK_VOP. Signed-off-by: Jacob Chen Signed-off-by: jacob --- arch/arm/include/asm/arch

[U-Boot] [PATCH 5/5] doc: dt-bindings: Describe rockchip LVDS interface

2016-03-13 Thread Jacob Chen
I didn't have a common board to enable LVDS. So add this dcocument to help others who want to enable LVDS in their board. Signed-off-by: Jacob Chen Signed-off-by: jacob --- doc/device-tree-bindings/video/rockchip-lvds.txt | 77 1 file changed, 77 insertions(+) c

[U-Boot] [PATCH 3/5] rockchip: dts: Add LVDS support

2016-03-13 Thread Jacob Chen
Add these node to be used in rockchip LVDS and VOP driver. Signed-off-by: Jacob Chen Signed-off-by: jacob --- arch/arm/dts/rk3288.dtsi | 46 +- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3288.dtsi b/arch/arm/dts

[U-Boot] [PATCH 1/5] dm: video: Add a operation to display uclass

2016-03-13 Thread Jacob Chen
The current display class only allow to get timing from edid. So add a operation to get timing directly from driver. In driver, I will use fdtdec_decode_display_timing to get timing. Signed-off-by: Jacob Chen Signed-off-by: jacob --- drivers/video/display-uclass.c | 3 +++ include/display.h

[U-Boot] [PATCH 0/5] Add LVDS support for rk3288.

2016-03-13 Thread Jacob Chen
From: jacob This series patches add LVDS support for rk3288. I'm a newbie in submiting patches. If there are something wrong, hope to get help. Jacob Chen (5): dm: video: Add a operation to display uclass rockchip: video: Add a display driver for rockchip LVDS rockchip: dts: Add

[U-Boot] [PATCH 2/5] rockchip: video: Add a display driver for rockchip LVDS

2016-03-13 Thread Jacob Chen
Some Rockchip SoCs support LVDS output. Add a display driver for this so that these displays can be used on supported boards. Signed-off-by: Jacob Chen Signed-off-by: jacob --- arch/arm/include/asm/arch-rockchip/lvds_rk3288.h | 99 + drivers/video/rockchip/Makefile