Loading Documentation/devicetree/bindings/input/gpio-vibrator.yaml 0 → 100644 +37 −0 Original line number Diff line number Diff line # SPDX-License-Identifier: GPL-2.0 %YAML 1.2 --- $id: http://devicetree.org/schemas/bindings/input/gpio-vibrator.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: GPIO vibrator maintainers: - Luca Weiss <luca@z3ntu.xyz> description: |+ Registers a GPIO device as vibrator, where the on/off capability is controlled by a GPIO. properties: compatible: const: gpio-vibrator enable-gpios: maxItems: 1 vcc-supply: description: Regulator that provides power required: - compatible - enable-gpios examples: - | #include <dt-bindings/gpio/gpio.h> vibrator { compatible = "gpio-vibrator"; enable-gpios = <&msmgpio 86 GPIO_ACTIVE_HIGH>; vcc-supply = <&pm8941_l18>; }; Documentation/devicetree/bindings/input/lpc32xx-key.txt +4 −1 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ Required Properties: - reg: Physical base address of the controller and length of memory mapped region. - interrupts: The interrupt number to the cpu. - clocks: phandle to clock controller plus clock-specifier pair - nxp,debounce-delay-ms: Debounce delay in ms - nxp,scan-delay-ms: Repeated scan period in ms - linux,keymap: the key-code to be reported when the key is pressed Loading @@ -22,7 +23,9 @@ Example: key@40050000 { compatible = "nxp,lpc3220-key"; reg = <0x40050000 0x1000>; interrupts = <54 0>; clocks = <&clk LPC32XX_CLK_KEY>; interrupt-parent = <&sic1>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; keypad,num-rows = <1>; keypad,num-columns = <1>; nxp,debounce-delay-ms = <3>; Loading Documentation/devicetree/bindings/input/microchip,qt1050.txt 0 → 100644 +78 −0 Original line number Diff line number Diff line Microchip AT42QT1050 Five-channel Touch Sensor IC The AT42QT1050 (QT1050) is a QTouchADC sensor device. The device can sense from one to five keys, dependent on mode. The QT1050 includes all signal processing functions necessary to provide stable sensing under a wide variety of changing conditions, and the outputs are fully debounced. The touchkey device node should be placed inside an I2C bus node. Required properties: - compatible: Must be "microchip,qt1050" - reg: The I2C address of the device - interrupts: The sink for the touchpad's IRQ output, see ../interrupt-controller/interrupts.txt Optional properties: - wakeup-source: touch keys can be used as a wakeup source Each button (key) is represented as a sub-node: Each not specified key or key with linux,code set to KEY_RESERVED gets disabled in HW. Subnode properties: - linux,code: Keycode to emit. - reg: The key number. Valid values: 0, 1, 2, 3, 4. Optional subnode-properties: If a optional property is missing or has a invalid value the default value is taken. - microchip,pre-charge-time-ns: Each touchpad need some time to precharge. The value depends on the mechanical layout. Valid value range: 0 - 637500; values must be a multiple of 2500; default is 0. - microchip,average-samples: Number of data samples which are averaged for each read. Valid values: 1, 4, 16, 64, 256, 1024, 4096, 16384; default is 1. - microchip,average-scaling: The scaling factor which is used to scale the average-samples. Valid values: 1, 2, 4, 8, 16, 32, 64, 128; default is 1. - microchip,threshold: Number of counts to register a touch detection. Valid value range: 0 - 255; default is 20. Example: QT1050 with 3 non continuous keys, key2 and key4 are disabled. touchkeys@41 { compatible = "microchip,qt1050"; reg = <0x41>; interrupt-parent = <&gpio0>; interrupts = <17 IRQ_TYPE_EDGE_FALLING>; up@0 { reg = <0>; linux,code = <KEY_UP>; microchip,average-samples = <64>; microchip,average-scaling = <16>; microchip,pre-charge-time-ns = <10000>; }; right@1 { reg = <1>; linux,code = <KEY_RIGHT>; microchip,average-samples = <64>; microchip,average-scaling = <8>; }; down@3 { reg = <3>; linux,code = <KEY_DOWN>; microchip,average-samples = <256>; microchip,average-scaling = <16>; }; }; Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt +4 −2 Original line number Diff line number Diff line Loading @@ -2,12 +2,14 @@ Allwinner sun4i low res adc attached tablet keys ------------------------------------------------ Required properties: - compatible: "allwinner,sun4i-a10-lradc-keys" - compatible: should be one of the following string: "allwinner,sun4i-a10-lradc-keys" "allwinner,sun8i-a83t-r-lradc" - reg: mmio address range of the chip - interrupts: interrupt to which the chip is connected - vref-supply: powersupply for the lradc reference voltage Each key is represented as a sub-node of "allwinner,sun4i-a10-lradc-keys": Each key is represented as a sub-node of the compatible mentioned above: Required subnode-properties: - label: Descriptive name of the key. Loading Documentation/devicetree/bindings/input/touchscreen/goodix.txt +3 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ Device tree bindings for Goodix GT9xx series touchscreen controller Required properties: - compatible : Should be "goodix,gt1151" or "goodix,gt5663" or "goodix,gt5688" or "goodix,gt911" or "goodix,gt9110" Loading @@ -19,6 +20,8 @@ Optional properties: - irq-gpios : GPIO pin used for IRQ. The driver uses the interrupt gpio pin as output to reset the device. - reset-gpios : GPIO pin used for reset - AVDD28-supply : Analog power supply regulator on AVDD28 pin - VDDIO-supply : GPIO power supply regulator on VDDIO pin - touchscreen-inverted-x - touchscreen-inverted-y - touchscreen-size-x Loading Loading
Documentation/devicetree/bindings/input/gpio-vibrator.yaml 0 → 100644 +37 −0 Original line number Diff line number Diff line # SPDX-License-Identifier: GPL-2.0 %YAML 1.2 --- $id: http://devicetree.org/schemas/bindings/input/gpio-vibrator.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: GPIO vibrator maintainers: - Luca Weiss <luca@z3ntu.xyz> description: |+ Registers a GPIO device as vibrator, where the on/off capability is controlled by a GPIO. properties: compatible: const: gpio-vibrator enable-gpios: maxItems: 1 vcc-supply: description: Regulator that provides power required: - compatible - enable-gpios examples: - | #include <dt-bindings/gpio/gpio.h> vibrator { compatible = "gpio-vibrator"; enable-gpios = <&msmgpio 86 GPIO_ACTIVE_HIGH>; vcc-supply = <&pm8941_l18>; };
Documentation/devicetree/bindings/input/lpc32xx-key.txt +4 −1 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ Required Properties: - reg: Physical base address of the controller and length of memory mapped region. - interrupts: The interrupt number to the cpu. - clocks: phandle to clock controller plus clock-specifier pair - nxp,debounce-delay-ms: Debounce delay in ms - nxp,scan-delay-ms: Repeated scan period in ms - linux,keymap: the key-code to be reported when the key is pressed Loading @@ -22,7 +23,9 @@ Example: key@40050000 { compatible = "nxp,lpc3220-key"; reg = <0x40050000 0x1000>; interrupts = <54 0>; clocks = <&clk LPC32XX_CLK_KEY>; interrupt-parent = <&sic1>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; keypad,num-rows = <1>; keypad,num-columns = <1>; nxp,debounce-delay-ms = <3>; Loading
Documentation/devicetree/bindings/input/microchip,qt1050.txt 0 → 100644 +78 −0 Original line number Diff line number Diff line Microchip AT42QT1050 Five-channel Touch Sensor IC The AT42QT1050 (QT1050) is a QTouchADC sensor device. The device can sense from one to five keys, dependent on mode. The QT1050 includes all signal processing functions necessary to provide stable sensing under a wide variety of changing conditions, and the outputs are fully debounced. The touchkey device node should be placed inside an I2C bus node. Required properties: - compatible: Must be "microchip,qt1050" - reg: The I2C address of the device - interrupts: The sink for the touchpad's IRQ output, see ../interrupt-controller/interrupts.txt Optional properties: - wakeup-source: touch keys can be used as a wakeup source Each button (key) is represented as a sub-node: Each not specified key or key with linux,code set to KEY_RESERVED gets disabled in HW. Subnode properties: - linux,code: Keycode to emit. - reg: The key number. Valid values: 0, 1, 2, 3, 4. Optional subnode-properties: If a optional property is missing or has a invalid value the default value is taken. - microchip,pre-charge-time-ns: Each touchpad need some time to precharge. The value depends on the mechanical layout. Valid value range: 0 - 637500; values must be a multiple of 2500; default is 0. - microchip,average-samples: Number of data samples which are averaged for each read. Valid values: 1, 4, 16, 64, 256, 1024, 4096, 16384; default is 1. - microchip,average-scaling: The scaling factor which is used to scale the average-samples. Valid values: 1, 2, 4, 8, 16, 32, 64, 128; default is 1. - microchip,threshold: Number of counts to register a touch detection. Valid value range: 0 - 255; default is 20. Example: QT1050 with 3 non continuous keys, key2 and key4 are disabled. touchkeys@41 { compatible = "microchip,qt1050"; reg = <0x41>; interrupt-parent = <&gpio0>; interrupts = <17 IRQ_TYPE_EDGE_FALLING>; up@0 { reg = <0>; linux,code = <KEY_UP>; microchip,average-samples = <64>; microchip,average-scaling = <16>; microchip,pre-charge-time-ns = <10000>; }; right@1 { reg = <1>; linux,code = <KEY_RIGHT>; microchip,average-samples = <64>; microchip,average-scaling = <8>; }; down@3 { reg = <3>; linux,code = <KEY_DOWN>; microchip,average-samples = <256>; microchip,average-scaling = <16>; }; };
Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt +4 −2 Original line number Diff line number Diff line Loading @@ -2,12 +2,14 @@ Allwinner sun4i low res adc attached tablet keys ------------------------------------------------ Required properties: - compatible: "allwinner,sun4i-a10-lradc-keys" - compatible: should be one of the following string: "allwinner,sun4i-a10-lradc-keys" "allwinner,sun8i-a83t-r-lradc" - reg: mmio address range of the chip - interrupts: interrupt to which the chip is connected - vref-supply: powersupply for the lradc reference voltage Each key is represented as a sub-node of "allwinner,sun4i-a10-lradc-keys": Each key is represented as a sub-node of the compatible mentioned above: Required subnode-properties: - label: Descriptive name of the key. Loading
Documentation/devicetree/bindings/input/touchscreen/goodix.txt +3 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ Device tree bindings for Goodix GT9xx series touchscreen controller Required properties: - compatible : Should be "goodix,gt1151" or "goodix,gt5663" or "goodix,gt5688" or "goodix,gt911" or "goodix,gt9110" Loading @@ -19,6 +20,8 @@ Optional properties: - irq-gpios : GPIO pin used for IRQ. The driver uses the interrupt gpio pin as output to reset the device. - reset-gpios : GPIO pin used for reset - AVDD28-supply : Analog power supply regulator on AVDD28 pin - VDDIO-supply : GPIO power supply regulator on VDDIO pin - touchscreen-inverted-x - touchscreen-inverted-y - touchscreen-size-x Loading