Skip to content

Commit

Permalink
sdm660: Add initial support for x00td
Browse files Browse the repository at this point in the history
Signed-off-by: Aboothahir U <aboothahirpkd@gmail.com>
  • Loading branch information
iAboothahir authored and MollySophia committed Jan 8, 2024
1 parent 9806415 commit f8a16dd
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
Binary file added Platform/Asus/sdm660/FdtBlob_compat/x00td.dtb
Binary file not shown.
28 changes: 28 additions & 0 deletions Platform/Asus/sdm660/x00td.dsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[Defines]
VENDOR_NAME = ASUS
PLATFORM_NAME = x00td
PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee
PLATFORM_VERSION = 0.1
DSC_SPECIFICATION = 0x00010019
OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
SUPPORTED_ARCHITECTURES = AARCH64
BUILD_TARGETS = DEBUG|RELEASE
SKUID_IDENTIFIER = DEFAULT
FLASH_DEFINITION = Platform/Qualcomm/sdm660/sdm660.fdf
DEVICE_DXE_FV_COMPONENTS = Platform/Asus/sdm660/x00td.fdf.inc

!include Platform/Qualcomm/sdm660/sdm660.dsc

[BuildOptions.common]
GCC:*_*_AARCH64_CC_FLAGS = -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE

[PcdsFixedAtBuild.common]
gQcomTokenSpaceGuid.PcdMipiFrameBufferWidth|1080
gQcomTokenSpaceGuid.PcdMipiFrameBufferHeight|2160

# Simple Init
gSimpleInitTokenSpaceGuid.PcdGuiDefaultDPI|420

gRenegadePkgTokenSpaceGuid.PcdDeviceVendor|"Asus"
gRenegadePkgTokenSpaceGuid.PcdDeviceProduct|"MaxProM1"
gRenegadePkgTokenSpaceGuid.PcdDeviceCodeName|"X00TD"
16 changes: 16 additions & 0 deletions Platform/Asus/sdm660/x00td.fdf.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// per-device BSP DXEs

// ACPI Tables
FILE FREEFORM = 7E374E25-8E01-4FEE-87F2-390C23C606CD {
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/DSDT/DSDT.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/CSRT.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/DBG2.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/FACS.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/FADT.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/GTDT.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/MADT.aml
SECTION RAW = Silicon/Qualcomm/sdm660/AcpiTables/BuiltIn/MCFG.aml
SECTION UI = "AcpiTables"
}

// Mainline device tree blob
7 changes: 7 additions & 0 deletions configs/devices/x00td.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SOC_PLATFORM="SDM660"
VENDOR_NAME="Asus"
PLATFORM_NAME="x00td"

# mkbootimg config
BOOTIMG_OS_PATCH_LEVEL="2023-03"
BOOTIMG_OS_VERSION=13.0.0

0 comments on commit f8a16dd

Please sign in to comment.