Received: by 10.223.164.200 with SMTP id h8csp623989wrb; Sun, 5 Nov 2017 17:02:02 -0800 (PST) X-Google-Smtp-Source: ABhQp+RqS25i2NoljV2tXTAJ6CVqSkxWL72uUOSNzsvbTgNSZqJaeO7EOrcUwvm9GmnXU3UOd8hL X-Received: by 10.159.252.198 with SMTP id o6mr12921009pls.390.1509930122034; Sun, 05 Nov 2017 17:02:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509930121; cv=none; d=google.com; s=arc-20160816; b=VK/eU5g38WVtWJRj5QpmjMXKSvJrf69bjTSejU3MxjbeJVPn8NS5fcde1GHpOU3KFN 2xs22yuAGA7O1lgyUWxuj/+xbirwZf/DL46JIqgSyTSvCSfpTzfjAx0pD3oNvrxVpu6b VH9qZnDP8jj7fm4+ZqjXbJsvb1Llg53b7Jhh9Gx2EchlHi/wxkVVWuOYiUq2omV/cWnZ C78dtUIP6nsq7Vu4Dxy9yvrWKuwDwSWWthuotAPiIoUYQXdjPhS+A9JlbFwYggVoqdc0 ynG1PHPTwLunlEkA+F9jFwr6YV+g4RbfZF56mpNU0AOr9nTtfeSuKdVkzkFa9Po1NAnv 2cgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=2wHXi4Nh7NUuWo09+0Z8IuyixdPvscJtz5Whh/3hhkk=; b=wObHr+kc474D7z5E7ABYmZ7oF+35b4seXjhbH/ZDi7MoMS3pzFTZR2SIDx49fTHUXU FIix4wyx1XZOE3h1YvRgzSXfIulP1DPGtUMTrKVRq/rrIAvtLGZHGKBf/qKb6kn09PZX RPqjkhfkQk7v2Iq2CJTug+vHR3qzLmPtIC095u2F5qqlJPJKxXkyhkzbKo7CpGnPIlP1 6VyTnSSVsq7SymGVmi9Fgl/sfZ4hAJm7QwuzPDPjjmgW9yNBz4/qwnr5/Gr/PFoBmGIW N8iw3/1kD0Q16vDl1WvUWJ4t6fhiKI9cjsVN+Ee5Vi5M3DL7V1LwhHOHTdqfswfyPksy CTBA== 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 z24si10472680pgu.188.2017.11.05.17.01.48; Sun, 05 Nov 2017 17:02:01 -0800 (PST) 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 S1751362AbdKFBBI (ORCPT + 96 others); Sun, 5 Nov 2017 20:01:08 -0500 Received: from lucky1.263xmail.com ([211.157.147.133]:47758 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751192AbdKFBBG (ORCPT ); Sun, 5 Nov 2017 20:01:06 -0500 Received: from hl?rock-chips.com (unknown [192.168.165.103]) by lucky1.263xmail.com (Postfix) with ESMTP id 7BD5B9533C; Mon, 6 Nov 2017 09:00:57 +0800 (CST) X-263anti-spam: KSV:0;BIG:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ADDR-CHECKED4: 1 X-ABS-CHECKED: 1 X-SKE-CHECKED: 1 X-ANTISPAM-LEVEL: 2 Received: from [172.16.22.132] (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 74C633FE; Mon, 6 Nov 2017 09:00:54 +0800 (CST) X-RL-SENDER: hl@rock-chips.com X-FST-TO: devicetree@vger.kernel.org X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: hl@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-SENDER: hl@rock-chips.com X-DNS-TYPE: 0 Received: from [172.16.22.132] (unknown [103.29.142.67]) by smtp.263.net (Postfix) whith ESMTP id 32725743JUO; Mon, 06 Nov 2017 09:00:56 +0800 (CST) Subject: Re: [PATCH v2 2/2] devicetree: i2c-hid: Add reset property To: Brian Norris Cc: Dmitry Torokhov , jikos@kernel.org, robh@kernel.org, benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <1509418996-25348-1-git-send-email-hl@rock-chips.com> <1509418996-25348-2-git-send-email-hl@rock-chips.com> From: hl Message-ID: <183df5b3-8e69-4170-eaea-b5d05c5b2c0c@rock-chips.com> Date: Mon, 6 Nov 2017 09:00:52 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday, November 04, 2017 12:35 PM, Brian Norris wrote: > On Mon, Oct 30, 2017 at 8:03 PM, Lin Huang wrote: >> Document a "reset" and "assert-reset-us", it can be used for >> driver control reset property. And reuse post-power-on-delay-ms >> for deassert reset delay. >> >> Signed-off-by: Lin Huang >> --- >> Documentation/devicetree/bindings/input/hid-over-i2c.txt | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/input/hid-over-i2c.txt b/Documentation/devicetree/bindings/input/hid-over-i2c.txt >> index 28e8bd8..6ab0eed 100644 >> --- a/Documentation/devicetree/bindings/input/hid-over-i2c.txt >> +++ b/Documentation/devicetree/bindings/input/hid-over-i2c.txt >> @@ -31,7 +31,9 @@ device-specific compatible properties, which should be used in addition to the >> >> - vdd-supply: phandle of the regulator that provides the supply voltage. >> - post-power-on-delay-ms: time required by the device after enabling its regulators >> - before it is ready for communication. Must be used with 'vdd-supply'. >> + or deassert reset pin before it is ready for communication. >> +- reset: phandle of the gpio that provides for hid reset pin. >> +- assert-reset-us: the device require reset assert time. > If there was any point in adding the device-specific description > around "wacom,w9013"...then you should probably mention these > properties there too. The idea was to document possible properties > here (where you're adding them already), and to note the property > names under the devices (or so far, just 1 device) that support them. > Or IOW, you need an addition like this: > > - compatible: > * "wacom,w9013" (Wacom W9013 digitizer). Supports: > - vdd-supply > - post-power-on-delay-ms > + - reset-gpios > + - assert-reset-us  Okay, got it, will fix it next version. > > Brian > > > From 1583108752504468862@xxx Sat Nov 04 04:35:57 +0000 2017 X-GM-THRID: 1582740603637324775 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread