/linux/Documentation/devicetree/bindings/input/ |
H A D | adi,adp5588.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sá <nuno.sa@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADP5588.pdf 17 - $ref: matrix-keymap.yaml# 18 - $ref: input.yaml# 23 - adi,adp5587 24 - adi,adp5588 29 vcc-supply: [all …]
|
H A D | samsung,s3c6410-keypad.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/input/samsung,s3c6410-keypad.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 Samsung SoC Keypad controller is used to interface a SoC with a matrix-type 13 The keypad controller can sense a key-press and key-release and report the 17 - Krzysztof Kozlowski <krzk@kernel.org> 22 - samsung,s3c6410-keypad 23 - samsung,s5pv210-keypad 31 clock-names: [all …]
|
H A D | brcm,bcm-keypad.txt | 3 Broadcom Keypad controller is used to interface a SoC with a matrix-type 6 The keypad controller can sense a key-press and key-release and report the 9 This binding is based on the matrix-keymap binding with the following 12 keypad,num-rows and keypad,num-columns are required. 15 - compatible: should be "brcm,bcm-keypad" 17 - reg: physical base address of the controller and length of memory mapped 20 - interrupts: The interrupt number to the cpu. 23 - keypad,num-rows: Number of row lines connected to the keypad 26 - keypad,num-columns: Number of column lines connected to the 29 - col-debounce-filter-period: The debounce period for the Column filter. [all …]
|
H A D | omap-keypad.txt | 3 TI's Keypad controller is used to interface a SoC with a matrix-type 6 The keypad controller can sense a key-press and key-release and report the 9 This binding is based on the matrix-keymap binding with the following 12 keypad,num-rows and keypad,num-columns are required. 15 - compatible: should be one of the following 16 - "ti,omap4-keypad": For controllers compatible with omap4 keypad 20 - linux,keypad-no-autorepeat: do no enable autorepeat feature. 24 compatible = "ti,omap4-keypad"; 25 keypad,num-rows = <2>; 26 keypad,num-columns = <8>; [all …]
|
H A D | twl4030-keypad.txt | 3 TWL4030's Keypad controller is used to interface a SoC with a matrix-type 6 The keypad controller can sense a key-press and key-release and report the 9 This binding is based on the matrix-keymap binding with the following 12 * keypad,num-rows and keypad,num-columns are required. 15 - compatible: should be one of the following 16 - "ti,twl4030-keypad": For controllers compatible with twl4030 keypad 18 - interrupt: should be one of the following 19 - <1>: For controllers compatible with twl4030 keypad controller. 23 compatible = "ti,twl4030-keypad"; 25 keypad,num-rows = <8>; [all …]
|
H A D | lpc32xx-key.txt | 3 This binding is based on the matrix-keymap binding with the following 7 - compatible: Should be "nxp,lpc3220-key" 8 - reg: Physical base address of the controller and length of memory mapped 10 - interrupts: The interrupt number to the cpu. 11 - clocks: phandle to clock controller plus clock-specifier pair 12 - nxp,debounce-delay-ms: Debounce delay in ms 13 - nxp,scan-delay-ms: Repeated scan period in ms 14 - linux,keymap: the key-code to be reported when the key is pressed 16 Documentation/devicetree/bindings/input/matrix-keymap.txt 18 Note: keypad,num-rows and keypad,num-columns are required, and must be equal [all …]
|
H A D | matrix-keymap.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/matrix-keymap.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common Key Matrices on Matrix-connected Key Boards 10 - Olof Johansson <olof@lixom.net> 13 A simple common binding for matrix-connected key boards. Currently targeted at 19 for said properties are "linux,fn-keymap" or with another descriptive 24 $ref: /schemas/types.yaml#/definitions/uint32-array 26 An array of packed 1-cell entries containing the equivalent of row, [all …]
|
H A D | st-keyscan.txt | 4 matrix-keymap. 7 - compatible: "st,sti-keyscan" 9 - reg: Register base address and size of st-keyscan controller. 11 - interrupts: Interrupt number for the st-keyscan controller. 13 - clocks: Must contain one entry, for the module clock. 14 See ../clocks/clock-bindings.txt for details. 16 - pinctrl: Should specify pin control groups used for this controller. 17 See ../pinctrl/pinctrl-bindings.txt for details. 19 - linux,keymap: The keymap for keys as described in the binding document 20 devicetree/bindings/input/matrix-keymap.txt. [all …]
|
H A D | google,cros-ec-keyb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $id: http://devicetree.org/schemas/input/google,cros-ec-keyb.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Simon Glass <sjg@chromium.org> 12 - Benson Leung <bleung@chromium.org> 24 - description: ChromeOS EC with only buttons/switches 25 const: google,cros-ec-keyb-switches 26 - description: ChromeOS EC with keyboard and possibly buttons/switches 27 const: google,cros-ec-keyb [all …]
|
H A D | tca8418_keypad.txt | 1 This binding is based on the matrix-keymap binding with the following 4 keypad,num-rows and keypad,num-columns are required. 7 - compatible: "ti,tca8418" 8 - reg: the I2C address 9 - interrupts: IRQ line number, should trigger on falling edge 10 - linux,keymap: Keys definitions, see keypad-matrix.
|
H A D | qcom,pm8921-keypad.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/qcom,pm8921-keypad.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 13 - $ref: input.yaml# 14 - $ref: matrix-keymap.yaml# 19 - qcom,pm8058-keypad 20 - qcom,pm8921-keypad 27 - description: key sense [all …]
|
H A D | pxa27x-keypad.txt | 4 - compatible : should be "marvell,pxa27x-keypad" 5 - reg : Address and length of the register set for the device 6 - interrupts : The interrupt for the keypad controller 7 - marvell,debounce-interval : How long time the key will be 13 Please refer to matrix-keymap.txt 16 - marvell,direct-key-count : How many direct keyes are used. 17 - marvell,direct-key-mask : The mask indicates which keyes 20 - marvell,direct-key-low-active : Direct key status register 24 - marvell,direct-key-map : It is a u16 array. Each item indicates 25 the linux key-code for the direct key. [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | tc3589x.txt | 1 * Toshiba TC3589x multi-purpose expander 3 The Toshiba TC3589x series are I2C-based MFD devices which may expose the 4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for 7 - TC35890 8 - TC35892 9 - TC35893 10 - TC35894 11 - TC35895 12 - TC35896 15 - compatible : must be "toshiba,tc35890", "toshiba,tc35892", "toshiba,tc35893", [all …]
|
/linux/drivers/input/keyboard/ |
H A D | stmpe-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 61 * struct stmpe_keypad_variant - model-specific attributes 63 * auto-increments on multiple read 64 * @set_pullup: whether the pins need to have their pull-ups set 67 * @max_cols: maximum number of columns supported 69 * @col_gpios: bitmask of gpios which can be used for columns 90 .col_gpios = 0x000ff, /* GPIO 0 - 7 */ 91 .row_gpios = 0x0ff00, /* GPIO 8 - 15 */ [all …]
|
H A D | tc3589x-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 21 /* Maximum supported keypad matrix row/columns size */ 73 * struct tc3589x_keypad_platform_data - platform specific keypad data 76 * @kcol: mask for available columns, value is 0xFF 95 * struct tc_keypad - data structure used by keypad driver 100 * @kcol: number of columns 117 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_init_key_hardware() 118 const struct tc3589x_keypad_platform_data *board = keypad->board; in tc3589x_keypad_init_key_hardware() 121 if (board->kcol > TC3589x_MAX_KPCOL || board->krow > TC3589x_MAX_KPROW) in tc3589x_keypad_init_key_hardware() [all …]
|
/linux/drivers/leds/ |
H A D | leds-aw200xx.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #define AW200XX_DIM_MAX (BIT(6) - 1) 24 #define AW200XX_FADE_MAX (BIT(8) - 1) 41 AW200XX_REG(AW200XX_NUM_PAGES - 1, AW200XX_PAGE_SIZE - 1) 75 #define AW200XX_LED2REG(x, columns) \ argument 76 ((x) + (((x) / (columns)) * (AW200XX_DSIZE_COLUMNS_MAX - (columns)))) 79 #define AW200XX_REG_DIM_PAGE1(x, columns) \ argument 80 AW200XX_REG(AW200XX_PAGE1, AW200XX_LED2REG(x, columns)) 87 #define AW200XX_REG_DIM(x, columns) \ argument 88 AW200XX_REG(AW200XX_PAGE4, AW200XX_LED2REG(x, columns) * 2) [all …]
|
/linux/drivers/input/ |
H A D | matrix-keymap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 unsigned short *keymap = input_dev->keycode; in matrix_keypad_map_key() 32 dev_err(input_dev->dev.parent, in matrix_keypad_map_key() 39 __set_bit(code, input_dev->keybit); in matrix_keypad_map_key() 45 * matrix_keypad_parse_properties() - Read properties of matrix keypad 49 * @cols: Returns number of matrix columns 57 device_property_read_u32(dev, "keypad,num-rows", rows); in matrix_keypad_parse_properties() 58 device_property_read_u32(dev, "keypad,num-columns", cols); in matrix_keypad_parse_properties() 61 dev_err(dev, "number of keypad rows/columns not specified\n"); in matrix_keypad_parse_properties() 62 return -EINVAL; in matrix_keypad_parse_properties() [all …]
|
/linux/arch/arm/boot/dts/ |
H A D | cros-ec-keyboard.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Keyboard dts fragment for devices that use cros-ec-keyboard 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/input/cros-ec-keyboard.h> 12 keyboard_controller: keyboard-controller { 13 compatible = "google,cros-ec-keyb"; 14 keypad,num-rows = <8>; 15 keypad,num-columns = <13>; 16 google,needs-ghost-filter;
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | motorola-mapphone-mz607-mz617.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "motorola-mapphone-common.dtsi" 7 keypad,num-rows = <8>; 8 keypad,num-columns = <8>; 18 vmmc-supply = <&vsimcard>; 19 bus-width = <4>; 20 cd-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>; /* gpio_176 */
|
H A D | omap4-droid-bionic-xt875.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "motorola-mapphone-xt8xx.dtsi" 8 compatible = "motorola,droid-bionic", "ti,omap4430", "ti,omap4"; 11 stdout-path = &uart3; 21 keypad,num-rows = <8>; 22 keypad,num-columns = <8>; 30 led-controller@38 { 32 #address-cells = <1>; 33 #size-cells = <0>; [all …]
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | legacy_dvb_osd.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later OR GPL-2.0 14 The DVB OSD device controls the OnScreen-Display of the AV7110 based 15 DVB-cards with hardware MPEG2 decoder. It can be accessed through 20 The OSD is not a frame-buffer like on many other cards. 22 The color-depth is limited depending on the memory size installed. 31 ----------- 36 .. code-block:: c 39 /* All functions return -2 on "not open" */ 67 .. note:: All functions return -2 on "not open" 69 .. flat-table:: [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8660-surf.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 4 #include "qcom-msm8660.dtsi" 9 compatible = "qcom,msm8660-surf", "qcom,msm8660"; 16 stdout-path = "serial0:115200n8"; 20 vsdcc_fixed: vsdcc-regulator { 21 compatible = "regulator-fixed"; 22 regulator-name = "SDCC Power"; 23 regulator-min-microvolt = <2700000>; 24 regulator-max-microvolt = <2700000>; [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-codec.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _codec-controls: 24 .. _mpeg-control-id: 27 ----------------- 35 .. _v4l2-mpeg-stream-type: 40 enum v4l2_mpeg_stream_type - 41 The MPEG-1, -2 or -4 output stream type. One cannot assume anything 48 .. flat-table:: 49 :header-rows: 0 50 :stub-columns: 0 [all …]
|
H A D | vidioc-reqbufs.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_REQBUFS - Initiate Memory Mapping, User Pointer I/O or DMA buffer I/O 78 .. flat-table:: struct v4l2_requestbuffers 79 :header-rows: 0 80 :stub-columns: 0 83 * - __u32 84 - ``count`` 85 - The number of buffers requested or granted. 86 * - __u32 87 - ``type`` [all …]
|
/linux/scripts/dtc/ |
H A D | of_unittest_expect | 2 # SPDX-License-Identifier: GPL-2.0 40 $expect =~ s/^.*?>>//; # '?' is non-greedy, minimal match 54 if ($got =~ /^[+-]*[0-9]+/) { 55 $got =~ s/^[+-]*[0-9]+//; 60 if ($got =~ /^(0x)*[0-9a-f]+/) { 61 $got =~ s/^(0x)*[0-9a-f]+//; 100 -h print program usage 101 --help print program usage 102 --hide-expect suppress output of EXPECTed lines 103 --line-num report line number of CONSOLE_LOG [all …]
|