Home
last modified time | relevance | path

Searched +full:ep9307 +full:- +full:keypad (Results 1 – 5 of 5) sorted by relevance

/linux/Documentation/devicetree/bindings/input/
H A Dcirrus,ep9307-keypad.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/cirrus,ep9307-keypad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cirrus ep93xx keypad
10 - Alexander Sverdlin <alexander.sverdlin@gmail.com>
13 - $ref: /schemas/input/matrix-keymap.yaml#
16 The KPP is designed to interface with a keypad matrix with 2-point contact
17 or 3-point contact keys. The KPP is designed to simplify the software task
18 of scanning a keypad matrix. The KPP is capable of detecting, debouncing,
[all …]
/linux/drivers/input/keyboard/
H A Dep93xx_keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for the Cirrus EP93xx matrix keypad controller.
7 * Based on the pxa27x matrix keypad controller by Rodolfo Giometti.
26 * Keypad Interface Register offsets
81 struct ep93xx_keypad *keypad = dev_id; in ep93xx_keypad_irq_handler() local
82 struct input_dev *input_dev = keypad->input_dev; in ep93xx_keypad_irq_handler()
86 status = __raw_readl(keypad->mmio_base + KEY_REG); in ep93xx_keypad_irq_handler()
89 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler()
92 key2 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler()
95 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler()
[all …]
/linux/Documentation/devicetree/bindings/soc/cirrus/
H A Dcirrus,ep9301-syscon.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/soc/cirrus/cirrus,ep9301-syscon.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexander Sverdlin <alexander.sverdlin@gmail.com>
11 - Nikita Shubin <nikita.shubin@maquefel.me>
14 Central resources are controlled by a set of software-locked registers,
20 - Clock control
21 - Power management
22 - System configuration management
[all …]
/linux/arch/arm/boot/dts/cirrus/
H A Dep93xx.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/clock/cirrus,ep9301-syscon.h>
11 compatible = "simple-bus";
13 #address-cells = <1>;
14 #size-cells = <1>;
17 compatible = "cirrus,ep9301-syscon", "syscon";
20 #clock-cells = <1>;
[all …]
/linux/drivers/pinctrl/
H A Dpinctrl-ep93xx.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * based on linux/drivers/pinctrl/pinmux-gemini.c
8 * This is a group-only pin controller.
23 #include <linux/pinctrl/pinconf-generic.h>
28 #include "pinctrl-utils.h"
30 #define DRIVER_NAME "pinctrl-ep93xx"
49 struct ep93xx_regmap_adev *aux = pmx->aux_dev; in ep93xx_pinctrl_update_bits()
51 aux->update_bits(aux->map, aux->lock, reg, mask, val); in ep93xx_pinctrl_update_bits()
73 * descriptions of the registers, “DeviceCfg” on page 5-25 and “SysCfg” on page 5-34, for a
339 * Note: The EP9307 processor has one PWM with one output, PWMOUT.
[all …]