lkml.org 
[lkml]   [2020]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 01/10] input: elants: document some registers and values
From
Date
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.

\
 
 \ /
  Last update: 2020-05-18 11:19    [W:0.075 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site