board: Add support for gta4xl (Samsung Galaxy Tab S6 Lite)

Signed-off-by: Alexandru Chimac	<alexchimac@protonmail.com>
This commit is contained in:
chmcax 2024-09-14 22:59:27 +03:00
parent 0d2f55d9f6
commit 571fcac1f7
4 changed files with 24 additions and 1 deletions

View File

@ -68,6 +68,13 @@ menu "Device Support"
depends on QC32_8916
help
Say Y if you want to include arm32 support for Samsung Galaxy J5 2015
config SAMSUNG_GTA4XL
bool "Support for Samsung Galaxy Tab S6 Lite"
default n
depends on EXYNOS_9610
help
Say Y if you want to include support for Samsung Galaxy Tab S6 Lite
endmenu
menu "Device Specific Addresses"
@ -88,6 +95,7 @@ menu "Device Specific Addresses"
default 0x090000000 if SAMSUNG_X1S
default 0x050000000 if SAMSUNG_J4LTE
default 0x090000000 if SAMSUNG_J5LTE
default 0x090000000 if SAMSUNG_GTA4XL
config FRAMEBUFFER_BASE
hex "Framebuffer Base Address (for SimpleFB)"
@ -102,6 +110,7 @@ menu "Device Specific Addresses"
default 0x0F1000000 if SAMSUNG_X1S
default 0x067000000 if SAMSUNG_J4LTE
default 0x08e000000 if SAMSUNG_J5LTE
default 0x0CA000000 if SAMSUNG_GTA4XL
config FRAMEBUFFER_WIDTH
int "Framebuffer Width (for SimpleFB)"
@ -116,6 +125,7 @@ menu "Device Specific Addresses"
default 1440 if SAMSUNG_X1S
default 720 if SAMSUNG_J4LTE
default 720 if SAMSUNG_J5LTE
default 1200 if SAMSUNG_GTA4XL
config FRAMEBUFFER_HEIGHT
int "Framebuffer Height (for SimpleFB)"
@ -130,6 +140,7 @@ menu "Device Specific Addresses"
default 3200 if SAMSUNG_X1S
default 1280 if SAMSUNG_J4LTE
default 1280 if SAMSUNG_J5LTE
default 2000 if SAMSUNG_GTA4XL
config FRAMEBUFFER_STRIDE
int "Framebuffer Stride (for SimpleFB)"
@ -144,6 +155,7 @@ menu "Device Specific Addresses"
default 4 if SAMSUNG_X1S
default 4 if SAMSUNG_J4LTE
default 3 if SAMSUNG_J5LTE
default 4 if SAMSUNG_GTA4XL
config FRAMEBUFFER_BGRA
bool "Framebuffer BGRA (for SimpleFB)"

View File

@ -7,4 +7,5 @@ lib-$(CONFIG_SAMSUNG_DREAMLTE) += samsung/board-dreamlte.o
lib-$(CONFIG_SAMSUNG_STARLTE) += samsung/board-starlte.o
lib-$(CONFIG_SAMSUNG_X1S) += samsung/board-x1s.o
lib-$(CONFIG_SAMSUNG_J5LTE) += samsung/board-j5lte.o
lib-$(CONFIG_SAMSUNG_J4LTE) += samsung/board-j4lte.o
lib-$(CONFIG_SAMSUNG_J4LTE) += samsung/board-j4lte.o
lib-$(CONFIG_SAMSUNG_GTA4XL) += samsung/board-gta4xl.o

View File

@ -0,0 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2024 Alexandru Chimac <alexchimac@protonmail.com>
*/
void board_init(void) {
}

3
configs/gta4xl_defconfig Normal file
View File

@ -0,0 +1,3 @@
CONFIG_CROSS_COMPILE="aarch64-linux-gnu-"
CONFIG_EXYNOS_9610=y
CONFIG_SAMSUNG_GTA4XL=y