Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1506482ybb; Thu, 2 Apr 2020 02:03:48 -0700 (PDT) X-Google-Smtp-Source: APiQypJlyK3wbS/rL7r1X4pTcwK7igXhIedwgAiPKVvNqHyD2SwQ2FmijdGlJrpjtAkXHM1XoxXY X-Received: by 2002:a4a:3854:: with SMTP id o20mr1879589oof.69.1585818228028; Thu, 02 Apr 2020 02:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585818228; cv=none; d=google.com; s=arc-20160816; b=bZdL4tVvI5aU48AtBcBuCOL4oxyFQ0hSwBZVLxq4oDOWIpfM19czkwCrKaD2jRWdeA 7l/aXqHBIit6/2/AScVdR52bbypJRVWH9Ckv5c5R+ddlylyy+0zzrtOjtr4gSXlsHFhc D5Z10pVLyq8OuVMas6BqQFdFLS84cGYHMqbbUnQ2snJtNi5RTH32QfGjDcppSVfH8SU5 JpRnzgcbTwQsQDoAwUF5Wyb0R+h5EQpCKhKeWPfUWTaHKlQPJVUpUVGY3Q5Az6sHg8Wg HaWVFweWlj1StgcODxcsYU1SFtPFdul90eoAkkxOtXZdfNkAwPFM25K8MkbmsKh4NLoZ sfcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=XOICa3q63sBZQaavGrN8TxKcyGr0ZRWFNHIuhbifm94=; b=frJh4svIUTEP+T6AAo2vSOPEO2ux1xYmHKGrNeLNtDCbJ2+06/36ltm15w/wjdlPsX bivFDH2UnUT3rI8gpwvfhOBV6xbqX6DVlJR5cu3pVxsO5owNsYZwtTwEW/Vvii+d7Yhb DlAgHyijoOzdgNs6nW1JOmNutKACXmheircWyHGCeHmt2pwv7Aqfh9/scfD5FI7SHjY/ 42TqjYtpBLdP5AmDR8ejbnLWqxU/ayxBwB3RnuasY5VgwllZcueI5TscZKzplDq6IrDv cRLMc25HLejH3Tywn32ulXKfI/W2YpYaUV8HPmfMC0CPNSNEFje6PRA7OX/PTbZmtleN bB/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a9si2035019otr.186.2020.04.02.02.03.34; Thu, 02 Apr 2020 02:03:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387691AbgDBI20 (ORCPT + 99 others); Thu, 2 Apr 2020 04:28:26 -0400 Received: from esa4.mentor.iphmx.com ([68.232.137.252]:62250 "EHLO esa4.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728612AbgDBI2Z (ORCPT ); Thu, 2 Apr 2020 04:28:25 -0400 IronPort-SDR: 86xBzyAXgimbX+yrEBnR5DlA1qZWKy9NK2pQBu7Sv5pdzhWQ4bKj6N8ZI/P+cWm+WJGQXxXLQl 2SK6TGtxceLgJM/9qpsUBqscmlzb0SblY57AUF0wZAGwdtfP728CEGPg9UPczq2h+2hVXXNKKj aCWR3qcMa4wlQRVQq2msAQxyWpzN5guNpjJiz2GIn9ylxrM4LbLkPnl+oNAwnNLM9iYQtOKXZS fvteiXP0zWBQATbemmkRRoIgpz3JLE8lMCTUmJz64ZRl/XIyl4KIUcD6KcLJ5K+rWO17woFLpr OGc= X-IronPort-AV: E=Sophos;i="5.72,335,1580803200"; d="scan'208";a="47414252" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 02 Apr 2020 00:28:25 -0800 IronPort-SDR: HnzTHpxRUTPLRNdw7UbDjJKlLT6DsPKNnJPI2Qdn6c6fSQ+Y4IeOIDcJIpZujzqARSSyxStwLv S/tdsDmsqtfT69N5nQc4QxxVpvW+yBY6uoWknkWE9xAWzYXg0AXMxaRLLr3ItUDqH+oURiUZqr vzgWyD3lm/5wE16W9pZc1yA95k89WsTMKxYo8n+QU8lFuMEAwXlia221lXDHHJZ66c+hqsIIyQ ZoS8ePSeLFQwW5qZAtaELLht9nqIpiEHWSTBIx0I1dXCG4kf/SnGtVD7KqNBcU1AvwEb/9j1W/ VYQ= Subject: Re: [PATCH v10 13/55] dt-bindings: input: atmel: add suspend mode support To: Dmitry Osipenko , , , , , CC: , , , References: <20200331105051.58896-1-jiada_wang@mentor.com> <20200331105051.58896-14-jiada_wang@mentor.com> From: "Wang, Jiada" Message-ID: Date: Thu, 2 Apr 2020 17:28:18 +0900 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: svr-orw-mbx-04.mgc.mentorg.com (147.34.90.204) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> --- >> .../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 . >> + >> +- 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