From patchwork Tue May 30 12:09:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 100708 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp179590qge; Tue, 30 May 2017 05:09:35 -0700 (PDT) X-Received: by 10.98.217.154 with SMTP id b26mr22994495pfl.136.1496146175504; Tue, 30 May 2017 05:09:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496146175; cv=none; d=google.com; s=arc-20160816; b=AY4B3NB9BTxFRHgVzbZ9sSkmvKaLec9VqauahuP/mqfGb/Sf2KmaSPnmSqX1mpvbxC tdQFBYhD1/Nl9YMdSj68ChTBqp8bjU7/KUaoofjUbdJP/yeO3B0s+/ENfc+pn9EmLPkD rJWi+lR96T/s982e9ZJ6As+CZjJVbTqYBI+zpcgLMKHvJOYOEM5N5u16qswAdDtMBFYa ykmlVd4gi5qMG7i7QU2twb0Jh4PAuoOsvGT7TakClZBXkmHoPRMCjqxjXQB5wfqVOFJc rKxW/nEhWEELwZvLdfpplRN5RLb3BuCeJtzDIgl0eta/D33Wu8Q7ORfl7MxkaTJG919K p31g== 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=0B9Q3/Y3yGM5VCE5u9awt80vxFAtFpKTHnwKVXQjvC8=; b=aNkmwRaFlhy8ZYoD9Uc86raAl8pWfwwcjgRgIzl0UJkUOFDV9BefvSBTKuToy105Hv QrLhCNUFlWDWhgtsd+E7D95HiXolQgb4PBbvvYSWHDJ2zylKsABEjfUYerUsKMnhrqPf /A2Dzc34oAL+40Ly+H0NY1esV60NqoySw89Hs7/oJL1qNCaJpGWCKpexkoEc1j8SYUdW 5OHEd6DbsSSoRhch0R2uNpCtJUoSXc45I+QO/JdMyQdLV2fSpT7dE6ZLD3iTGzlAWA9n /1i2uCJPxFhJJECOlgjG1etv/1F5i7lJWvbO9yAjDGZxiRICG1FQtBMPeiMHwUYWXNnn Bd+w== 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 linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-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 o4si12717806plb.244.2017.05.30.05.09.35 for ; Tue, 30 May 2017 05:09:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-input-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 linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-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 S1751435AbdE3MJ3 (ORCPT ); Tue, 30 May 2017 08:09:29 -0400 Received: from mail-lf0-f54.google.com ([209.85.215.54]:34428 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750905AbdE3MJ0 (ORCPT ); Tue, 30 May 2017 08:09:26 -0400 Received: by mail-lf0-f54.google.com with SMTP id 99so47886411lfu.1 for ; Tue, 30 May 2017 05:09:25 -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=RclVkdpnZ7KIYYWSMJzLcNZyeRA2JpOx0LtZdUaVfxk=; b=SZBXQ8oiuFUSoyrG5vU24Ahn/6/ze9CT77y6zNMU8jf+37Id9dEDuWjZc9z86UvmaR HeSvCX1anVLLzQgYOaBW4D8REa1GTZmShTCTBK0xXTv0DeNptL4fKswGeiXVqaIq2XDD AYe5YI5AFNmgnDUFUrBxSxoB5Ip9AtcCZpHw0= 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=RclVkdpnZ7KIYYWSMJzLcNZyeRA2JpOx0LtZdUaVfxk=; b=XEMtxLqM3oShzmJd6DzJx3HSt0BMGsEmNj9Tnkg+HBw3/+VQvFpOBb6pLcGcB3Qh22 90uvZf5yWAJZV5PqHkxeLBsMJxst7OUwPVVPQDINtv/s1+T4pNeI2v5HgwmWzBrsJ4sE OLD4oQg9EmFkJaCjWm5Bpsla4k0+yeL1bbbQKRXQ0yXCITzKn0qXZ/6LtgM5jbW4V/zu HMZT/2wqDr9qZ/ckVIJOSaGORqQBlElM0ex2evk2rapGHJ6b+QXbQsp6chyGd2jZGk+e z8Ize9f8MmVu7X0jaLR8jLRLdxGGW2l6BsZidaJ7QvFqRxB0yYIr3qHuoR0p9DuybpfK CZ8A== X-Gm-Message-State: AODbwcDxI02WHTu73aKRMCcs8q1vOW6/jt8kQq/Cbolfw3wuLNANsjQk bUyn3cPg8r1tUNTn X-Received: by 10.25.145.75 with SMTP id y11mr5895355lfj.68.1496146164938; Tue, 30 May 2017 05:09:24 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-9d7e71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.126.157]) by smtp.gmail.com with ESMTPSA id 25sm2656353ljp.2.2017.05.30.05.09.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 May 2017 05:09:23 -0700 (PDT) From: Linus Walleij To: Dmitry Torokhov , linux-input@vger.kernel.org Cc: Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/2 v3] input: keyboard: DT bindings for the D-Link DIR-685 touchkeys Date: Tue, 30 May 2017 14:09:17 +0200 Message-Id: <20170530120918.27357-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.4 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@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 v2->v3: - No changes, just resending. 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 linux-input" 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>; +};