To support fastboot, we need to enable the controller first.
rk3399 is using dwc3 as usb device controller, this patch enable
the configs for dwc3 gadget.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v4: None
Changes in v3:
- move the config into Kconfig file.
C
Hi Marek,
On 08/31/2016 08:30 PM, Marek Vasut wrote:
On 08/31/2016 10:40 AM, Kever Yang wrote:
This patch add board_usb_init() and interrupt callback
for dwc3 gadget.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v3:
- remove utmi width DT parse from borad in
Hi Simon,
On 09/06/2016 09:04 AM, Simon Glass wrote:
Hi Kever,
On 29 August 2016 at 21:02, Kever Yang <kever.y...@rock-chips.com> wrote:
This patch add regulator-init-microvolt for pwm regulator
to get a init value when driver do probe init.
How about:
Add a regulator-init-microvolt
Hi Simon,
On 09/06/2016 09:03 AM, Simon Glass wrote:
Hi Kever,
On 29 August 2016 at 21:02, Kever Yang <kever.y...@rock-chips.com> wrote:
This patch update PPLL to 676MHz and PMU_PCLK to 48MHz.
Why?
1. 48MHz can make sure the pwm can get exact 50% duty ratio, but 99MHz
can not,
Hi Simon,
On 09/06/2016 09:03 AM, Simon Glass wrote:
Hi Kever,
On 29 August 2016 at 21:02, Kever Yang <kever.y...@rock-chips.com> wrote:
This driver add support for pwm regulator.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
Signed-off-by: Kever Yang <kever.y...
-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 237 ++-
1 file changed, 198 insertions(+), 39 deletions(-)
diff --git a/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c
b/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c
index c
Since we implement the dram capacity auto detect, we don't
need to set the channel number and sdram-channel in dts.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/dts/rk3288-evb.dts | 3 ---
arch/arm/dts/rk3288-fennec.dts | 3 ---
arch/arm/dts/
the
size issue.
This patch has test with 2GB DDR3 and 2GB/4GB LPDDR3.
Kever Yang (2):
rk3288: sdram: auto-detect the capacity
dts: rk3288: remove node in dmc which not need anymore
arch/arm/dts/rk3288-evb.dts | 3 -
arch/arm/dts/rk3288-fennec.dts | 3
Hi Marek,
On 09/01/2016 05:09 PM, Marek Vasut wrote:
On 09/01/2016 04:14 AM, Kever Yang wrote:
The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY,
add one variable in dwc3/dwc3_device struct to support 16 bit
UTMI+ interface on some SoCs like Rockchip rk3399.
Signed-off
Hi Marek,
On 09/01/2016 04:58 PM, Marek Vasut wrote:
On 09/01/2016 04:21 AM, Kever Yang wrote:
Hi Marek,
On 08/31/2016 08:30 PM, Marek Vasut wrote:
On 08/31/2016 10:40 AM, Kever Yang wrote:
This patch add board_usb_init() and interrupt callback
for dwc3 gadget.
Signed-off-by: Kever Yang
Hi Marek,
On 09/01/2016 04:59 PM, Marek Vasut wrote:
On 09/01/2016 04:14 AM, Kever Yang wrote:
This patch add board_usb_init() and interrupt callback
for dwc3 gadget.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v4:
- parse DT for quirk, base address and maximum
This patch add vdd_center pwm regulator get_device to
enable this regulator.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
board/rockchip/evb_rk3399/evb-rk3399.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c
b/board/ro
Reference to kernel source code, rockchip pwm has three
type, we are using v2 for rk3288 and rk3399, so let's
update the register to sync with pwm_data_v2 in kernel.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/include/asm/arch-rockchip/pwm.h | 2 +-
1 file chan
This driver add support for pwm regulator.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/power/regulator/Kconfig | 9 ++
drivers/power/regulator/Makefile| 1 +
drivers/power/regulator/pwm
This patch add regulator-init-microvolt for pwm regulator
to get a init value when driver do probe init.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/dts/rk3399-evb.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/rk3399-evb.dts b/arch/arm/dts/
This patch enable DM_PWM and DM_REGULATOR on rockchip SoCs.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4928206..c877f5d 100644
--- a/arch/arm/Kconfig
+++ b/ar
This patch enable the pwm regulator for evb-rk3399.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
configs/evb-rk3399_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
index 9a6d422..62081a4 100644
--- a/c
This patch update PPLL to 676MHz and PMU_PCLK to 48MHz.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3399.h
b/ar
This patch set add pwm regulator driver and enable it
on rk3399, also do some update and fix to make the regulator
driver work properly.
Kever Yang (7):
rockchip: rk3399: update PPLL and pmu_pclk frequency
rockchip: rkpwm: fix the register sequence
power: regulator: add pwm regulator
Hi Marek,
On 08/29/2016 09:01 AM, Marek Vasut wrote:
On 08/29/2016 02:55 AM, Kever Yang wrote:
Hi Marek,
On 08/26/2016 05:09 PM, Marek Vasut wrote:
On 08/25/2016 03:17 AM, Kever Yang wrote:
Hi Marek,
On 08/24/2016 07:38 PM, Marek Vasut wrote:
On 08/24/2016 05:46 AM, Kever Yang wrote
To support fastboot, we need to enable the controller first.
rk3399 is using dwc3 as usb device controller, this patch enable
the configs for dwc3 gadget.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v3:
- move the config into Kconfig file.
Changes in v2:
-
driver/usb/dwc3/gadget.c need a "sys_proto.h" header file, add a
empty one to make compile success.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v3: None
Changes in v2: None
arch/arm/include/asm/arch-roc
to identify utmi+ bus width instead of CONFIG MACRO
- remove config for USB2PHY UTMI BITS
Kever Yang (4):
rk3399: add a empty "sys_proto.h" header file
board: evb-rk3399: add api to support dwc3 gadget
usb: dwc3: add support for 16 bit UTMI+ interface
config: rk3399: add support for d
The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY,
add one variable in dwc3/dwc3_device struct to support 16 bit
UTMI+ interface on some SoCs like Rockchip rk3399.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v3:
- Parse the DT for utmi+ interface
This patch add board_usb_init() and interrupt callback
for dwc3 gadget.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v3:
- remove utmi width DT parse from borad init
Changes in v2:
- parse dt for utmi width
board/rockchip/evb_rk3399/evb-rk3399.
-by tag from Simon and commit message fix
- update the commit message
Kever Yang (7):
rockchip: rk3399: update PPLL and pmu_pclk frequency
rockchip: rkpwm: fix the register sequence
power: regulator: add pwm regulator
rockchip: evb_rk3399: init vdd_center regulator
Kconfig: rockchip: enable
for kernel,it suppose not to change the bus clock like pmu_pclk
in kernel, so we want to change it in uboot.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2: None
arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 4 ++--
1 file changed, 2 insertions(+), 2 del
Reference to kernel source code, rockchip pwm has three
type, we are using v2 for rk3288 and rk3399, so let's
update the register to sync with pwm_data_v2 in kernel.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v2: Non
add driver support for pwm regulator.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2:
- add comments for pwm_regulator_info struct member
- do not init pwm_id if there is none
- other fix for comment
Enable the pwm regulator for evb-rk3399.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v2: None
configs/evb-rk3399_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/evb-rk3399_defconfig b
Add a regulator-init-microvolt for vdd_center regulator
so that we can get a init value for driver probe.
Not like pmic regulator, the PWM regulator do not have a
known default output value, so we would like to init the
regulator when driver probe.
Signed-off-by: Kever Yang <kever.y...@r
Enable DM_PWM and DM_REGULATOR on rockchip SoCs.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v2: None
arch/arm/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
i
Add vdd_center pwm regulator get_device to
enable this regulator.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v2:
- add Acked-by tag from Simon and commit message fix
board/rockchip/evb_rk3399/evb-rk3399.c | 6 ++
Hi Wenyou,
I can not enable my emmc device on my evb-rk3399 with this patch,
could you help to fix it?
Here is the debug info may help:
mmc->cfg->f_max is 2;
[with this patch]
I get host->clk_mul 16 ;
When driver want to set clock to 40, always get div 1024, and then
write
The Clock Multiplier in rk3399 EMMC programmable clock generator
is broken, we can remove its support from SoC GRF register.
Without this patch, rk3399 emmc driver is not work after below patch
applied:
6dffdbc mmc: sdhci: Add the programmable clock mode support
Signed-off-by: Kever Yang
Hi Jaehoon,
On 09/30/2016 06:48 PM, Jaehoon Chung wrote:
Hi Kever,
On 09/30/2016 07:05 PM, Kever Yang wrote:
Hi Wenyou,
I can not enable my emmc device on my evb-rk3399 with this patch, could
you help to fix it?
Here is the debug info may help:
mmc->cfg->f_max is 200
The GRF base address is missing, fix it.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/mach-rockchip/rk3288/rk3288.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-rockchip/rk3288/rk3288.c
b/arch/arm/mach-rockchip/rk3288/rk3288.c
rk3399 has two mmc dev controller:
mmc 0: SD card;
mmc 1: EMMC
U-Boot will scan the mmc boot device configured by CONFIG_SYS_MMC_ENV_DEV,
since evb has emmc on board, let's set the EMMC as default.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
include/configs/evb_rk3399.h | 2
SPL_MMC_SUPPORT defined in rockchip top level Kconfig instead of
inside rk3288 and default to disable if ROCKCHIP_SPL_BACK_TO_BROM
defined.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/mach-rockchip/rk3288/Kconfig | 3 ---
1 file changed, 3 deletions(-)
diff --git
ved1,size=64K,uuid=${uuid_gpt_reserved1};" \
+ "name=reserved2,size=4M,uuid=${uuid_gpt_reserved2};" \
+ "name=loader2,size=4MB,uuid=${uuid_gpt_loader2};" \
+ "name=atf,size=4M,uuid=${uuid_gpt_atf};" \
+ "name=boot,size=128M,bootable,uuid=${uui
const struct pll_div *div)
{
Reviewed-by: Kever Yang <kever.y...@rock-chips.com>
Thanks,
- Kever
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Jacob,
On 10/07/2016 02:06 PM, Jacob Chen wrote:
Unify the partitions of each chip then it will be more easy for us to write
scripts, tools or guides
no more than 75 for one line in commit message.
for rockchip chips.
Those extra partitions mostly are used to be compatible with our
SS_CLK,
.of_match = rk3036_clk_ids,
Reviewed-by: Kever Yang <kever.y...@rock-chips.com>
Thanks,
- Kever
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
BOOT_DRIVER(pmuclk_rk3399) = {
+U_BOOT_DRIVER(rockchip_rk3399_pmuclk) = {
.name = "pmuclk_rk3399",
.id = UCLASS_CLK,
.of_match = rk3399_pmuclk_ids,
Reviewed-by: Kever Yang <kever.y...@rock-chips.com>
Thanks,
- Kever
_
Hi Simon,
On 09/23/2016 10:53 AM, Simon Glass wrote:
Hi Kever,
On 19 September 2016 at 21:28, Kever Yang <kever.y...@rock-chips.com> wrote:
Add support for rk3288 dram capacity auto detect, support DDR3 and
LPDDR3, DDR2 is not supported.
The program will automatically detect:
- channel
Init the clock rate to CONFIG_ROCKCHIP_SDHCI_MAX_FREQ with clock driver
api.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/mmc/rockchip_sdhci.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mmc/rockchip_sdhci.c b/drivers/mmc/rockchip_sdhci.c
index c
-by: Kever Yang <kever.y...@rock-chips.com>
Tested-by: Simon Glass <s...@chromium.org>
Tested-by: Vagrant Cascadian <vagr...@debian.org>
---
Changes in v3:
- add error report and return value when error happen
- add comments for stride and address bits.
Changes in v2:
- update co
in v2:
- update code for OF_PLATDATA enabled
- bug fix for ddrconfig
Kever Yang (3):
rk3288: config change for enable dram capacity auto-detect.
rk3288: sdram: auto-detect the capacity
dts: rk3288: remove node in dmc which not need anymore
arch/arm/dts/rk3288-evb.dts | 3
Enable ROCKCHIP_SPL_BACK_TO_BROM and disable CONFIG_SPL_MMC_SUPPORT
to save memory in order to enable add source code for dram capacity
auto-detect.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v3:
- move the config into defconfig file
Changes in v2: None
confi
Since we implement the dram capacity auto detect, we don't
need to set the channel number and sdram-channel in dts.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
Tested-by: Simon Glass <s...@chromium.org>
Tested-by: Vagra
On 2016-09-08, Kever Yang wrote:
The rk3288 spl size is very close to 32KB while
the rk3288 bootrom
has the limitation of maximum size of SPL is 32KB.
After apply this
patch, the SPL size will
Hi Sandy,
On 09/19/2016 09:33 PM, Sandy Patterson wrote:
Hi Kever and Vagrant,
I tested this patch on my rock2 board against 2016.09. (I didn't have
my board with me over the weekend)
Thanks for your test and for your log, my source code do have one bug
and I have fix and upload the V2
the
size issue.
This patch has test with 2GB DDR3 and 2GB/4GB LPDDR3.
V2 add patch to clean some source code size for some rk3288 board to
make the SPL size in the 32KB limitation.
Changes in v2:
- update code for OF_PLATDATA enabled
- bug fix for ddrconfig
Kever Yang (3):
rk3288: config
-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2:
- update code for OF_PLATDATA enabled
- bug fix for ddrconfig
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 244 ++-
1 file changed, 202 insertions(+), 42 deletions(-)
diff --git a/arch/arm/mach-ro
Since we implement the dram capacity auto detect, we don't
need to set the channel number and sdram-channel in dts.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2: None
arch/arm/dts/rk3288-evb.dts | 3 ---
arch/arm/dts/rk3288-fennec.dts | 3 ---
ar
Enable ROCKCHIP_SPL_BACK_TO_BROM and disable CONFIG_SPL_MMC_SUPPORT
to save memory in order to enable add source code for dram capacity
auto-detect.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2: None
include/configs/evb_rk3288.h | 3 +--
include/c
_id if there is none
- other fix for comments from Simon
- add Acked-by tag from Simon and commit message fix
- update the commit message
Kever Yang (7):
rockchip: rk3399: update PPLL and pmu_pclk frequency
rockchip: rkpwm: fix the register sequence
power: regulator: add pwm regulator
rockc
Hi Simon,
On 09/23/2016 11:17 AM, Simon Glass wrote:
Hi,
I have pushed a branch to u-boot-rockchip/testing. Please take a look
and let me know if any of these patches need rework.
Are there more patches coming for this merge window?
Re rk3399, one of the patches causes a build error on
for kernel,it suppose not to change the bus clock like pmu_pclk
in kernel, so we want to change it in uboot.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v3: None
Changes in v2: None
arch/arm/include/asm/arch-rockchip/
Add vdd_center pwm regulator get_device to
enable this regulator.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v3: None
Changes in v2:
- add Acked-by tag from Simon and commit message fix
board/rockchip/evb_rk3399/
Reference to kernel source code, rockchip pwm has three
type, we are using v2 for rk3288 and rk3399, so let's
update the register to sync with pwm_data_v2 in kernel.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v3:
Add a regulator-init-microvolt for vdd_center regulator
so that we can get a init value for driver probe.
Not like pmic regulator, the PWM regulator do not have a
known default output value, so we would like to init the
regulator when driver probe.
Signed-off-by: Kever Yang <kever.y...@r
Enable DM_PWM and DM_REGULATOR on rockchip SoCs.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v3: None
Changes in v2: None
arch/arm/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/Kconfi
add driver support for pwm regulator.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v3:
- remove priv->boot_on to fix compile error
Changes
Enable the pwm regulator for evb-rk3399.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v3: None
Changes in v2: None
configs/evb-rk3399_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/evb-rk3399
Hi Sandy,
On 09/21/2016 07:53 PM, Sandy Patterson wrote:
On Tue, Sep 20, 2016 at 11:00 PM, Kever Yang
<kever.y...@rock-chips.com <mailto:kever.y...@rock-chips.com>> wrote:
Hi Sandy,
On 09/20/2016 09:21 PM, Sandy Patterson wrote:
You're probably going to ne
Hi Sandy,
On 09/21/2016 08:41 PM, Sandy Patterson wrote:
On Tue, Sep 20, 2016 at 10:56 PM, Kever Yang
<kever.y...@rock-chips.com <mailto:kever.y...@rock-chips.com>> wrote:
parameters changes from dts to auto-detect including those I
removed from dts and ddrco
Hi Sandy,
On 09/20/2016 11:04 PM, Sandy Patterson wrote:
I can confirm that this boots on rock2 with current master branch.
9b1b6d42256a4c2e59c803afdbf90d39371e61ba
Thanks for your test.
It doesn't boot for me using rock2 on v2016.09 tag. I get:
U-Boot SPL 2016.09-2-g690a8a3 (Sep 20
default y
On Mon, Sep 19, 2016 at 11:28 PM, Kever Yang
<kever.y...@rock-chips.com <mailto:kever.y...@rock-chips.com>> wrote:
Enable ROCKCHIP_SPL_BACK_TO_BROM and disable CONFIG_SPL_MMC_SUPPORT
to save memory in order to enable add source code for dram capacity
auto-detect.
New config option must using Kconfig, move USB_XHCI_ROCKCHIP into
Kconfig to follow the rule.
Kever Yang (2):
usb: host: add Kconfig for USB_XHCI_ROCKCHIP
rk3399: move the USB_XHCI_ROCKCHIP into Kconfig
configs/evb-rk3399_defconfig| 2 ++
drivers/usb/host/Kconfig| 7
Add a Kconfig for Rockchip xhci controller.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/usb/host/Kconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index e0699d4..afb2e97 100644
--- a/drivers/us
Move USB_XHCI_ROCKCHIP define from soc header file into board defconfig.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
configs/evb-rk3399_defconfig| 2 ++
include/configs/rk3399_common.h | 4
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/confi
+ Simon,
On 08/16/2016 06:03 PM, Kever Yang wrote:
This patch add board_usb_init() and interrupt callback
for dwc3 gadget.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
board/rockchip/evb_rk3399/evb-rk3399.c | 22 ++
1 file changed, 22 insertions(+)
+ Simon,
On 08/16/2016 06:03 PM, Kever Yang wrote:
driver/usb/dwc3/gadget.c need a "sys_proto.h" header file, add a
empty one to make compile success.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/include/asm/arch-rockchip/sys_proto.h | 10 ++
From: MengDongyang <daniel.m...@rock-chips.com>
Select DM_USB to compatible with USB DM driver model.
Signed-off-by: MengDongyang <daniel.m...@rock-chips.com>
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
dif
;daniel.m...@rock-chips.com>
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
drivers/usb/host/Makefile| 3 +
drivers/usb/host/xhci-rockchip.c | 226 +++
include/linux/usb/dwc3.h | 9 ++
3 files changed, 238 insertions(+)
rk3399 using one gpio control signal for two usb 2.0 host port,
it's better to enable the power in board file instead of in usb driver.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
board/rockchip/evb_rk3399/evb-rk3399.c | 16 +++-
1 file changed, 15 insertions
rk3399 evb using one gpio to enable 5V output for both USB 2.0
host port, let's use fixed regulator for them.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/dts/rk3399-evb.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/dts/rk3399-evb.dts b/ar
From: MengDongyang <daniel.m...@rock-chips.com>
This patch to enable configs for usb module
- xhci
- ehci
- usb storage
- usb net
Signed-off-by: MengDongyang <daniel.m...@rock-chips.com>
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
configs/evb-rk3399
devices on rk3399 evb.
Note: type-C port only support usb 2.0 currently because the PD driver
and USB 3.0 phy driver not enabled.
Kever Yang (3):
dts: rk3399-evb: add regulator-fixed for usb host vbus
board: evb-rk3399: enable usb 2.0 host vbus power on board_init
config: evb-rk3399: enable
From: MengDongyang <daniel.m...@rock-chips.com>
rk3399 has two dwc3 controller for type-C port, add the dts node
and enable them.
Signed-off-by: MengDongyang <daniel.m...@rock-chips.com>
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
arch/arm/dts/rk3399-evb.dts |
This patch enable fixed regulator driver for rk3399 evb.
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
index 378111f..9a6d422
Hi Marek,
On 08/17/2016 04:13 PM, Marek Vasut wrote:
On 08/17/2016 09:42 AM, Kever Yang wrote:
From: MengDongyang <daniel.m...@rock-chips.com>
This patch add support for rockchip dwc3 controller, which corresponding
to the two type-C port on rk3399 evb.
Only support usb2.0 currently
Hi Marek,
On 08/17/2016 04:07 PM, Marek Vasut wrote:
On 08/17/2016 04:06 AM, Kever Yang wrote:
Hi Marek,
On 08/17/2016 09:39 AM, Marek Vasut wrote:
On 08/17/2016 03:31 AM, Kever Yang wrote:
Hi Marek,
Hi,
On 08/16/2016 09:18 PM, Marek Vasut wrote:
On 08/16/2016 12:03 PM, Kever Yang wrote
Hi Simon,
On 08/22/2016 12:20 PM, Simon Glass wrote:
Hi Kever,
On 19 August 2016 at 01:19, Kever Yang <kever.y...@rock-chips.com> wrote:
From: MengDongyang <daniel.m...@rock-chips.com>
This patch add support for rockchip dwc3 controller, which corresponding
to the two type-C po
The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY,
add one variable in dwc3/dwc3_device struct to support 16 bit
UTMI+ interface on some SoCs like Rockchip rk3399.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v2:
- use a variable to identify utm
This patch add board_usb_init() and interrupt callback
for dwc3 gadget.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v2:
- parse dt for utmi width
board/rockchip/evb_rk3399/evb-r
This patch set enable rk3399 dwc3 controller and gadget driver
for fastboot.
Changes in v2:
- parse dt for utmi width
- use a variable to identify utmi+ bus width instead of CONFIG MACRO
- remove config for USB2PHY UTMI BITS
Kever Yang (4):
rk3399: add a empty "sys_proto.h" h
driver/usb/dwc3/gadget.c need a "sys_proto.h" header file, add a
empty one to make compile success.
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/sys_proto.h |
To support fastboot, we need to enable the controller first.
rk3399 is using dwc3 as usb device controller, this patch enable
the configs for dwc3 gadget.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v2:
- r
Hi Marek,
On 08/19/2016 06:52 PM, Marek Vasut wrote:
On 08/19/2016 09:19 AM, Kever Yang wrote:
From: MengDongyang <daniel.m...@rock-chips.com>
This patch add support for rockchip dwc3 controller, which corresponding
to the two type-C port on rk3399 evb.
Only support usb2.0 currently
Changes in v2:
- update for comments from Marek
- use regulator_get_by_platname instead of uclass_get_device_by_name
- add Acked-by Tag from Simon
Kever Yang (3):
dts: rk3399-evb: add regulator-fixed for usb host vbus
board: evb-rk3399: enable usb 2.0 host vbus power on board_init
config
From: MengDongyang <daniel.m...@rock-chips.com>
Select DM_USB to compatible with USB DM driver model.
Signed-off-by: MengDongyang <daniel.m...@rock-chips.com>
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes i
This patch enable fixed regulator driver for rk3399 evb.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v3: None
Changes in v2:
- add Acked-by Tag from Simon
configs/evb-rk3399_defconfig | 2 ++
1 file changed,
From: MengDongyang <daniel.m...@rock-chips.com>
This patch to enable configs for usb module
- xhci
- ehci
- usb storage
- usb net
Signed-off-by: MengDongyang <daniel.m...@rock-chips.com>
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chrom
;daniel.m...@rock-chips.com>
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Changes in v3:
- using fdtdec_get_bool and fdtdec_get_int instead of fdt_get_property
- other update by follow comments from Marek and Simon
Changes in v2:
- update for comments from Marek
drivers
rk3399 evb using one gpio to enable 5V output for both USB 2.0
host port, let's use fixed regulator for them.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v3: None
Changes in v2: None
arch/arm/dts/rk3399-evb.dts |
From: MengDongyang <daniel.m...@rock-chips.com>
rk3399 has two dwc3 controller for type-C port, add the dts node
and enable them.
Signed-off-by: MengDongyang <daniel.m...@rock-chips.com>
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chrom
rk3399 using one gpio control signal for two usb 2.0 host port,
it's better to enable the power in board file instead of in usb driver.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
Acked-by: Simon Glass <s...@chromium.org>
---
Changes in v3:
- add Acked-by tag from Simon
C
Hi Marek,
On 08/26/2016 05:09 PM, Marek Vasut wrote:
On 08/25/2016 03:17 AM, Kever Yang wrote:
Hi Marek,
On 08/24/2016 07:38 PM, Marek Vasut wrote:
On 08/24/2016 05:46 AM, Kever Yang wrote:
The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY,
add one variable in dwc3
201 - 300 of 3922 matches
Mail list logo