[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250613-mip4-touchkey-v2-2-9bbbe14c016d@disroot.org>
Date: Fri, 13 Jun 2025 01:11:34 +0530
From: Kaustabh Chakraborty <kauschluss@...root.org>
To: Sangwon Jee <jeesw@...fas.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Henrik Rydberg <rydberg@...math.org>
Cc: linux-input@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Kaustabh Chakraborty <kauschluss@...root.org>
Subject: [PATCH RFC v2 2/5] dt-bindings: input: melfas-mip4: document
linux,keycodes property
Document the linux,keycodes property. The property values are key codes
which are used in input key events generated by the touchkey device.
Signed-off-by: Kaustabh Chakraborty <kauschluss@...root.org>
---
.../devicetree/bindings/input/touchscreen/melfas,mip4_ts.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/input/touchscreen/melfas,mip4_ts.yaml b/Documentation/devicetree/bindings/input/touchscreen/melfas,mip4_ts.yaml
index 5532d46f85a235127e2b3513846259aa7372bda5..6d5e0f4b062f44f83484eccd82353d6f150f9d8f 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/melfas,mip4_ts.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/melfas,mip4_ts.yaml
@@ -29,6 +29,11 @@ properties:
ce-gpios:
description: GPIO connected to the CE (chip enable) pin of the chip
+ linux,keycodes:
+ description: Array of keycodes to be reported by touchkeys
+ minItems: 1
+ maxItems: 4
+
additionalProperties: false
required:
@@ -49,6 +54,7 @@ examples:
interrupt-parent = <&gpio>;
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
+ linux,keycodes = <KEY_MENU>, <KEY_BACK>;
};
};
--
2.49.0
Powered by blists - more mailing lists