Hi U-boot Maintainers,
I want to upstream a new SoC named RK3399 from Rockchip which is
AARCH64/ARMv8, we need to support Arm Trust Firmware base on U-boot.
Right now we are using a miniloader(just like SPL in U-boot) to
load ATF/U-boot,
and PC jump from miniloader to ATF and then to
size.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
cmd/gpt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/gpt.c b/cmd/gpt.c
index 3d9706b..897596a 100644
--- a/cmd/gpt.c
+++ b/cmd/gpt.c
@@ -298,8 +298,8 @@ static int set_gpt_info(struct
Hi Michael,
On 07/26/2016 04:37 PM, Michael Trimarchi wrote:
Hi
On Tue, Jul 26, 2016 at 9:56 AM, Kever Yang <kever.y...@rock-chips.com> wrote:
The calculation of "dev_desc->lba - 34 - 1 - offset" is not correct for
size '-', because both fist_usable_lba and last_usable
Hi Andreas,
On 07/14/2016 12:26 PM, Andreas Färber wrote:
Am 14.07.2016 um 05:51 schrieb Kever Yang:
Add support for rockchip rk33 series Soc like rk3368 and rk3399
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
tools/rkcommon.c | 1 +
1 file changed, 1 insertion(+)
diff
Hi Andre,
On 07/13/2016 08:45 PM, Andre Przywara wrote:
Hi,
On 13/07/16 13:27, Andreas Färber wrote:
Hi Kever,
Am 20.06.2016 um 04:59 schrieb Kever Yang:
I want to upstream a new SoC named RK3399 from Rockchip which is
AARCH64/ARMv8, we need to support Arm Trust Firmware base on U-boot
+ value = readl(addr);
+ value &= ~(mask << shift);
+ value |= (3 << (shift + 16)) | (val << shift);
+ writel(value, addr);
}
return 0;
Reviewed-by: Kever Yang <kever.y...@rock-chips.com>
Than
Hi Simon,
On 07/23/2016 11:03 AM, Simon Glass wrote:
Hi again,
On 22 July 2016 at 20:57, Simon Glass <s...@chromium.org> wrote:
Hi Kever,
On 22 July 2016 at 03:34, Kever Yang <kever.y...@rock-chips.com> wrote:
For the commit message, you have "rk3399: reseve space for
RK3399 needs reserve 0x20 at the beginning of DRAM, for ATF bl31.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2:
- correct some typo on commit message and comment
board/rockchip/evb_rk3399/evb-rk3399.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
This patch add driver for:
- clock driver including set_rate for cpu, mmc, vop, I2C.
- sysreset driver
- grf syscon driver
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 93 +++
arch/arm/mach-rockchip/rk3399/Makefile
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/mmc/rockchip_sdhci.c| 10 +-
include/configs/rk3399_common.h | 2 +-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/rockchip_sdhci.c b/drivers/mmc/rockchip_sdhci.c
index 023c29b..a
This patchset add basic driver like clock, grf, sysreset for rk3399,
and enable clock init in emmc driver.
This patchset has tested on rk3399 evb.
Kever Yang (2):
rk3399: add basic soc driver
mmc: rockchip: add clock init
arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 93 +++
arch
Hi Simon,
On 07/12/2016 09:12 PM, Simon Glass wrote:
Hi Kever,
On 11 July 2016 at 20:45, Kever Yang <kever.y...@rock-chips.com> wrote:
Hi Simon,
CC Doug for this topic.
On 07/12/2016 07:54 AM, Simon Glass wrote:
Hi Kever,
On 11 July 2016 at 00:58, Kever Yang <kever.y...@rock-
This patch add driver for:
- clock driver including set_rate for cpu, mmc, vop, I2C.
- sysreset driver
- grf syscon driver
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2:
- include '_SHIFT_' in '_MASK' MACRO
- fix comment style
- use DIV_ROUND_UP instead of div_ro
in rockchip_get_cru
- implement ofdata_to_platdata for priv->cru init
- update base on comments from Jaehoon Chung
Kever Yang (2):
rk3399: add basic soc driver
mmc: rockchip: add clock init
arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 93 +++
arch/arm/mach-rockchip/rk3399/Makef
size.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2:
- fix gpt verify error, do not check the extend partition size
cmd/gpt.c | 4 ++--
disk/part_efi.c | 4
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/cmd/gpt.c b/cmd/gpt.c
index 3d97
Init clock for eMMC controller.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2:
- update base on comments from Jaehoon Chung
drivers/mmc/rockchip_sdhci.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/rockchip_sdh
This patch add driver for:
- clock driver including set_rate for cpu, mmc, vop, I2C.
- sysreset driver
- grf syscon driver
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v3:
- use EINVAL instead of -1 for return val
Initialize the maximum clock with CMU, before setting the rockchip sdhci
host controller.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Reviewed-by: Jaehoon Chung <jh80.ch...@samsung.com>
---
Changes in v3:
- update commit message
Changes in v2:
- update base on comments
comment style
- use DIV_ROUND_UP instead of div_round_up
- use uclass_get_device_by_driver in rockchip_get_cru
- implement ofdata_to_platdata for priv->cru init
- update base on comments from Jaehoon Chung
Kever Yang (2):
rk3399: add basic soc driver
mmc: rockchip_sdhci: add clock init
arch/
Hi Jaehoon Chung,
On 07/29/2016 04:00 PM, Jaehoon Chung wrote:
Hi Kever,
On 07/29/2016 11:35 AM, Kever Yang wrote:
This patch add driver for:
- clock driver including set_rate for cpu, mmc, vop, I2C.
- sysreset driver
- grf syscon driver
Signed-off-by: Kever Yang <kever.y...@rock-chips.
Hi Michael,
On 07/26/2016 05:08 PM, Michael Trimarchi wrote:
Hi
On Tue, Jul 26, 2016 at 10:59 AM, Kever Yang <kever.y...@rock-chips.com> wrote:
Hi Michael,
On 07/26/2016 04:37 PM, Michael Trimarchi wrote:
Hi
On Tue, Jul 26, 2016 at 9:56 AM, Kever Yang <kever.y...@rock-chips.c
On 07/25/2016 12:50 PM, Kever Yang wrote:
This patch add driver for:
[snip]
...
+
+static ulong rk3399_clk_set_rate(struct clk *clk, ulong rate)
+{
+ struct rk3399_clk_priv *priv = dev_get_priv(clk->dev);
+
+ switch (clk->id) {
+ case 0 ... 63:
+ re
Hi Jaehoon Chung,
Thanks for your review comment.
On 07/25/2016 01:09 PM, Jaehoon Chung wrote:
Hi Kever,
On 07/25/2016 01:50 PM, Kever Yang wrote:
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/mmc/rockchip_sdhci.c| 10 +-
include/c
API manually.
Kever Yang (5):
rk3399: syscon: add support for pmugrf
pinctrl: add driver for rk3399
config: evb-rk3399: enable pinctrl driver
rk3399: enable the pwm2/3 pinctrl in board init
dts: rk3399: add pinctrl for sdmmc
arch/arm/dts/rk3399.dtsi| 37
pmugrf is a module like grf which contain some of the iomux registers
and other registers.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/include/asm/arch-rockchip/clock.h| 1 +
arch/arm/mach-rockchip/rk3399/syscon_rk3399.c | 1 +
2 files changed, 2 insertions(+)
This patch add pinctrl for sdcard which may not be initialized before
uboot.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/dts/rk3399.dtsi | 37 +
1 file changed, 37 insertions(+)
diff --git a/arch/arm/dts/rk3399.dtsi b/arch/a
This patch enable rk3399 pinctrl driver and gpio driver which is sub-node
of pinctrl.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
configs/evb-rk3399_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
There is no interrupt line for each PWM which used by pinctrl to get the
periph_id, so it's not able to enable the default pinctrl setting by pinctrl
framework, let's enable it at board_init().
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
board/rockchip/evb_rk3399/evb-rk3399.
This patch add pinctrl driver for rk3399.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 365
drivers/pinctrl/Kconfig | 9 +
drivers/pinctrl/rockchip/Makefile
MMC core will use 400KHz for card initialize first and then switch to
higher frequency like 50MHz, we need to support both 400KHz and about
50MHz for dwmmc controller.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes
To compatible with distro boot, we need to add gpt and fs support,
including gpt table and vfat, ext2, ext4 support.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v2:
- remove some re-defined MACRO, comments fr
Hi Michael,
Do you think this patch is necessary?
Thanks,
-Kever
On 07/29/2016 11:12 AM, Kever Yang wrote:
The calculation of "dev_desc->lba - 34 - 1 - offset" is not correct for
size '-', because both fist_usable_lba and last_usable_lba will remain
34 sectors.
We can
rk3399 sdcard is using dwmmc controller, enable it for sdcard.
SCLK_SDMMC is the clock for controller operation clock, move it
to the first place.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v2:
- add commit me
Enable the rockchip dwmmc driver for rk3399 and its evb.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v2:
- add commit message
configs/evb-rk3399_defconfig| 1 +
include/configs/rk3399_common.h | 1 +
2 file
rk3399 using dwmmc controller for sdcard, let's enable it.
this patch set has been test on rk3399 evb.
Changes in v2:
- add commit message
- move the SCLK_SDMMC and its name to the first place
- add commit message
Kever Yang (3):
clock: rk3399: add support for dwmmc 400K
dts: rk3399
API manually.
Changes in v2:
- move and reg value MACRO in C source, and use MASK/SHIFT
Kever Yang (5):
rk3399: syscon: add support for pmugrf
pinctrl: add driver for rk3399
config: evb-rk3399: enable pinctrl driver
rk3399: enable the pwm2/3 pinctrl in board init
dts: rk3399: add
pmugrf is a module like grf which contain some of the iomux registers
and other registers.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v2: None
arch/arm/include/asm/arch-rockchip/clock.h| 1 +
arch/arm/mach-roc
pmucru is a module like cru which is a clock controller manage some PLL
and module clocks.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/clk/rockchip/clk_rk3399.c | 177 +-
1 file changed, 173 insertions(+), 4 deletions(-)
diff
This patch add clk_get_rate for PWM device.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/clk/rockchip/clk_rk3288.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/rockchip/clk_rk3288.c
b/drivers/clk/rockchip/clk_rk3288.c
index c07203d..bd71a96
This patch set clean the rkpwm driver by using clock API for module
clock instead of hardcode, move the grf setting to soc level init.
Kever Yang (5):
clk: rk3399: add pmucru controller support
clk: rk3288: add PWM clock get rate
rk_pwm: use clock framework API to get module clock
This patch use clock API instead of hardcode for get pwm clock.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/pwm/rk_pwm.c | 17 ++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/drivers/pwm/rk_pwm.c b/drivers/pwm/rk_pwm.c
index 2
We consider the grf setting for pwm controller select as the system
operation instead of driver operation, move it to soc init, let's
remove it from pwm driver first.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/pwm/rk_pwm.c | 11 ---
1 file changed, 11 del
We do some SoC level one time setting initialization in
arch_cpu_init.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/mach-rockchip/rk3288/Makefile | 1 +
arch/arm/mach-rockchip/rk3288/rk3288.c | 19 +++
2 files changed, 20 insertions(+)
create mode
Hi Andreas,
On 07/13/2016 08:27 PM, Andreas Färber wrote:
Hi Kever,
Am 20.06.2016 um 04:59 schrieb Kever Yang:
I want to upstream a new SoC named RK3399 from Rockchip which is
AARCH64/ARMv8, we need to support Arm Trust Firmware base on U-boot.
Right now we are using a miniloader
These files are from kernel upstream with some modification
need by uboot:
- chosen with stdout-path to uart2.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/dts/Makefile |3 +-
arch/arm/dts/rk3399-evb.dts| 104
arch/arm/dts/rk339
RK3399 is a SoC from Rockchip with dual-core Cortex-A72
and qual-core Cortex-A53 CPU. It supports two USB3.0
type-C ports and two USB2.0 EHCI ports. Other interfaces
are very like RK3288, the DRAM are 32bit width address
and support address from 0 to 4GB-128MB range.
Signed-off-by: Kever Yang
which is u-boot here.
Pls reference board/rockchip/evb_rk3399/README to setup
the board.
Will migrate to SPL once its ready for ATF.
This patch set is based on below patch:
"board: move all the rockchip board in one folder"
This patch set has been test on rk3399 evb board.
Kev
This patch add basic config option for evb-rk3399 board.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
configs/evb-rk3399_defconfig | 32
1 file changed, 32 insertions(+)
create mode 100644 configs/evb-rk3399_defconfig
diff --git a/confi
Add support for rockchip rk33 series Soc like rk3368 and rk3399
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
tools/rkcommon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/rkcommon.c b/tools/rkcommon.c
index 72621fd..9ec7eb2 100644
--- a/tools/rkcommon.c
+++ b
Rockchip rk3399 using arasan sdhci-5.1 controller.
This patch add the controller support to enable mmc device and tested on
rk3399 evb board.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/mmc/Kconfig | 6 +
drivers/mmc/Makefile | 1 +
drive
Hi Heiko,
Simon apply my V4 patch which still have some problem, he said that
he will rebase
with a new patch set either if I send a new version or send fixes, but
he won't be available till next week.
I have send out my V5 patch which including the code of this patch.
Thanks,
-
This patch add basic config option for evb-rk3399 board.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v3: None
Changes in v2: None
configs/evb-rk3399_defconfig | 32
1 file changed, 32 insertions(+)
create mode 100644 confi
nges in v3:
Rebase on patch from Andreas:
[PATCH] rockchip: Exclude rk_timer for ARM64
[PATCH] rockchip: Clean up CPU selection
Changes in v2:
fix description error on board Kconfig
fix a binary path error
Kever Yang (5):
dts: add support for rkchichip rk3399 soc
ARM64: rockchip: add support for
RK3399 is a SoC from Rockchip with dual-core Cortex-A72
and qual-core Cortex-A53 CPU. It supports two USB3.0
type-C ports and two USB2.0 EHCI ports. Other interfaces
are very like RK3288, the DRAM are 32bit width address
and support address from 0 to 4GB-128MB range.
Signed-off-by: Kever Yang
These files are from kernel upstream with some modification
need by uboot:
- chosen with stdout-path to uart2.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v3: None
Changes in v2: None
arch/arm/dts/Makefile |3 +-
arch/arm/dts/rk3399-e
Rockchip rk3399 using arasan sdhci-5.1 controller.
This patch add the controller support to enable mmc device and tested on
rk3399 evb board.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v3: None
Changes in v2: None
drivers/mmc/Kconfig | 6 +
drive
Add support for rockchip rk33 series Soc like rk3368 and rk3399
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2:
Using rk3399 instead of rk33xx
tools/rkcommon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/rkcommon.c b/tools/rkcommon.c
index 7
Hi Simon,
On 07/15/2016 11:20 AM, Simon Glass wrote:
Hi Kever,
On 13 July 2016 at 23:08, Kever Yang <kever.y...@rock-chips.com> wrote:
Rockchip rk3399 using arasan sdhci-5.1 controller.
This patch add the controller support to enable mmc device and tested on
rk3399 evb board.
Sign
Hi Heiko,
On 07/16/2016 06:15 AM, Heiko Stübner wrote:
Hi Kever,
Am Freitag, 15. Juli 2016, 16:42:08 schrieb Kever Yang:
This patchset add support for rk3399 with ATF based on
Rockchip miniloader as secondary bootloader instead of
u-boot SPL.
Rockchip miniloader init the DRAM and load
Not like the mmc-legacy which the devnum starts from 1, it starts from 0
in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num().
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2:
- add comment for get_mmc_num() in mmc.h
- update mmc_get_next_
Hi Simon,
On 07/18/2016 07:55 PM, Simon Glass wrote:
Hi Kever,
On 18 July 2016 at 03:52, Kever Yang <kever.y...@rock-chips.com> wrote:
The devnum in is start from 0, so the device number should be
(devnum+1).
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
dri
Hi Andreas,
On 07/18/2016 10:13 PM, Andreas Färber wrote:
Hi Kever,
Am 18.07.2016 um 06:54 schrieb Kever Yang:
Hi Andreas,
Thanks for you comments, I will apply them one by one except some
confuse below.
On 07/18/2016 07:26 AM, Andreas Färber wrote:
Hi,
Isn't evb short for evaluation
Add a README to guide people flash the ATF and U-Boot
with Rockchip tools to bring up to board.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v5:
- fix for comments from Simon, correct some typo;
Changes in v4: None
Changes in v3: None
Changes in v2:
- fix a binar
Not like the mmc-legacy which the devnum starts from 1, it starts from 0
in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num().
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v3:
- apply comments from Jaehoon Chung
Changes in v2:
- add c
These files are from kernel upstream:
"649a371 Add linux-next specific files for 20160616"
with some modification need by U-Boot:
- chosen with stdout-path to uart2.
- add clock-frequency for uart2
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass &l
Hi Andreas,
On 07/18/2016 09:34 PM, Andreas Färber wrote:
Am 18.07.2016 um 10:46 schrieb Kever Yang:
RK3399 is a SoC from Rockchip with dual-core Cortex-A72
and quad-core Cortex-A53 CPU. It supports two USB3.0
type-C ports and two USB2.0 EHCI ports. Other interfaces
are very much like RK3288
g
Changes in v3:
- Rebase on patch from Andreas:
- [PATCH] rockchip: Exclude rk_timer for ARM64
- [PATCH] rockchip: Clean up CPU selection
Changes in v2:
- fix description error on board Kconfig
- fix a binary path error
Kever Yang (4):
dts: add support for Rockchip rk3399 soc
ARM64: rockchip: a
This patch add basic config option for evb-rk3399 board.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v5: None
Changes in v4:
- move config CONFIG_SYS_NS16550 from chip common to defconfig
Changes in v3: None
Changes in v2: None
configs/evb-rk3399_defconfi
RK3399 is a SoC from Rockchip with dual-core Cortex-A72
and quad-core Cortex-A53 CPU. It supports two USB3.0
type-C ports and two USB2.0 EHCI ports. Other interfaces
are very much like RK3288, the DRAM are 32bit width address
and support address from 0 to 4GB-128MB range.
Signed-off-by: Kever
The CONFIG_ROCKCHIP_COMMON is no use now, remove it.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
include/configs/rk3036_common.h | 2 --
include/configs/rk3288_common.h | 1 -
2 files changed, 3 deletions(-)
diff --git a/include/configs/rk3036_common.h b/include/c
Rockchip rk3399 using arasan sdhci-5.1 controller.
This patch add the controller support to enable mmc device and tested on
rk3399 evb board.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2: None
drivers/mmc/Kconfig | 6 +
drivers/mmc/Makefile
Hi Simon,
CC Doug for this topic.
On 07/12/2016 07:54 AM, Simon Glass wrote:
Hi Kever,
On 11 July 2016 at 00:58, Kever Yang <kever.y...@rock-chips.com> wrote:
Hi Simon,
On 07/09/2016 10:39 PM, Simon Glass wrote:
Hi Kever,
On 7 July 2016 at 20:45, Kever Yang <kever.y...@rock-
Add a README to guide people flash the ATF and U-Boot
with rockchip tools to bring up to board.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v4: None
Changes in v3: None
Changes in v2:
fix a binary path error
board/rockchip/evb_rk3399/READM
These files are from kernel upstream with some modification
need by U-Boot:
- chosen with stdout-path to uart2.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/
RK3399 is a SoC from Rockchip with dual-core Cortex-A72
and quad-core Cortex-A53 CPU. It supports two USB3.0
type-C ports and two USB2.0 EHCI ports. Other interfaces
are very much like RK3288, the DRAM are 32bit width address
and support address from 0 to 4GB-128MB range.
Signed-off-by: Kever
inary path error
Kever Yang (4):
dts: add support for Rockchip rk3399 soc
ARM64: rockchip: add support for rk3399 SoC based evb
config: add config file for evb-rk3399
ARM64: evb-rk3399: add a README for this board setup
arch/arm/Kconfig |2 -
arch/arm/dt
This patch add basic config option for evb-rk3399 board.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v4:
move config CONFIG_SYS_NS16550 from chip common to defconfig
Changes in v3: None
Changes in v2: None
configs/evb-rk3399_defconfi
t,
but all the mmc command failed like this:
=> mmc info
No MMC device available
Command failed, result=1
The result of get_mmc_num in cmd/mmc.c is always 0?
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/mmc/Kconfig | 6 +++
d
Hi Andreas,
Thanks for you comments, I will apply them one by one except some
confuse below.
On 07/18/2016 07:26 AM, Andreas Färber wrote:
Hi,
Isn't evb short for evaluation board? That makes board board then. ;)
Am 15.07.2016 um 10:42 schrieb Kever Yang:
RK3399 is a SoC from Rockchip
The devnum in is start from 0, so the device number should be
(devnum+1).
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/mmc/mmc-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c
index 3
These files are from kernel upstream with some modification
need by uboot:
- chosen with stdout-path to uart2.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2: None
arch/arm/dts/Makefile |3 +-
arch/arm/dts/rk3399-evb.dts
RK3399 is a SoC from Rockchip with dual-core Cortex-A72
and qual-core Cortex-A53 CPU. It supports two USB3.0
type-C ports and two USB2.0 EHCI ports. Other interfaces
are very like RK3288, the DRAM are 32bit width address
and support address from 0 to 4GB-128MB range.
Signed-off-by: Kever Yang
in v2:
fix description error on board Kconfig
fix a binary path error
Kever Yang (5):
dts: add support for rkchichip rk3399 soc
ARM64: rockchip: add support for rk3399 SoC based evb-board
config: add config file for evb-rk3399
mmc: rockchip: add SDHCI driver support for rockchip soc
ARM64:
This patch add basic config option for evb-rk3399 board.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2: None
configs/evb-rk3399_defconfig | 32
1 file changed, 32 insertions(+)
create mode 100644 configs/evb-rk3399_defconfig
The 'evb_rk3036' and 'kylin' is not a vendor name, let's replace them
to 'rockchip' which is a real _vendor_ name, and meet the architecure
'board///'.
More boards from rockchip like evb_rk3288, evb_rk3399 will comes later.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
ar
Hi Simon,
On 07/09/2016 10:38 PM, Simon Glass wrote:
Hi Kevin,
On 7 July 2016 at 21:49, Eddie Cai <eddie.cai.ker...@gmail.com> wrote:
2016-07-08 11:30 GMT+08:00 Kever Yang <kever.y...@rock-chips.com>:
The 'evb_rk3036' and 'kylin' is not a vendor name, let's replace them
to 'roc
Hi Simon,
On 07/09/2016 10:39 PM, Simon Glass wrote:
Hi Kever,
On 7 July 2016 at 20:45, Kever Yang <kever.y...@rock-chips.com> wrote:
The grf setting for rkpwm is only need in rk3288, other SoCs like
RK3399 which also use rkpwm do not need set the grf, let's add a
MACRO to make the cod
The 'evb_rk3036' and 'kylin' is not a vendor name, let's replace them
to 'rockchip' which is a real _vendor_ name, and meet the architecure
'board///'.
More boards from rockchip like evb_rk3288, evb_rk3399 will comes later.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/ar
Hi Simon,
Pls hold this patch for a moment, I have a patch to clean the board
files
which vendor is rockchip, I will send it later today.
Thanks,
- Kever
On 07/05/2016 06:06 PM, Ziyuan Xu wrote:
evb-3288 board RK3288-based development board with 2 USB ports, HDMI,
VGA, micro-SD card,
The grf setting for rkpwm is only need in rk3288, other SoCs like
RK3399 which also use rkpwm do not need set the grf, let's add a
MACRO to make the code only for RK3288.
Change-Id: I167a4e8cf925e840d4bbbcfb1437aaed52b81477
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drive
This patch add maintainer information for rk3399 evb.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
board/rockchip/evb_rk3399/MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/board/rockchip/evb_rk3399/MAINTAINERS
b/board/rockchip/evb_rk3399/MAINTAINERS
To compatible with distro boot, we need to add gpt and fs support,
including gpt table and vfat, ext2, ext4 support.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
include/configs/rk3399_common.h | 19 +++
1 file changed, 19 insertions(+)
diff --git a/include/c
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/dts/rk3399-evb.dts | 4
arch/arm/dts/rk3399.dtsi| 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/rk3399-evb.dts b/arch/arm/dts/rk3399-evb.dts
index bbcfcd0..e92a492 100644
--- a/ar
rk3399 using dwmmc controller for sdcard, let's enable it.
this patch set has been test on rk3399 evb.
Kever Yang (3):
clock: rk3399: add support for dwmmc 400K
dts: rk3399: enable dwmmc for sdcard
config: rk3399: enable dwmmc controller
arch/arm/dts/rk3399-evb.dts | 4
arch
MMC core will use 400KHz for card initialize first and then switch to
higher frequency like 50MHz, we need to support both 400KHz and about
50MHz for dwmmc controller.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/clk/clk_rk3399.c | 29 +
On 08/02/2016 10:29 AM, Kever Yang wrote:
To compatible with distro boot, we need to add gpt and fs support,
including gpt table and vfat, ext2, ext4 support.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
include/configs/rk3399_common.h | 19 +++
1 file c
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
configs/evb-rk3399_defconfig| 1 +
include/configs/rk3399_common.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
index 3f9b47e..18f6ae6 100644
--- a/confi
Not like the mmc-legacy which the devnum starts from 1, it starts from 0
in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num().
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v4:
- call blk_find_max_devnum() in mmc_get_next_devnum for error
The CONFIG_ROCKCHIP_COMMON and CONFIG_SPL_ROCKCHIP_COMMON are no use now,
remove them.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2:
- remove ROCKCHIP_COMMON in Kconfig
- remvoe SPL_ROCKCHIP_COMMON at the same time
arch/arm/mach-rockchip/rk3036/Kconf
rk3399 need reserve 0x20 at the begining of DRAM, for ATF usage.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
board/rockchip/evb_rk3399/evb-rk3399.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c
b/board/ro
1 - 100 of 3878 matches
Mail list logo