Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp954416ybm; Tue, 21 May 2019 06:30:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/8DIrPAT1bbTDeqx7JxkBJFllxpeeNr5gK2Of+2GBqE6vmZ1mZU8QnbZd0Oc8rEwP9PeW X-Received: by 2002:a63:1045:: with SMTP id 5mr37822741pgq.55.1558445400516; Tue, 21 May 2019 06:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558445400; cv=none; d=google.com; s=arc-20160816; b=fTs2R/2QFExlQgTheBvUJd40WRGBIsGb+kI4WH/3YdG4X4v4ceS3sb9ODRqPr4ygJa sYhdoS0QicJR0BoKcNIOyJfBA1og/iapNFUZb6J5AYjzTcevsEJkzBnC9yufKwReWaoc 8eUyNN//Ewk+duCAjC9RYEovOYxLE3nR1yYGKZL3YP0dIXBKQdBLgYfr6EqtAuPbdyIz mnifEHGSGV81Ku9i9m2YuEPFN178jGCJQgi/S/RlNxn2oAlpxb8VsfgM3aNUCzqFk7Ji /quVLbEbU3xliIMFVpBT+0JJNW71Qufh+x5u0G0fAVQvIi58M2UKOv4wgR6i9woqiBmB Gd4A== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=IeA5VprqHA8udaU/+9FzEf1HON7mL65x+Fc2ZQvNSiA=; b=RsvahjNsJ4aHhaqxLsFkTgsuXYhl4zUnAB9SbyNAxqawTOrUBFBkpvRbfH1mezqzDR jZLtMzvxhmT2sW9ZRyllDxAYGeqHM1JVIawQSXDoo/lS/mXpNzjVC1UuhCURwAFv0e4f B7K/7URg0qQivtXRjclnlclwCzMjTiWt/hX1zsitiUmHATMPNQx7SER+tj5121RVttD4 M72P3MOYniSbg/adCdTH102dWZFWHIKePR8GnDxnQSf7BZWKmsa9vPVFugssRUqQQVyg SWyKDefrvgEExJJo3inSyIAyM6/gz5nY4TAaAkkwh5rYsKtmwyHlT+FcqhprXZ13JSdC Mr8w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7si16214535pgp.208.2019.05.21.06.29.45; Tue, 21 May 2019 06:30:00 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728344AbfEUN1t (ORCPT + 99 others); Tue, 21 May 2019 09:27:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34864 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728326AbfEUN1p (ORCPT ); Tue, 21 May 2019 09:27:45 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7CD9D8830C; Tue, 21 May 2019 13:27:45 +0000 (UTC) Received: from plouf.redhat.com (ovpn-116-49.ams2.redhat.com [10.36.116.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id E7A14610A1; Tue, 21 May 2019 13:27:38 +0000 (UTC) From: Benjamin Tissoires To: Dmitry Torokhov , KT Liao , Rob Herring , Aaron Ma , Hans de Goede Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Benjamin Tissoires Subject: [PATCH v2 04/10] dt-bindings: add more optional properties for elan_i2c touchpads Date: Tue, 21 May 2019 15:27:06 +0200 Message-Id: <20190521132712.2818-5-benjamin.tissoires@redhat.com> In-Reply-To: <20190521132712.2818-1-benjamin.tissoires@redhat.com> References: <20190521132712.2818-1-benjamin.tissoires@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 21 May 2019 13:27:45 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some new touchpads IC are connected through PS/2 and I2C. On some of these new IC, the I2C part doesn't have all of the information available. We need to be able to forward the touchpad parameters from PS/2 and thus, we need those new optional properties. Signed-off-by: Benjamin Tissoires -- changes in v2: - Use of generic touchscreen properties for min/max and resolutions - add elan,middle-button - add elan,*_traces --- Documentation/devicetree/bindings/input/elan_i2c.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/input/elan_i2c.txt b/Documentation/devicetree/bindings/input/elan_i2c.txt index 797607460735..9963247706f2 100644 --- a/Documentation/devicetree/bindings/input/elan_i2c.txt +++ b/Documentation/devicetree/bindings/input/elan_i2c.txt @@ -13,9 +13,20 @@ Optional properties: pinctrl binding [1]). - vcc-supply: a phandle for the regulator supplying 3.3V power. - elan,trackpoint: touchpad can support a trackpoint (boolean) +- elan,clickpad: touchpad is a clickpad (the entire surface is a button) +- elan,middle-button: touchpad has a physical middle button +- elan,x_traces: number of antennas on the x axis +- elan,y_traces: number of antennas on the y axis +- some generic touchscreen properties [2]: + * touchscreen-size-x + * touchscreen-size-y + * touchscreen-x-mm + * touchscreen-y-mm + [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt [1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt +[2]: Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt Example: &i2c1 { -- 2.21.0