# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/input/ti,omap4-keypad.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Texas Instruments Keypad Controller maintainers: - Eduard Bostina description: TI's Keypad controller is used to interface a SoC with a matrix-type keypad device. The keypad controller supports multiple row and column lines. A key can be placed at each intersection of a unique row and a unique column. The keypad controller can sense a key-press and key-release and report the event using a interrupt to the cpu. allOf: - $ref: /schemas/input/matrix-keymap.yaml# properties: compatible: const: ti,omap4-keypad reg: maxItems: 1 reg-names: const: mpu interrupts: maxItems: 1 linux,input-no-autorepeat: type: boolean description: Do not enable autorepeat feature. required: - compatible - reg - interrupts - keypad,num-rows - keypad,num-columns - linux,keymap unevaluatedProperties: false examples: - | #include keypad@4ae1c000 { compatible = "ti,omap4-keypad"; reg = <0x4ae1c000 0x400>; reg-names = "mpu"; interrupts = ; keypad,num-rows = <2>; keypad,num-columns = <8>; linux,keymap = <0x00000011 /* KEY_W */ 0x0001001f>; /* KEY_S */ linux,input-no-autorepeat; };