From patchwork Tue Feb 21 06:40:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Vogelaar X-Patchwork-Id: 9583917 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 D2C23600C1 for ; Tue, 21 Feb 2017 06:43:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B70D128861 for ; Tue, 21 Feb 2017 06:43:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABE29288E6; Tue, 21 Feb 2017 06:43:26 +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.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 3D0A328861 for ; Tue, 21 Feb 2017 06:43:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750954AbdBUGlH (ORCPT ); Tue, 21 Feb 2017 01:41:07 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:63254 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750837AbdBUGkp (ORCPT ); Tue, 21 Feb 2017 01:40:45 -0500 Received: from gt-cryptga1.gigatronik.com ([80.152.21.172]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPSA (Nemesis) id 0McWQK-1cxayZ13Pk-00HjIx; Tue, 21 Feb 2017 07:40:35 +0100 Received: from gt-cryptga1.gt.local (localhost [127.0.0.1]) by gt-cryptga1.gigatronik.com (Postfix) with ESMTP id 57F1B100071; Tue, 21 Feb 2017 07:40:33 +0100 (CET) Received: from s-mex3.GT.local (s-mex3.gt.local [192.168.168.48]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gt-cryptga1.gigatronik.com (Postfix) with ESMTPS id 4EAE010006B; Tue, 21 Feb 2017 07:40:33 +0100 (CET) Received: from m-ex1.GT.local (192.168.101.51) by s-mex3.GT.local (192.168.168.48) with Microsoft SMTP Server (TLS) id 14.3.235.1; Tue, 21 Feb 2017 07:40:32 +0100 Received: from GT.local (192.168.208.68) by M-EX1.GT.local (192.168.101.51) with Microsoft SMTP Server (TLS) id 14.3.210.2; Tue, 21 Feb 2017 07:40:32 +0100 From: Patrick Vogelaar CC: , , , , , Patrick Vogelaar Subject: [PATCH v2 2/2] add device tree documentation for cy8cmbr3102 Date: Tue, 21 Feb 2017 07:40:21 +0100 Message-ID: <1487659221-14665-3-git-send-email-Patrick.Vogelaar@gigatronik.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1487659221-14665-1-git-send-email-Patrick.Vogelaar@gigatronik.com> References: <1487659221-14665-1-git-send-email-Patrick.Vogelaar@gigatronik.com> MIME-Version: 1.0 X-Originating-IP: [192.168.208.68] X-KSE-AntiSpam-Interceptor-Info: white sender email list X-KSE-AttachmentFiltering-Interceptor-Info: protection disabled X-KSE-ServerInfo: M-EX1.GT.local, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 21.02.2017 04:38:00 X-KSE-AntiSpam-Interceptor-Info: trusted connection X-KSE-AttachmentFiltering-Interceptor-Info: protection disabled X-Provags-ID: V03:K0:NO/DO4QMf8LtFhQONpu0wkw3TYdByHimt42CH4ot1Qi+XM6Odgw j9aKo/3n0oUGDPS4i/Xd1V6xQGwTpEr3n6YG8fjP4iynJlKwSauJcRTfso3NJa77+EgUAHe tS0ejGna91MwMmBwa6Oc2T7dqndyItkkSlqqK1XR1aXO6ggH53OBPnpzKfPM5+bFeqSqhR/ UvqUydqGXJ3a/CcQakiSA== X-UI-Out-Filterresults: notjunk:1; V01:K0:Nq8TOFNOlAk=:6d1Z/MuuLw+stxk1Bo4Ie2 ZUm2DM+nZKznq0hSLFL3ApAI0OEIB0VGYLPK1wGeQluESsuy4X2xVBJ4Fe5rZpNzdBuU+BagC XlDVyzAjC2IYID2sTrfrJFNa5kpAfdtCegiBSbIEy5gEIjzMTOkGEd1IiHlpo8MoFvoQd2fvN aW/iWiLdiPV7oFkPZKZu4pgnmQkCDLWP2okmvaJeaVMnXbVRPbqFXALDC9wVKrAazC0aeoGQ8 2Tps7kDStd4crsfl4Zaygt6W5LcBQieHBhC2ujQHaKqHFE3A7vYC9JmLGmRwFVtPlhvaKfPoy m2S7VByiUqr+ybUy4e3WJWSP+k5OWlR+9TI1zkcw0hVZ5cJSLfyo+FLdyE9bFbPq87L3PzOXD IWgk32WGSCIVdssW4sWFqsQWjLTikPGjXhGktByZV9LIcnT4eHZcQPv1mrGhYLUOp3PLAJ6+r 9R1fAVYMSnnKCI5Q8xLC/Jeu8pii/0i1yLOUBi1nprryBQbIgusmEL8MAlVnuE/PAuzLix+4i aShO8FfEgk9SQVWUwky5UUvqRnkDkmLJUDF0OcaxS0UBfF7z54uIMBZoIIV4cxhvEkBm5JVht 2rKjYDtJYA+E9G32kurkgowOu3pIEM3lmmFsgPHYzN3oS0i5P4f0LbgYWNZ90FJtNBfkFvPxm HYr7G48AveAskgo5DLdyDlwK1Jk/R/6xDefeifglHV8XN5Z2JQhmJPMhtig34aZp7VrWYIM9D jRHqkBpvItfSy3Fs To: unlisted-recipients:; (no To-header on input) 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 Version 2: * based on branch next Signed-off-by: Patrick Vogelaar --- .../bindings/input/cypress,cy8cmbr3102.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/cypress,cy8cmbr3102.txt diff --git a/Documentation/devicetree/bindings/input/cypress,cy8cmbr3102.txt b/Documentation/devicetree/bindings/input/cypress,cy8cmbr3102.txt new file mode 100644 index 0000000..d5294b3 --- /dev/null +++ b/Documentation/devicetree/bindings/input/cypress,cy8cmbr3102.txt @@ -0,0 +1,32 @@ +Device tree bindings for Cypress CY8CMBR3102 CapSense Express controller. + +The node for this device must be a child of a I2C controller node, as the +device communicates via I2C. + +Required properties: + + compatible: Must be "cypress,cy8cmbr3102". + reg: The I2C slave address of the device. + linux,keycodes: Specifies an array of numeric keycode values to + be used for reporting button presses. The array can + contain up to two entries. + +Optional properties: + + autorepeat: Enables the Linux input system's autorepeat + feature on the input device. + +Example: + + &i2c1 { + /* ... */ + + touchb_tn: cy8cmbr3102@37 { + compatible = "cypress,cy8cmbr3102"; + reg = <0x37>; + linux,keycodes = , ; + autorepeat; + }; + + /* ... */ + };