[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c2a02c41-3474-583f-4f14-a81c8b5846cf@gmail.com>
Date: Mon, 18 May 2020 12:18:05 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Michał Mirosław <mirq-linux@...e.qmqm.pl>
Cc: David Heidelberg <david@...t.cz>,
Henrik Rydberg <rydberg@...math.org>,
James Chen <james.chen@....com.tw>,
Johnny Chuang <johnny.chuang@....com.tw>,
Rob Herring <robh+dt@...nel.org>,
Scott Liu <scott.liu@....com.tw>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 01/10] input: elants: document some registers and
values
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.
Powered by blists - more mailing lists