From patchwork Mon Feb 20 10:33:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Vogelaar X-Patchwork-Id: 729906 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3vRg3t0QPzz9s7n for ; Mon, 20 Feb 2017 21:34:34 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752418AbdBTKeT (ORCPT ); Mon, 20 Feb 2017 05:34:19 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:50925 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752476AbdBTKeD (ORCPT ); Mon, 20 Feb 2017 05:34:03 -0500 Received: from gt-cryptga1.gigatronik.com ([80.152.21.172]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.183]) with ESMTPSA (Nemesis) id 0LpNe1-1cCDQj1sur-00f843; Mon, 20 Feb 2017 11:34:00 +0100 Received: from gt-cryptga1.gt.local (localhost [127.0.0.1]) by gt-cryptga1.gigatronik.com (Postfix) with ESMTP id 2ACA610006D; Mon, 20 Feb 2017 11:34:00 +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 22B3A10006B; Mon, 20 Feb 2017 11:34:00 +0100 (CET) Received: from S-MEX2.GT.local (192.168.172.78) by s-mex3.GT.local (192.168.168.48) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 20 Feb 2017 11:33:59 +0100 Received: from m-ex1.GT.local (192.168.101.51) by S-MEX2.GT.local (192.168.168.41) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 20 Feb 2017 11:33:56 +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; Mon, 20 Feb 2017 11:33:54 +0100 From: Patrick Vogelaar To: CC: , , , Patrick Vogelaar Subject: [PATCH 2/2] add device tree documentation for cy8cmbr3102 Date: Mon, 20 Feb 2017 11:33:33 +0100 Message-ID: <1487586813-4122-3-git-send-email-Patrick.Vogelaar@gigatronik.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1487586813-4122-1-git-send-email-Patrick.Vogelaar@gigatronik.com> References: <1487586813-4122-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: 20.02.2017 07:41:00 X-KSE-AntiSpam-Interceptor-Info: trusted connection X-KSE-AttachmentFiltering-Interceptor-Info: protection disabled X-Provags-ID: V03:K0:Wf5/m6wFuz04THvazZeMywYv57TlUu9VEBder49avVVi8CpquyA K5GBF3AcPeWPn+9y5wddVL2RBivx7Cx00oe58of2s4M6PHawVgvlEPTo04dkZh+DTo4PJKT 7EiZA3t41IEf8kOjLBjNBx7IKPZxcFLOrUTW46c9DH5wWTsCfDAVOU4WVkn1TCEj9z6505k fN9eu72CBgzKXV2n+DKug== X-UI-Out-Filterresults: notjunk:1; V01:K0:Ez0m9R5f1KY=:FVqmrHKorD501q2UOqHJFE HtCfppmqaK3XMhM7kUG29GJgZS86eFOLDvfI3d+NHYyBhTB7imTrWGYOBUVvTlw30nnPWEpwC y6E3kiWd4vndX77rZD+rNJgNI7gSmOQG9HM47tymmS730H4oho+AwE/FnnHNLQhxI9AISe79R MC57/PrMsI48oyqo+B5HJjFatWMX+EiF7UpeClLIWbfWvv6cu1KSKcgMRtxnILNiu24hgzMd4 oMQT+UpWbp2RJNR5jVnPl1dnHKa02oeo8Kx/kwvQl5fPC4117CoJQo1nrWxd4a4RQwnCtHzhD 2fwWCeU8PD84fm89U0exaATtkchKtoOFeIG/LzH+f/sF5FwVawWE/SZwKdX8WXRd6S1g3SsoX AMoOr3/2uS+dQdDLUx3b8fi6g9hs24+n9qv56nxqhgaAZszVDkW0VMGjH8q69NKbuPPFYu6jU 76kr849jB/e5vDN/7E1PwxnP6P9ZLrn/04FC6daC4rTkk1mqArNBuHaEr84LevQje8yYndR2I ZoelWcYd/9E4TN9MnvGVyY5Hm9ld2ovOW+0pcjBnRxUWIrxAnIBdxTMLrXS6hS/N9HrplJ4lf ym1Etaoqp3/m9C/b3rY1Cvv0GpUiUu+6NV3YmDJHihmHpBC9rJek5StgNozXICLiwvkh85Ujs oLi6NJkkF3gaIKZ2PJPBOZg4BLZYbWNi9pjhG0+oVlI9qElhVcbcUWU+CLaeDFF6q6nCqaaN6 061ddBjJ/xk6XcH/ Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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; + }; + + /* ... */ + };