From patchwork Sat May 20 16:57:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 100229 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp796436qge; Sat, 20 May 2017 09:57:56 -0700 (PDT) X-Received: by 10.84.231.16 with SMTP id f16mr18682320plk.20.1495299476216; Sat, 20 May 2017 09:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495299476; cv=none; d=google.com; s=arc-20160816; b=herpyqZy80rBHlxap/demnj5Gz/EkeYuq9/4VdxVDJTJfcSVvevvya41PknJmWv8AQ 3t+h11saMYh0ntB79luoXb8jA/BL8YGMOpGy7MBRdRXJ/W60o/e331C4d4s2DxqyD7/G nvmHRVYXoqoCx9B5ajXHosAK0ZjetU7oJQgN9lEyWhIiFs4C/p4zhs+GsIvep2grPWdC samb5v3yggWD7Bqfxq210sR6CL+36JAyIOLwf58nhcclQb2iaauE5ABEpP4dKaYD1NQv wxZG4s9p0OAH9WOSuJYFbs+Hm0mjnnX6XIs9T3VWvqBISe8jbMkJ1LWtwmHBSEUGC1yr GpOQ== 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=YpzG0rahsJmvFkl4JpZ0dot9nGRUEQiGYAuQmPGO/h/WPNwsAR0Qoi2DTiGdIzHjhf Bt7pOfnPqE3X7F11PJEhmWmLfrexId3RN7A5Bt7RTlKzfrtcQbsMoOkVcBI93eUYYGxe 57LjJlzV65Gz9+sywLf0mzE7hUMitoGtbkuBKF23+YFs1OcVSsvB/PC7JzbiIQOTiH0Y 7/PKH4c93laKrG1lJ7e8bVeskZIhv8Y/nLSeuLcmEk+4042pXxFyrTKKStdD8aEiSSmN jjzExQOtpBAf8ZwWgmKcMjPnntA9+fNEJxcBiYtTbzXMcCcJiqijwQJ3qnopnlP4FoPp ByjA== 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.57.55; Sat, 20 May 2017 09:57:56 -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 S1755736AbdETQ5z (ORCPT + 7 others); Sat, 20 May 2017 12:57:55 -0400 Received: from mail-lf0-f53.google.com ([209.85.215.53]:33496 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752207AbdETQ5y (ORCPT ); Sat, 20 May 2017 12:57:54 -0400 Received: by mail-lf0-f53.google.com with SMTP id m18so13756668lfj.0 for ; Sat, 20 May 2017 09:57:53 -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=eM7CtcOULoWAKvJHQomFk1lfY3HfYdYhGUszt1/BAJlmgWrmxRv0wV5Ho1XV+86wr6 Ys1EBJdU5+nvWLxsJXbteI6OTFSxK/cPKyUwZkH3xefz0eBuBCkjnWJX2c0tPzEBnMjg zwQDZi5EZKuHApTyXCjM6jedoIl0WF1Etz6Ko= 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=V7YNOp8PyCmmyoZYItMSrLx87RPk8RR5Uvelo6swHxAL6T1JtJo86+/4cJjP2GtLl5 vD5EA9SeqwDqn03XpP08YLkOA0VymkJqwInWbL6NAUX0bXzIdLujyLjRQJdw7EaFnvRl ruWCDZnu1eMD0JGSFpDuOV1lMJvl72ZEBtk1BK35AhxeaVUHyTdpr+t951g3c4FHDO6/ zOfH/WygudsOcFLPl4x9R7ppLHcdj0AglDVrDlNHdyGjN6EGzJLdiVcyKTwi0o65a7cv fcD5zx0SEl48YX0jSUSLRufFe9Cqs3X7QKd9aWsWkN/8QpBxpjIefKg72nK6zNeDMLth Z/Xg== X-Gm-Message-State: AODbwcBOvpKxC7LP6WKXaGD7RjbUCVop5EaRKO33DdPUQhmLiisZGd2V kphSRSwpMK0A+PEB X-Received: by 10.46.20.76 with SMTP id 12mr3891602lju.11.1495299472926; Sat, 20 May 2017 09:57:52 -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 u24sm2140807ljd.34.2017.05.20.09.57.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 May 2017 09:57:51 -0700 (PDT) From: Linus Walleij To: Dmitry Torokhov , linux-input@vger.kernel.org Cc: Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/2 v2] input: keyboard: DT bindings for the D-Link DIR-685 touchkeys Date: Sat, 20 May 2017 18:57:45 +0200 Message-Id: <20170520165746.13356-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>; +};