[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ea94e940-50c4-2857-fb4f-8e91ec7bcb5e@mentor.com>
Date: Thu, 2 Apr 2020 17:28:18 +0900
From: "Wang, Jiada" <jiada_wang@...tor.com>
To: Dmitry Osipenko <digetx@...il.com>, <nick@...anahar.org>,
<dmitry.torokhov@...il.com>, <jikos@...nel.org>,
<benjamin.tissoires@...hat.com>, <bsz@...ihalf.com>
CC: <linux-input@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<erosca@...adit-jv.com>, <Andrew_Gabbasov@...tor.com>
Subject: Re: [PATCH v10 13/55] dt-bindings: input: atmel: add suspend mode
support
Hi Dmitry
On 2020/04/02 0:42, Dmitry Osipenko wrote:
> 31.03.2020 13:50, Jiada Wang пишет:
>> Add suspend mode support for atmel touchscreen driver
>>
>> Signed-off-by: Jiada Wang <jiada_wang@...tor.com>
>> ---
>> .../bindings/input/atmel,maxtouch.txt | 9 ++++++++
>> MAINTAINERS | 1 +
>> include/dt-bindings/input/atmel_mxt_ts.h | 23 +++++++++++++++++++
>> 3 files changed, 33 insertions(+)
>> create mode 100644 include/dt-bindings/input/atmel_mxt_ts.h
>>
>> diff --git a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt
>> index c88919480d37..0307e7f7bb43 100644
>> --- a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt
>> +++ b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt
>> @@ -31,6 +31,15 @@ Optional properties for main touchpad device:
>>
>> - reset-gpios: GPIO specifier for the touchscreen's reset pin (active low)
>>
>> +- atmel,suspend-mode: Select method used to suspend:
>> + MXT_SUSPEND_DEEP_SLEEP - use T7 to suspend the device into deep sleep
>> + MXT_SUSPEND_T9_CTRL - use T9.CTRL to turn off touch processing
>> + MXT_SUSPEND_REGULATOR - use regulators to power down device during suspend
>> + Definitions are in <dt-bindings/input/atmel_mxt_ts.h>.
>> +
>> +- vdd: Required supply regulator when MXT_SUSPEND_REGULATOR is used to suspend
>> +- avdd: Required supply regulator when MXT_SUSPEND_REGULATOR is used to suspend
>
> Some of NVIDIA Tegra devices have a VDD regulator in a form of GPIO,
> which is turned off by default at a boot time, and thus, the
> power-regulator needs to be enabled by the driver at a probe time in
> order to power-up the touchscreen.
>
> I think the VDD/AVDD description isn't correct because these are the
> essential power regulators, they aren't used only for the suspending.
>
> What about something more generic, like this:
>
> - vdd: phandle to Power supply regulator
> - avdd: phandle to Analog Power supply regulator
>
I agree, will update with generic descriptions
Thanks,
Jiada
Powered by blists - more mailing lists