Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1584500
| From | Patrick Vogelaar <Patrick.Vogelaar@gigatronik.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/2] add device tree documentation for cy8cmbr3102 |
| Date | 2017-02-20 11:40 +0100 |
| Message-ID | <tcTxT-3tt-11@gated-at.bofh.it> (permalink) |
| References | <tcTxT-3tt-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Patrick Vogelaar <Patrick.Vogelaar@gigatronik.com>
---
.../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 = <BTN_0>, <BTN_1>;
+ autorepeat;
+ };
+
+ /* ... */
+ };
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] add driver for cypress cy8cmbr3102 Patrick Vogelaar <Patrick.Vogelaar@gigatronik.com> - 2017-02-20 11:40 +0100
[PATCH 2/2] add device tree documentation for cy8cmbr3102 Patrick Vogelaar <Patrick.Vogelaar@gigatronik.com> - 2017-02-20 11:40 +0100
[PATCH 1/2] add driver for cypress cy8cmbr3102 Patrick Vogelaar <Patrick.Vogelaar@gigatronik.com> - 2017-02-20 11:40 +0100
Re: [PATCH 1/2] add driver for cypress cy8cmbr3102 kbuild test robot <lkp@intel.com> - 2017-02-20 13:10 +0100
[PATCH] fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2017-02-20 13:10 +0100
csiph-web