Go to file
Bruno Martins a4c9f8201b
davinci: power: Scan input devices for eligible DT2W node
It is no longer a surprise for anyone to see Xiaomi shipping the same
device with different displays and different displays usually mean
different touchscreen drivers.

The current double tap handling in the power HAL only takes into
account one specific node, meant to be set in the device tree.
However, if the touchscreen was registered as a different input device
it would cause the feature to be broken. Address the issue by iterating
through the input devices in order to find one supported touchscreen
input to be used.

Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I2f7fb4a8b0c9cd1a16d6c2b93602d285a191f170
2020-08-05 14:03:32 +02:00
bluetooth/include davinci: bluetooth: Add builcfg 2020-08-05 14:03:31 +02:00
configs davinci: Import qti_whitelist 2020-05-08 16:05:44 +02:00
fod davinci: fod: Implement handleAcquire() 2020-08-05 14:03:32 +02:00
libhidl davinci: Build separate system and vendor HIDL libs 2020-05-08 16:05:44 +02:00
light davinci: light: Detect maximum brightness dynamically 2020-08-05 14:03:32 +02:00
overlay davinci: overlay: Set default hotspot ssid 2020-06-23 21:53:27 +02:00
overlay-lineage davinci: Make fod color transparent and add custom icon 2020-08-05 14:03:32 +02:00
parts davinci: parts: Add icons for popup settings 2020-08-05 14:03:31 +02:00
power davinci: power: Scan input devices for eligible DT2W node 2020-08-05 14:03:32 +02:00
recovery davinci: Add assertions on baseband version 2020-05-08 16:05:44 +02:00
Android.bp davinci: Include hardware/xiaomi soong namespace 2020-06-23 21:54:04 +02:00
Android.mk davinci: Create WLAN firmware symlinks 2020-04-27 12:58:56 +02:00
AndroidProducts.mk davinci: Initial device tree 2020-04-27 12:57:31 +02:00
board-info.txt davinci: Add assertions on baseband version 2020-05-08 16:05:44 +02:00
BoardConfig.mk davinci: power: Prepare HAL extension 2020-08-05 14:03:32 +02:00
device.mk davinci: power: Build HAL 2020-08-05 14:03:32 +02:00
extract-files.sh davinci: Add extract scripts 2020-05-08 16:05:37 +02:00
lineage_davinci.mk davinci: Initial device tree 2020-04-27 12:57:31 +02:00
proprietary-files.txt davinci: fod: Import blobs 2020-08-05 14:03:31 +02:00
README.md davinci: Add spec info about Mi 9T/Redmi K20 2020-04-18 00:05:38 +02:00
releasetools.py davinci: Add assertions on baseband version 2020-05-08 16:05:44 +02:00
setup-makefiles.sh davinci: Add extract scripts 2020-05-08 16:05:37 +02:00

Copyright (C) 2020 The LineageOS Project

Device configuration for Xiaomi Mi 9T/Redmi K20

The Xiaomi Mi 9T/Redmi K20 (codenamed "davinci") is a mid-range smartphone from Xiaomi.

It was announced in June 2019. Release date was June 2019.

Device specifications

Basic Spec Sheet
CPU Dual-core 2.2 GHz Kryo 470 Gold & Hexa-core 1.8 GHz Kryo 470 Silver
Chipset Qualcomm SDM730 Snapdragon 730
GPU Adreno 618
Memory 6 GB RAM
Shipped Android Version 9.0
Storage 64/128 GB (UFS 2.0)
Battery Non-removable Li-Po 4000 mAh
Display 1080 x 2340 pixels, 6.39 inches (~428 ppi pixel density)
Camera Main 48 MP f/1.8, telephoto lens, ultrawide lens, dual-LED (dual tone) flash

Device picture

Xiaomi Mi 9T/Redmi K20