harpia: Some touchscreens do not work
Some harpia devices have different touchscreen revisions that do not seem to work currently. The touch driver seems to be registered, but there is no response from actual touches.
Dmesg from android with working touchscren:
~ # dmesg | grep synaptics
<4>[ 2.450743,0] synaptics_dsx_dt_parse_mode: can't find touchstate modes node
<4>[ 2.450773,0] synaptics_dsx_of_init: failed to load default mode
<5>[ 2.450806,0] synaptics_dsx_of_init: using gpio config
<3>[ 2.450831,0] synaptics_dsx_i2c 2-0020: clip area read failure
<3>[ 2.549273,0] synaptics_dsx_i2c 2-0020: timed out waiting for reset to complete
<3>[ 2.649258,0] synaptics_dsx_i2c 2-0020: timed out waiting for reset to complete
<4>[ 2.649293,0] synaptics_dsx_i2c 2-0020: synaptics_rmi4_probe: timed out waiting for idle
<3>[ 2.652806,0] synaptics_dsx_i2c 2-0020: synaptics_rmi4_cap_button_map: cap_button_map is NULL in board file
<6>[ 2.654302,0] synaptics_dsx_i2c 2-0020: F51: ctrl [0]=02, [1]=00
<6>[ 2.657775,0] input: synaptics_dsx_i2c as /devices/soc.0/78b6000.i2c/i2c-2/2-0020/input/input0
<6>[ 2.657889,0] synaptics_rmi4_query_device: Product: harpia, firmware id: 237533, config id: 0b004d04
<6>[ 2.658786,1] synaptics_dsx_sensor_state: state change UNKNOWN -> STANDBY
<6>[ 2.658817,1] synaptics_dsx_sysfs_touchscreen: assigned minor 32
<4>[ 2.659222,1] [<c016349c>] (pm_qos_add_request) from [<c05a3edc>] (synaptics_rmi4_probe+0xb14/0xd80)
<4>[ 2.659257,1] [<c05a3edc>] (synaptics_rmi4_probe) from [<c05bbb88>] (i2c_device_probe+0xbc/0x104)
<6>[ 2.660436,2] synaptics_dsx_i2c 2-0020: fwu_scan_pdt: BL version = 5
<3>[ 4.433273,0] synaptics_dsx_i2c 2-0020: timed out waiting for reset to complete
<3>[ 4.533357,0] synaptics_dsx_i2c 2-0020: timed out waiting for reset to complete
<4>[ 4.533381,0] synaptics_dsx_i2c 2-0020: synaptics_rmi4_resume: timed out waiting for idle
<6>[ 4.534036,0] synaptics_dsx_sensor_state: state change STANDBY -> ACTIVE
<6>[ 4.534214,0] synaptics_dsx_sensor_state: state change ACTIVE -> SUSPEND
<6>[ 4.534237,0] synaptics_rmi4_suspend: screen:
<3>[ 5.061286,0] synaptics_dsx_i2c 2-0020: timed out waiting for reset to complete
<3>[ 5.161331,0] synaptics_dsx_i2c 2-0020: timed out waiting for reset to complete
<4>[ 5.161434,0] synaptics_dsx_i2c 2-0020: synaptics_rmi4_resume: timed out waiting for idle
<6>[ 5.162362,0] synaptics_dsx_sensor_state: state change SUSPEND -> ACTIVE
<6>[ 74.430571,0] synaptics_dsx_sensor_state: state change ACTIVE -> SUSPEND
<6>[ 74.430595,0] synaptics_rmi4_suspend: screen:
<3>[ 259.345326,0] synaptics_dsx_i2c 2-0020: timed out waiting for reset to complete
<3>[ 259.445345,0] synaptics_dsx_i2c 2-0020: timed out waiting for reset to complete
<4>[ 259.445365,0] synaptics_dsx_i2c 2-0020: synaptics_rmi4_resume: timed out waiting for idle
<6>[ 259.446002,0] synaptics_dsx_sensor_state: state change SUSPEND -> ACTIVE
<6>[ 259.446175,0] synaptics_dsx_sensor_state: state change ACTIVE -> SUSPEND
<6>[ 259.446198,0] synaptics_rmi4_suspend: screen:
<3>[ 260.933330,0] synaptics_dsx_i2c 2-0020: timed out waiting for reset to complete
<3>[ 261.033345,0] synaptics_dsx_i2c 2-0020: timed out waiting for reset to complete
<4>[ 261.033365,0] synaptics_dsx_i2c 2-0020: synaptics_rmi4_resume: timed out waiting for idle
<6>[ 261.034003,0] synaptics_dsx_sensor_state: state change SUSPEND -> ACTIVE
<6>[ 261.034171,0] synaptics_dsx_sensor_state: state change ACTIVE -> SUSPEND
<6>[ 261.034194,0] synaptics_rmi4_suspend: screen:
<3>[ 261.557309,0] synaptics_dsx_i2c 2-0020: timed out waiting for reset to complete
<3>[ 261.657458,0] synaptics_dsx_i2c 2-0020: timed out waiting for reset to complete
<4>[ 261.657915,0] synaptics_dsx_i2c 2-0020: synaptics_rmi4_resume: timed out waiting for idle
<6>[ 261.659129,0] synaptics_dsx_sensor_state: state change SUSPEND -> ACTIVEFull dmesg from pmOS: https://pastebin.com/raw/rBv5dwrK
/sys/devices/rmi4-00/input/input4 registers /dev/input/event4 which returns nothing
/proc/cmdline has these lines in relation to the panel mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_mot_tianma_499_720p_video_v2