u-boot/arch
Marty E. Plummer 6d36e92d28 rockchip: rk3399: Add support for chromebook_kevin
Add support for Kevin, an RK3399-based convertible chromebook that is
very similar to Bob. This patch is mostly based on existing support for
Bob, with only minor changes for Kevin-specific things.

Unlike other Gru boards, coreboot sets Kevin's center logic to 925 mV,
so adjust it here in the dts as well. The rk3399-gru-kevin devicetree
has an unknown event code reference which has to be defined, set it
to the Linux counterpart. The new defconfig is copied from Bob with the
diffconfig:

     DEFAULT_DEVICE_TREE "rk3399-gru-bob" -> "rk3399-gru-kevin"
     DEFAULT_FDT_FILE "rockchip/rk3399-gru-bob.dtb" -> "rockchip/rk3399-gru-kevin.dtb"
     VIDEO_ROCKCHIP_MAX_XRES 1280 -> 2400
     VIDEO_ROCKCHIP_MAX_YRES 800 -> 1600
    +TARGET_CHROMEBOOK_KEVIN y

With this Kevin can boot from SPI flash to a usable U-Boot prompt on the
display with the keyboard working, but cannot boot into Linux for
unknown reasons.

eMMC starts in a working state but fails to re-init, microSD card works
but at a lower-than-expected speed, USB works but causes a hang on
de-init. There are known workarounds to solve eMMC and USB issues.

Cc: Marty E. Plummer <hanetzer@startmail.com>
Cc: Simon Glass <sjg@chromium.org>
[Alper: commit message, resync config with Bob, update MAINTAINERS,
        add to Rockchip doc, add Kconfig help message, set regulator]
Co-developed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
2022-03-18 18:12:03 +08:00
..
arc dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
arm rockchip: rk3399: Add support for chromebook_kevin 2022-03-18 18:12:03 +08:00
m68k dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
microblaze Xilinx changes for v2022.04-rc3 2022-02-21 08:32:02 -05:00
mips dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
nds32 dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
nios2 dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
powerpc powerpc: mpc8xx: drop CONFIG_SYS_RESET_ADDRESS 2022-02-10 16:44:23 -05:00
riscv k210: dts: align plic node with Linux 2022-03-15 17:43:11 +08:00
sandbox acpi: Move acpi_write_tables() to a generic header 2022-02-11 11:29:23 -05:00
sh dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
x86 x86: Add an enum name for the GNVS firmware type 2022-03-14 15:20:40 +08:00
xtensa dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
.gitignore
Kconfig Convert CONFIG_SCSI_AHCI_PLAT et al to Kconfig 2022-02-09 09:16:48 -05:00
u-boot-elf.lds