From patchwork Sat May 20 16:56:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 100228 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp796213qge; Sat, 20 May 2017 09:56:59 -0700 (PDT) X-Received: by 10.99.125.87 with SMTP id m23mr16215225pgn.79.1495299419177; Sat, 20 May 2017 09:56:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495299419; cv=none; d=google.com; s=arc-20160816; b=C+mGUFTI2M642OAR3626Po6fHuSXwSphssSZwM6+g3GxqkBZR4D/A0/hQgPOmyp5UE 6A8CRvqkmcZ6wuBhMvJyzS/yJYHZjEt+1LFic2VkTniL3x+6QzPhsFJE/i+Q5pEfpkc+ uFvYR9q3tq4Mo6WTX0nRj0RiSDlWCE4SXqkShp1C4enZWid/9dDaWQ6tSrlPc8fSyZGP M5ZxmsW+RjoVB6A0aad/NvBH0KkagHC3NhFB0SIk7YbBtyRhxSOeo7RIHeiIrjGK9KUd dMcAWxBMyhO05vPupwKlfzpKR3V02S0GBxUZI3tPhGY1PDfkWbcPf67wBvc22Ksbhtg+ bcCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=P+tSLCmmGSgYXtjI3GATustlBHltTUF5PXlP5sRnqEw=; b=itnKKIvC76iiTBDow1Lo98mFUbhYO13rMMD7kLMOh4jOjQ7yjHRK51cVxmnm7uH5g2 Njezkt0LPdmvJVJwOaJthLNTylpSPfLeXFjQNHmEA40LHeKvfOwJOXmCfPryNS8pvSAB akAGO/wPPQiuq3yjLGCMZ9VzSL2GsU53KhE+HDBEIVK3hcsSvGUMmjgDgg4JIxCXgzwJ Wiqm0kBqlg7TSzt7TabXpHWFv9pjOXthNAxp8NUicQXLi9MnfhAkF6cL6GW1t8UbFU4/ ef8YBmy1baYQCi3JcX5P15EIlW3wwgrFew4KOgRfWtYVMBv7zU4VbhWaurNkG1napPOn bRzw== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si11974440pgv.316.2017.05.20.09.56.58; Sat, 20 May 2017 09:56:59 -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 S1755736AbdETQ45 (ORCPT + 7 others); Sat, 20 May 2017 12:56:57 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:33382 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752207AbdETQ44 (ORCPT ); Sat, 20 May 2017 12:56:56 -0400 Received: by mail-lf0-f47.google.com with SMTP id m18so13751275lfj.0 for ; Sat, 20 May 2017 09:56:56 -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=gQsWM6uGR6E4KXrr8rL4yx2i8dBtphMH8NdevI+8634=; b=UzX+D1Ptg5u7G4rtYjl8gQiBxOTm0ZE9OUE3AOhYBfw40RNZU6ASbx1+JSQz4a1Drd 64Uhep1wa2nEaZ5OWp9/erUGFUG6VRVlOZ7ZGMTDBy9lRQ8hmTEHw9hbo56247NB2h4r 6lyAjxzyoikjEh45oJ+ypC9kHgF71hUxsjgyU= 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=gQsWM6uGR6E4KXrr8rL4yx2i8dBtphMH8NdevI+8634=; b=DMswE1PDStEYDeWsCHUpUOggK+qliR59306BTXZJrf/WfVBot22hvUeobgMBsxVjmj YS9BZchewS9g1hjrLU49/Gdlbr674BtKnRNis/dL0uWXkF+0OLcbE0ynBiroEcTXrvbG GfkbGn3XvIfU3gKA9uE2cwihZ8F/6tmZWlR6uO7AIcXgJAZ4lHgNMOXYjXbh220fGZoh 1y910nkmKjvAhf4Ncs2XyHpnvAwvif3bgCuPPKRjnKJzCy2j6aJw3iYU20tkEoHF7ZyC 2I9+dxVMHRWeHjqYIkIAFZblSyH9phD65LwjcyrpLietktmyMYvURyhFyO7EUWePrfFH t9CQ== X-Gm-Message-State: AODbwcCkXtYZMqLg9j8fqpDNKiBcv4qE40aDnxXzhkagz3LZFnuf1IHj ELfClZdz2kPk6/P/ X-Received: by 10.46.5.147 with SMTP id 141mr4053560ljf.108.1495299415027; Sat, 20 May 2017 09:56:55 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-787571d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.117.120]) by smtp.gmail.com with ESMTPSA id y1sm1599094lfg.6.2017.05.20.09.56.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 May 2017 09:56:53 -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 touchkeys Date: Sat, 20 May 2017 18:56:48 +0200 Message-Id: <20170520165649.13118-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.4 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 touchkeys. It's a simple homebrewn touchkey controller (by D-Link referred to as "touchpad") on I2C. Cc: devicetree@vger.kernel.org Acked-by: Rob Herring Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Rename from "touchpad" to touchkeys" consistently. - Add Rob's ACK. --- .../bindings/input/dlink,dir685-touchkeys.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt -- 2.9.4 -- 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-touchkeys.txt b/Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt new file mode 100644 index 000000000000..10dec1c57abf --- /dev/null +++ b/Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt @@ -0,0 +1,21 @@ +* D-Link DIR-685 Touchkeys + +This is a I2C one-off touchkey 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 touchkey device node should be placed inside an I2C bus node. + +Required properties: +- compatible: must be "dlink,dir685-touchkeys" +- reg: the I2C address of the touchkeys +- interrupts: reference to the interrupt number + +Example: + +touchkeys@26 { + compatible = "dlink,dir685-touchkeys"; + reg = <0x26>; + interrupt-parent = <&gpio0>; + interrupts = <17 IRQ_TYPE_EDGE_FALLING>; +};