Skip to content

Commit db28b8a

Browse files
committed
Merge tag 'input-for-v6.19-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input updates from Dmitry Torokhov: - DT bindings for Melfas MIP4 touchscreen controller and TWL4030 keypad have been converted to the DT schema - simple touch controller bindings have been consolidated to trivial-touch.yaml DT schema - memory allocation failure noise was removed from qnap-mcu-input and zforce_ts dirvers - ti_am335x_tsc driver was hardened to handle invalid (too large) number of coordinates specified in device tree - a cleanup in Cypress cyttsp5 driver to use %pe to print error code * tag 'input-for-v6.19-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: ti_am335x_tsc - clamp coordinate_readouts to DT maximum (6) dt-bindings: touchscreen: consolidate simple touch controller to trivial-touch.yaml dt-bindings: touchscreen: trivial-touch: add reset-gpios and wakeup-source dt-bindings: input: ti,twl4030-keypad: convert to DT schema Input: zforce_ts - omit error message when memory allocation fails Input: qnap-mcu-input - omit error message when memory allocation fails dt-bindings: input: Convert MELFAS MIP4 Touchscreen to DT schema dt-bindings: touchscreen: move ar1021.txt to trivial-touch.yaml dt-bindings: touchscreen: rename maxim,max11801.yaml to trivial-touch.yaml Input: cyttsp5 - use %pe format specifier
2 parents 2f7041e + 429c472 commit db28b8a

16 files changed

Lines changed: 207 additions & 445 deletions
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/input/ti,twl4030-keypad.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Texas Instruments TWL4030-family Keypad Controller
8+
9+
maintainers:
10+
- Peter Ujfalusi <peter.ujfalusi@gmail.com>
11+
12+
description:
13+
TWL4030's Keypad controller is used to interface a SoC with a matrix-type
14+
keypad device. The keypad controller supports multiple row and column lines.
15+
A key can be placed at each intersection of a unique row and a unique column.
16+
The keypad controller can sense a key-press and key-release and report the
17+
event using a interrupt to the cpu.
18+
19+
allOf:
20+
- $ref: matrix-keymap.yaml#
21+
22+
properties:
23+
compatible:
24+
const: ti,twl4030-keypad
25+
26+
interrupts:
27+
maxItems: 1
28+
29+
required:
30+
- compatible
31+
- interrupts
32+
- keypad,num-rows
33+
- keypad,num-columns
34+
- linux,keymap
35+
36+
unevaluatedProperties: false
37+
38+
examples:
39+
- |
40+
#include <dt-bindings/input/input.h>
41+
42+
keypad {
43+
compatible = "ti,twl4030-keypad";
44+
interrupts = <1>;
45+
keypad,num-rows = <8>;
46+
keypad,num-columns = <8>;
47+
linux,keymap = <
48+
/* row 0 */
49+
MATRIX_KEY(0, 0, KEY_1)
50+
MATRIX_KEY(0, 1, KEY_2)
51+
MATRIX_KEY(0, 2, KEY_3)
52+
53+
/* ...and so on for a full 8x8 matrix... */
54+
55+
/* row 7 */
56+
MATRIX_KEY(7, 6, KEY_Y)
57+
MATRIX_KEY(7, 7, KEY_Z)
58+
>;
59+
};

Documentation/devicetree/bindings/input/touchscreen/ar1021.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

Documentation/devicetree/bindings/input/touchscreen/azoteq,iqs5xx.yaml

Lines changed: 0 additions & 75 deletions
This file was deleted.

Documentation/devicetree/bindings/input/touchscreen/himax,hx83112b.yaml

Lines changed: 0 additions & 64 deletions
This file was deleted.

Documentation/devicetree/bindings/input/touchscreen/hynitron,cstxxx.yaml

Lines changed: 0 additions & 65 deletions
This file was deleted.

Documentation/devicetree/bindings/input/touchscreen/ilitek_ts_i2c.yaml

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)