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
2020-05-08 16:05:44 +02:00
2020-08-05 14:03:32 +02:00
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

Description
No description provided
Readme 5.1 MiB
Languages
C++ 82.9%
C 13.4%
Makefile 1.7%
Shell 1%
M4 0.6%
Other 0.4%