Re: [PATCH v5 01/10] input: elants: document some registers and values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux