18.05.2020 07:07, Dmitry Torokhov пишет: ... >> +/* FW write command, 0x54 0x?? 0x0, 0x01 */ >> +#define E_POWER_MODE_BATTERY 0x40 >> +#define E_POWER_MODE_AC 0x41 >> +#define E_POWER_MODE_USB 0x42 > > What is this for? It is possible to switch the touchscreen's power source. Downstream kernel switches away from the battery source when USB cable is connected and baterry is charging. This is not supported by upstream driver yet, I guess it should be good to postpone adding these FW opcodes until they will become actually needed.