Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions board/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,13 @@ menu "Device Support"
help
Say Y if you want to include support for Samsung Galaxy S22+

config SAMSUNG_GTA3XL
bool "Support for Samsung Galaxy Tab A 10.1 (2019)"
default n
depends on EXYNOS_7885
help
Say Y if you want to include support for Samsung Galaxy Tab A 10.1 (2019)

config SAMSUNG_GTA4XL
bool "Support for Samsung Galaxy Tab S6 Lite (2020)"
default n
Expand Down
1 change: 1 addition & 0 deletions board/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ lib-$(CONFIG_SAMSUNG_BEYOND1LTE) += samsung/board-beyond1lte.o
lib-$(CONFIG_SAMSUNG_C1S) += samsung/board-c1s.o
lib-$(CONFIG_SAMSUNG_DREAMLTE) += samsung/board-dreamlte.o
lib-$(CONFIG_SAMSUNG_G0S) += samsung/board-g0s.o
lib-$(CONFIG_SAMSUNG_GTA3XL) += samsung/board-gta3xl.o
lib-$(CONFIG_SAMSUNG_GTA4XL) += samsung/board-gta4xl.o
lib-$(CONFIG_SAMSUNG_GTS8WIFI) += samsung/board-gts8wifi.o
lib-$(CONFIG_SAMSUNG_HEROLTE) += samsung/board-herolte.o
Expand Down
41 changes: 41 additions & 0 deletions board/samsung/board-gta3xl.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2026, Umer Uddin <umer.uddin@mentallysanemainliners.org>
* Copyright (c) 2026, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
*/
#include <board.h>
#include <util.h>
#include <drivers/framework.h>
#include <lib/simplefb.h>
#include <soc/exynos7885.h>

// Early initialization
int gta3xl_init(void)
{
/* Allow framebuffer to be written to */
*(int*) (DECON_F_BASE + HW_SW_TRIG_CONTROL) = 0x1281;
return 0;
}

static struct video_info gta3xl_fb = {
.format = FB_FORMAT_ARGB8888,
.width = 1200,
.height = 1920,
.scale = 2,
.stride = 4,
.address = (void *)0xec000000
};

static const struct device gta3xl_devices[] = {
{ "simplefb", &gta3xl_fb, "fb" },
};

struct board_data board_ops = {
.name = "samsung-gta3xl",
.ops = {
.early_init = gta3xl_init,
},
.devices = gta3xl_devices,
.num_devices = ARRAY_SIZE(gta3xl_devices),
.quirks = 0
};
2 changes: 1 addition & 1 deletion board/samsung/board-x1s.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2022, halal-beef <78730004+halal-beef@users.noreply.github.com>
* Copyright (c) 2022, Umer Uddin <umer.uddin@mentallysanemainliners.org>
* Copyright (c) 2024, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
*/
#include <board.h>
Expand Down
7 changes: 7 additions & 0 deletions configs/gta3xl_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CONFIG_POSITION_INDEPENDENT=y
# CONFIG_COMPRESS_GZIP is not set
CONFIG_EXYNOS_7885=y
CONFIG_SAMSUNG_GTA3XL=y
CONFIG_TEXT_BASE=0x88000000
CONFIG_PAYLOAD_ENTRY=0x90000000
CONFIG_RAMDISK_ENTRY=0x84000000
2 changes: 1 addition & 1 deletion include/soc/exynos990.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2022, halal-beef <78730004+halal-beef@users.noreply.github.com>
* Copyright (c) 2022, Umer Uddin <umer.uddin@mentallysanemainliners.org>
*/

#ifndef EXYNOS990_H_ /* Include guard */
Expand Down
2 changes: 1 addition & 1 deletion soc/exynos/exynos990.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2022, halal-beef <78730004+halal-beef@users.noreply.github.com>
* Copyright (c) 2022, Umer Uddin <umer.uddin@mentallysanemainliners.org>
*/

#include <soc/exynos990.h>
Expand Down
Loading