Regulator should be a option but not mandory for dm adc.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I5fdda2d76dd8ce75673732cc0563d7a18be211e2
Not allow non-signature image to boot if board requires
signature verify.
The board signature verify usually depends on otp/efuse
key is enabled or disabled.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I4e4dd201e74712a53cb0f481463b48532e30bb40
The write loader function may call by mistake if the system
is unstable, which will cause flash reading and writing errors
and data loss.
bug log:
MT RR 15 row=dae38,count 15,status=-1
MT RR 15 row=dae38,count 15,status=-1
flash_read_page_en 0 dae38 error_ecc -1 1
load_l2p_region = 0,2,ffffffff, dae1e
Change-Id: Iac55e7807d739f08146ea2d81265857e6136e5d0
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
Providing sub command "fit-ns" to force building a non-secure image,
mainly for debugging.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I0212dcb1c8387b16a4b0589d74cbc2ddeb282b3d
board_r.c supports noncache memory region right below malloc
area, but board_f.c seems does not reserve it.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I7da218b6d994227a04a91cea02b64b6c91a0cc54
Change "depends on MISC" to "depends on SPL_MISC".
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I1b6c2296d5e88e4e2c0cbafb9bb31790d6f25e66
Backup is required for OTA, we proivde at least 2 copies.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I31303dbeac5fb458f343976290296396c24f988f
Update RK3328 and RK3399 default config to support USB3.0 host.
Change-Id: I2a208478de9711138a85f2cc5fe3bbe69551883b
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
We have changed to use dwc3 generic driver for usb3.0 host, so the
legacy Rockchip's xHCI driver is not needed, and drop it.
Change-Id: I2f6f4d3598aaec1ed30ec3c3f8f594a675520203
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
We have changed to use dwc3 generic driver for Rockchip SoCs,
so let amend dts to fix it and keep in line with Linux Kernel.
Change-Id: Iddf114d6a36f9651fd9b222b25ac7c9040629e22
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
The EP Maxpacket should be varied due the USB speed may be changed
at enumeration time.
Change-Id: I6cf8e1e8b6e3c24d14f7b24638aff88f8dd066e0
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
RK3399 Type-C PHY is required that must hold whole USB3.0 OTG controller
in resetting to hold pipe power state in P2 before initializing the PHY.
This commit fixed it and added device compatible for rockchip platform.
Change-Id: I2a546ac91632ea29d9ea88e94bfde948c387b834
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
This implements the Type-C PHY driver for Rockchip platform
with Cadence IP block.
Change-Id: I4d74aadbae10f743c9daec8f97aadb8458e740fc
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: William Wu <william.wu@rock-chips.com>
Get vbus regulator from DT and manage it when phy power on/off.
Change-Id: Iad6742eb47906b0d13ea1e697a5540e69adb2bd1
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
This adds clocks mandatory for the DWC3 controllers of RK3399,
as these are enabled by default we just simply return success.
Change-Id: I81006d710cb6b4608c8dfa61a4eef661415bad29
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Add DWC3 device data and gadget download support for RK3328 SoCs.
Change-Id: I034e9838f0f44f24ebb9b9e372039a19e089f3be
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
This implements the USB3.0 PHY driver for Rockchip platform
with Inno IP block.
Change-Id: I161915cf36fec441822f5f151f017ba8a7ecff9f
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>