board: Add support for Blackview Tab 15 Pro

Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>
This commit is contained in:
Akari Tsuyukusa
2026-05-23 11:15:47 +09:00
committed by Igor Bełwon
parent f41400cbdc
commit 6ded1cbd44
5 changed files with 53 additions and 0 deletions

View File

@@ -20,6 +20,9 @@ environment in case of a forced and buggy bootloader.
### Amazon
- PW3
### Blackview
- Tab15Pro
### Google
- Taimen

View File

@@ -14,6 +14,13 @@ menu "Device Support"
help
Say Y if you want to include support for iPhone 6
config BLACKVIEW_TAB15PRO
bool "Support for Blackview Tab 15 Pro"
default n
depends on UMS9230
help
Say Y if you want to include support for Blackview Tab 15 Pro
config GOOGLE_TAIMEN
bool "Support for Google Pixel 2 XL"
default n

View File

@@ -1,5 +1,6 @@
lib-$(CONFIG_AMAZON_PW3) += amazon/board-pw3.o
lib-$(CONFIG_APPLE_N61AP) += apple/board-n61ap.o
lib-$(CONFIG_BLACKVIEW_TAB15PRO) += blackview/board-tab15pro.o
lib-$(CONFIG_GOOGLE_TAIMEN) += google/board-taimen.o
lib-$(CONFIG_HUAWEI_AGASSI2) += huawei/board-agassi2.o
lib-$(CONFIG_INFINIX_X6710) += infinix/board-x6710.o

View File

@@ -0,0 +1,35 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2026, Akari Tsuyukusa <akkun11.open@gmail.com>
*/
#include <board.h>
#include <drivers/framework.h>
#include <lib/simplefb.h>
#ifdef CONFIG_SIMPLE_FB
static struct video_info tab15pro_fb = {
.format = FB_FORMAT_RGB565,
.width = 1200,
.height = 1920,
.stride = 2,
.address = (void *)0x9e000000,
.scale = 2,
};
#endif
int tab15pro_drv(void)
{
#ifdef CONFIG_SIMPLE_FB
REGISTER_DRIVER("simplefb", simplefb_probe, &tab15pro_fb);
#endif
return 0;
}
struct board_data board_ops = {
.name = "blackview-tab15pro",
.ops = {
.drivers_init = tab15pro_drv
},
.quirks = 0
};

View File

@@ -0,0 +1,7 @@
CONFIG_UMS9230=y
CONFIG_SIMPLE_FB=y
CONFIG_BLACKVIEW_TAB15PRO=y
CONFIG_LINUX_KRNL_HEADER_IMG=y
CONFIG_TEXT_BASE=0x80080000
CONFIG_PAYLOAD_ENTRY=0x90000000
CONFIG_RAMDISK_ENTRY=0xa0000000