touch: Proper init

This patch applies the simpler init from HOS driver.

The most important change is enabling a feature that the fw supports:
Automatic tuning and calibration based on saved tuning values (running HOS only once saves these).
This commit is contained in:
CTCaer
2020-03-13 08:39:38 +02:00
parent 95e3159fe9
commit 8539095bdb
2 changed files with 23 additions and 28 deletions

View File

@@ -46,6 +46,7 @@
#define STMFTS_SS_CX_TUNING 0xA4
#define STMFTS_RELEASEINFO 0xAA
#define STMFTS_WRITE_REG 0xB6
#define STMFTS_AUTO_CALIBRATION 0xC3
#define STMFTS_NOISE_WRITE 0xC7
#define STMFTS_NOISE_READ 0xC8
#define STMFTS_RW_FB_REG 0xD0 // read data