Mainline port supports all features currently available on the platform, bringing whyred in line with the best supported devices on the sdm660 kernel. Working: * framebuffer display * regulators * volume/power keys * gpio hall sensor * battery fulegauge & charger * PMIC vibrator * PMIC WLED backlight * notification LED * storage: eMMC, SD cards * USB (only USB2 and only gadget mode, like the rest of the platform) * hardware video enocder/decoder (venus) * WCN3990 Bluetooth, Wi-Fi * Synaptics rmi4 touchscreen * Display (mdss), GPU Adreno 509 * LCD IPS video mode panel (Tianma TD4310) * sensors are automagically supported too Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6469 Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
# Reference: <https://postmarketos.org/deviceinfo>
|
|
# Please use double quotes only. You can source this file in shell
|
|
# scripts.
|
|
|
|
deviceinfo_format_version="0"
|
|
deviceinfo_name="Xiaomi Redmi Note 5 Pro"
|
|
deviceinfo_manufacturer="Xiaomi"
|
|
deviceinfo_codename="xiaomi-whyred"
|
|
deviceinfo_year="2018"
|
|
deviceinfo_dtb="qcom/sdm636-xiaomi-whyred"
|
|
deviceinfo_append_dtb="true"
|
|
deviceinfo_arch="aarch64"
|
|
deviceinfo_flash_kernel_on_update="false"
|
|
|
|
# Device related
|
|
deviceinfo_gpu_accelerated="true"
|
|
deviceinfo_chassis="handset"
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_external_storage="true"
|
|
deviceinfo_screen_width="1080"
|
|
deviceinfo_screen_height="2160"
|
|
deviceinfo_swap_size_recommended="1024"
|
|
|
|
# Bootloader related
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_generate_extlinux_config="true"
|
|
deviceinfo_bootimg_qcdt="false"
|
|
deviceinfo_header_version="0"
|
|
deviceinfo_flash_method="fastboot"
|
|
deviceinfo_flash_fastboot_partition_vbmeta="vbmeta"
|
|
deviceinfo_flash_offset_base="0x00000000"
|
|
deviceinfo_flash_offset_kernel="0x00008000"
|
|
deviceinfo_flash_offset_ramdisk="0x01000000"
|
|
deviceinfo_flash_offset_second="0x00000000"
|
|
deviceinfo_flash_offset_tags="0x00000100"
|
|
deviceinfo_flash_pagesize="4096"
|
|
deviceinfo_flash_sparse="true"
|