From patchwork Sun Apr 30 20:55:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 98389 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1164801qgf; Sun, 30 Apr 2017 13:55:17 -0700 (PDT) X-Received: by 10.84.224.4 with SMTP id r4mr5683718plj.69.1493585717840; Sun, 30 Apr 2017 13:55:17 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 20si12771388pfr.15.2017.04.30.13.55.17; Sun, 30 Apr 2017 13:55:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1949882AbdD3UzQ (ORCPT + 7 others); Sun, 30 Apr 2017 16:55:16 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:34735 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1949880AbdD3UzQ (ORCPT ); Sun, 30 Apr 2017 16:55:16 -0400 Received: by mail-lf0-f47.google.com with SMTP id t144so54485752lff.1 for ; Sun, 30 Apr 2017 13:55:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=xw/N7lCVfAxQSMZe01gK0gsoBM8Ich0tNAp7EWgI7D8=; b=ice3KwULHSqcKa2Nvq6ukypQRO8sHAUVeJa3GMMQmvec90Lz+RNmMdYh748556fdDM QXhIcXNJlYYGHbr69ZxlFrihnLd786EuP/zaKusHZOR4oLSuRTedwIq7ESd5CJ8fR+Uj m0pubovAniv5r7Vajj61em7uYm3whTENFDbD4= 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; bh=xw/N7lCVfAxQSMZe01gK0gsoBM8Ich0tNAp7EWgI7D8=; b=JyAbYsrRvwikMkTtCUU7LbuZSslcKaet8tdlkTNn3KDN3sl0dj+o/77+3tD9uECYE9 RMrC7q18kfHmyCjpEEG9aSNaM4cBxH+JkquyV27wmIpbJm93V9UV9/Yj57rE54jtQs04 0tcttIwvvHqbJndQkQTh4+3LN2uFIo2wILy9/+9Fm6+k3eG60+6VJvK7eNjH7FPPELv8 TnDl7guhH4SO0vO/1fI/DVg9TNKI1QTMrsjXnWDFutf4okBB4EQeCdlbULMzoUFuf0oz UMojUkKsWIXauY4UnRbwTQnDeeHDkVgzTYMnTDx+aTC/AVbDC0FxT1gl8VTu1h7QnXXq mmEw== X-Gm-Message-State: AN3rC/7Aonjbj9PKHF4sYdMH0NVuDtnxeH/Sf4fCyfMKbm7CnSReSfJd kcmtfFkBn6RpLnWD X-Received: by 10.46.32.35 with SMTP id g35mr8415359ljg.126.1493585714356; Sun, 30 Apr 2017 13:55:14 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-d67b71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.123.214]) by smtp.gmail.com with ESMTPSA id 69sm2340646lfq.36.2017.04.30.13.55.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Apr 2017 13:55:13 -0700 (PDT) From: Linus Walleij To: Dmitry Torokhov , linux-input@vger.kernel.org Cc: Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/2] input: keyboard: DT bindings for the D-Link DIR-685 touchpad Date: Sun, 30 Apr 2017 22:55:00 +0200 Message-Id: <20170430205500.28799-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds device tree bindings for the D-Link DIR-685 touchpad. It's a simple homebrewn touchpad on I2C. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- .../bindings/input/dlink,dir685-touchpad.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/dlink,dir685-touchpad.txt -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/input/dlink,dir685-touchpad.txt b/Documentation/devicetree/bindings/input/dlink,dir685-touchpad.txt new file mode 100644 index 000000000000..25bc538a6e39 --- /dev/null +++ b/Documentation/devicetree/bindings/input/dlink,dir685-touchpad.txt @@ -0,0 +1,21 @@ +* D-Link DIR-685 Touchpad + +This is a I2C one-off touchpad controller based on the Cypress Semiconductor +CY8C214 MCU with some firmware in its internal 8KB flash. The circuit +board inside the router is named E119921. + +The touchpad device node should be placed inside an I2C bus node. + +Required properties: +- compatible: must be "dlink,dir685-touchpad" +- reg: the I2C address of the touchpad +- interrupts: reference to the interrupt number + +Example: + +touchpad@26 { + compatible = "dlink,dir685-touchpad"; + reg = <0x26>; + interrupt-parent = <&gpio0>; + interrupts = <17 IRQ_TYPE_EDGE_FALLING>; +};