History log of /rk3399_rockchip-uboot/drivers/usb/phy/rockchip_usb2_phy.c (Results 1 – 9 of 9)
Revision Date Author Comments
# f1ba13f8 04-Mar-2018 Masahiro Yamada <yamada.masahiro@socionext.com>

UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>

Thomas reported U-Boot failed to build host tools if libfdt-devel
package is installed because tools include libfdt header

UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>

Thomas reported U-Boot failed to build host tools if libfdt-devel
package is installed because tools include libfdt headers from
/usr/include/ instead of using internal ones.

This commit moves the header code:
include/libfdt.h -> include/linux/libfdt.h
include/libfdt_env.h -> include/linux/libfdt_env.h

and replaces include directives:
#include <libfdt.h> -> #include <linux/libfdt.h>
#include <libfdt_env.h> -> #include <linux/libfdt_env.h>

Change-Id: I68fd5734d6460c169fa5ee2893c57cb5d73340b6
Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit b08c8c4870831c9315dcae237772238e80035bd5)

show more ...


# 6a3f8006 12-Mar-2019 William Wu <william.wu@rock-chips.com>

usb: phy: rockchip: fix implicit definition warning

When make with rock_defconfig, compile warning for the
following implicitly defined function are raised due to
a missing include directive:

dri

usb: phy: rockchip: fix implicit definition warning

When make with rock_defconfig, compile warning for the
following implicitly defined function are raised due to
a missing include directive:

drivers/usb/phy/rockchip_usb2_phy.c: In function ‘otg_phy_parse’:
drivers/usb/phy/rockchip_usb2_phy.c: 102:10: error:
implicit declaration of function ‘fdt_translate_address’ [-Werror=implicit-function-declaration]
addr = fdt_translate_address(blob, node, reg);
^~~~~~~~~~~~~~~~~~~~~
This change fixes this by including <fdt_support.h>.

And this patch also fixes the following compile error:

drivers/usb/phy/rockchip_usb2_phy.c:96:1: error:
label ‘retry’ defined but not used [-Werror=unused-label]

Change-Id: Ia82d0ff02b0f528ddde8a553d457c6c0cb763680
Signed-off-by: William Wu <william.wu@rock-chips.com>

show more ...


# da1b89c5 29-Jan-2019 William Wu <william.wu@rock-chips.com>

usb: phy: rockchip: get the otg node correctly

In the commit 525293385cca ("rockchip: board: rework board
usb init"), it correct the way to find the otg node. This
patch do the same thing here.

Cha

usb: phy: rockchip: get the otg node correctly

In the commit 525293385cca ("rockchip: board: rework board
usb init"), it correct the way to find the otg node. This
patch do the same thing here.

Change-Id: I27c66f48d9f6c99f1d6e45c2b83d2bcd6365a1f3
Signed-off-by: William Wu <william.wu@rock-chips.com>

show more ...


# 0e00a84c 04-Mar-2018 Masahiro Yamada <yamada.masahiro@socionext.com>

UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>

Thomas reported U-Boot failed to build host tools if libfdt-devel
package is installed because tools include libfdt header

UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>

Thomas reported U-Boot failed to build host tools if libfdt-devel
package is installed because tools include libfdt headers from
/usr/include/ instead of using internal ones.

This commit moves the header code:
include/libfdt.h -> include/linux/libfdt.h
include/libfdt_env.h -> include/linux/libfdt_env.h

and replaces include directives:
#include <libfdt.h> -> #include <linux/libfdt.h>
#include <libfdt_env.h> -> #include <linux/libfdt_env.h>

Change-Id: I6c0f7e50e8b571106627f25ddac008a62bd2994e
Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...


# 3e4afe6b 05-Dec-2018 William Wu <william.wu@rock-chips.com>

usb: phy: rockchip: support vbus detect for rk3288

This patch implements USB vbus detect API for rk3288,
it can be used for user to determine whether enter
download mode or not.

Change-Id: Ic493b40

usb: phy: rockchip: support vbus detect for rk3288

This patch implements USB vbus detect API for rk3288,
it can be used for user to determine whether enter
download mode or not.

Change-Id: Ic493b40b56cd149ec19f57ce914d70d288c54ca9
Signed-off-by: William Wu <william.wu@rock-chips.com>

show more ...


# fee1ae34 05-Nov-2018 Nickey Yang <nickey.yang@rock-chips.com>

usb: phy: add missed siddq set for rk3288 platform

power up usb phy analog blocks by siddq when reboot-loader.

Change-Id: I2fb1f8640bbb00a14cb18252cab78e8190efdd19
Signed-off-by: Nickey Yang <nicke

usb: phy: add missed siddq set for rk3288 platform

power up usb phy analog blocks by siddq when reboot-loader.

Change-Id: I2fb1f8640bbb00a14cb18252cab78e8190efdd19
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>

show more ...


# e7b5bb3c 09-Jul-2018 William Wu <william.wu@rock-chips.com>

rockchip: usb: dwc2: support rk3288 usb with kernel dtb

Whit kernel dtb support, we need to get rk3288 dwc2 otg
node by compatible "rockchip,rk3288_usb20_otg" rather than
"snps,dwc2", because rk3288

rockchip: usb: dwc2: support rk3288 usb with kernel dtb

Whit kernel dtb support, we need to get rk3288 dwc2 otg
node by compatible "rockchip,rk3288_usb20_otg" rather than
"snps,dwc2", because rk3288 dwc2 otg uses rockchip legacy
dwc2 driver "dwc_otg_310".

Change-Id: Ib7b536e554776f1dd09d34d0a2ac1754df9c753e
Signed-off-by: William Wu <william.wu@rock-chips.com>

show more ...


# 471ba803 07-Jun-2018 Frank Wang <frank.wang@rock-chips.com>

usb: phy: fixed otg-phy init error for rk3288 platform

The defect was introduced when clean up platform board file in commit
fc98393 (rockchip: rk3288: use common board file). This change padded
USB

usb: phy: fixed otg-phy init error for rk3288 platform

The defect was introduced when clean up platform board file in commit
fc98393 (rockchip: rk3288: use common board file). This change padded
USB otg-phy private data before otg-phy init to fix it.

Change-Id: I3188a3d04c4ba04435fa279668fc69bac847ba89
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# fab33579 14-Jul-2016 Xu Ziyuan <xzy.xu@rock-chips.com>

usb: rockchip-phy: implement USB2.0 phy control

So far, Rockchip SoCs have two kinds of USB2.0 phy, such as Synopsys and
Innosilicon. This patch applys dwc2 usb driver framework to implement
phy_ini

usb: rockchip-phy: implement USB2.0 phy control

So far, Rockchip SoCs have two kinds of USB2.0 phy, such as Synopsys and
Innosilicon. This patch applys dwc2 usb driver framework to implement
phy_init() and phy_off() methods for Synopsys phy on Rockchip platform.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>

show more ...