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: 9706225 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ABF90601D2 for ; Sun, 30 Apr 2017 20:55:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A6DE2097A for ; Sun, 30 Apr 2017 20:55:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B8A624560; Sun, 30 Apr 2017 20:55:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17BD52097A for ; Sun, 30 Apr 2017 20:55:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1949880AbdD3UzQ (ORCPT ); Sun, 30 Apr 2017 16:55:16 -0400 Received: from mail-lf0-f48.google.com ([209.85.215.48]:34735 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1949881AbdD3UzQ (ORCPT ); Sun, 30 Apr 2017 16:55:16 -0400 Received: by mail-lf0-f48.google.com with SMTP id t144so54485757lff.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=Qo09lNHn9UE+Jkx5A0oNGKQl5SWrk8JycGLGJZwBff8Kmrv88yS3qUyctdm/iMJoNw H6z33ITWzMg4c5I9Qoz1riaJn7sXpWAR7D8G4G4LtrBWlZ0hr0oB0KTTjV56hW+wVs/5 vSUK3E7LCHHwoDu1VfkfKUrhAKnXJmwt8lAL85dT5FFKFNcysxOY57iPZ1gAhtuhjq9f mCD9UlBwsAZZvzFt85UP9JfRiJMobHxPfc6KCSlQ2XvYNk1d8o3MYw0EvjBqcNGT6Xzm rkDxrn4NDJoFJKScvZC6YU+L/o5VXqQbyPyptlLnvn0foAqjrCb+6d3Vp7+VOWEcVfCp ufjw== X-Gm-Message-State: AN3rC/5JAlBe2kpPmr/6XaogVOsTn0W3c6pMFUn1PSLNNXxUfVXya8xv Gs/Ikslu4xpAPycK 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: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Rob Herring --- .../bindings/input/dlink,dir685-touchpad.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/dlink,dir685-touchpad.txt 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>; +};