Received: by 10.223.164.221 with SMTP id h29csp3322644wrb; Mon, 30 Oct 2017 20:04:23 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RO3gI3we0o3JKsBRMEJhXiUBv2Wh5EPCoP/usqk20SqVaZ10rA8a94f+/hHL47bOmQSgh0 X-Received: by 10.99.119.9 with SMTP id s9mr508031pgc.54.1509419063067; Mon, 30 Oct 2017 20:04:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509419063; cv=none; d=google.com; s=arc-20160816; b=dzN5jTWtxGkRV5zZlIsEqCRjPA8OdDhq68vOw9aXDjTlHzcVOKAxscXl+OnqIIefR/ atowN9QQDt/c+P2j0wU+4zKM/gZ0S48R0opYqa2zqNFwOgvRk3VaH87LvV4emmsVOD+5 1ZGtpRXaCsEbGe39bGtALvhq1s13+iPPD06pKUHnFDDx36Of6E03dBS/UpU9cSZ8bgNY SkqbkotGH4YJ7P2G41EIvBlJsL008OF1kOjGVS7JBs5TEMZUGD2ceHIWXbQNw8uEYJGM +uKUPPeR84iLrwn+5v530BaRk7kzMRFHYiCob6EnVHHzWvXjqfDeLaWvvgnXKXJszfwG jrXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=Mw4SchiTrVl/eV92tahneviSGZUnum7kqFlMWEpXPVw=; b=Fj7gva6Yq28a90TXEpgZwZ7dEPbKAWvERnbXDz6Yn/RzbhNFGJejt0L8j1FDg/VWV5 sLXkH+er3UbkBacfGvp862FRZfd+tH18ycg6IhBxDzlULNPdXdoWZl0sLL+KPpBlj39O ormENBpwpSCEdkWNP+bkIcrKZxXyZlsvYzqe2dV76FLz2whrYI/J6EK0nU1d7FIUypGE 89RD6ZsdvSxm5oAydS+wD4U/OQT3YMmWcXd4FA+3Vluybyh+UfnIGNOAmNwVj8B4tyo2 07/vvxbKcGrrXMqKy7rLPGE7qpl/GqCePumJC7Nn+MVQ8csrgTgP9dpkwg7YS2H5ko8G 1idQ== 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 d75si420811pfm.313.2017.10.30.20.04.09; Mon, 30 Oct 2017 20:04:23 -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 S1752270AbdJaDDa (ORCPT + 99 others); Mon, 30 Oct 2017 23:03:30 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:50427 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752079AbdJaDD1 (ORCPT ); Mon, 30 Oct 2017 23:03:27 -0400 Received: by mail-pf0-f194.google.com with SMTP id b6so12637938pfh.7; Mon, 30 Oct 2017 20:03:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Mw4SchiTrVl/eV92tahneviSGZUnum7kqFlMWEpXPVw=; b=PrB+9h5SBIIKfyF4LjH/YqjChubvA23+HaYOq8CIJpWlX1LwsbTNC6CnAwWYK/VGyx gnaDGoQzZPz3n8lda05aScDWHRGGKq4xFBRzJqmr9KRhECqaFegtujiDpUWyLNX/c5PO r2ESnhgKKgeP/4SLOjuFGIjg+oEZmNuS1alk9LfQVF2fQUqUBj3zDUvBRLzW96A3p5V/ ARruUpZ+fQIjEa1HZUMqp/+f5CM91Fsb2DuKE83HihoAoUzovkY93VoLzsF12LO93A4I tDCzuhKz+Q4ExbhIuxkZUqnBO99xYmuP0Uj8Q+8PtPFkcOONmy0UH1bWqpCIBK4J23g7 GjVQ== X-Gm-Message-State: AMCzsaXWiyjWLpO1AdB9dKroKHQ8G806m0eR3HCInVQiqjVXye2vnXN0 myM9nuNRiLPtl6ZCp7WEwIk= X-Received: by 10.101.72.132 with SMTP id n4mr484218pgs.245.1509419006827; Mon, 30 Oct 2017 20:03:26 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id g207sm460042pfb.101.2017.10.30.20.03.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Oct 2017 20:03:26 -0700 (PDT) From: Lin Huang To: dmitry.torokhov@gmail.com, jikos@kernel.org, robh@kernel.org Cc: benjamin.tissoires@redhat.com, jani.nikula@intel.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, briannorris@chromium.org, devicetree@vger.kernel.org, Lin Huang Subject: [PATCH v2 2/2] devicetree: i2c-hid: Add reset property Date: Tue, 31 Oct 2017 11:03:16 +0800 Message-Id: <1509418996-25348-2-git-send-email-hl@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509418996-25348-1-git-send-email-hl@rock-chips.com> References: <1509418996-25348-1-git-send-email-hl@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Example: -- 2.7.4 From 1583077513920188726@xxx Fri Nov 03 20:19:25 +0000 2017 X-GM-THRID: 1583077513920188726 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread