diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-10-15 17:26:46 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2024-10-17 03:12:47 +0200 |
commit | 12049db764378c92d9cbec72b48f2a6df4e6ae27 (patch) | |
tree | 093ac9ac652a03e95802e77996fe01be4efb8bc5 /drivers/usb/cdns3/core.h | |
parent | 64002d0cb00f81b214f5144aebb80aead92d9818 (diff) |
rockchip: rk3588-rock-5b: Add USB-C controller to u-boot.dtsi
Add USB-C controller (fusb302), which will be used by U-Boot to
initialize USB-PD. This is needed, because USB-PD communication
must happen within 5 seconds after the USB-C connector got plugged.
On my Rock 5B it often takes 5 seconds to jump to the Linux binary,
so it must happen before Linux is initialized.
This adds the DT node to the U-Boot specific file, since the Linux
kernel DT currently does not describe it to avoid a system reset.
The plan is to add it to the Linux DT with status = 'fail' and then
let U-Boot mark it as status = 'okay' if it properly dealt with
early USB-PD initialization. Until the Kernel DT has the node, let's
add it in U-Boot to get things going.
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Tested-by: Soeren Moch <smoch@web.de>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/usb/cdns3/core.h')
0 files changed, 0 insertions, 0 deletions