forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/dtor/input Pull input updates from Dmitry Torokhov: "An update to the Goodix touchscreen driver to enable it work properly on various Bay Trail and Cherry Trail devices, and a few other assorted changes" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (26 commits) Input: update SPDX tag for input-event-codes.h Input: i8042 - add Acer Aspire 5738z to nomux list Input: goodix - fix compilation when ACPI support is disabled dt-bindings: touchscreen: Convert edt-ft5x06 to json-schema Input: of_touchscreen - explicitly choose axis Input: goodix - support gt9147 touchpanel dt-bindings: touchscreen: goodix: support of gt9147 Input: goodix - add support for Goodix GT917S Input: goodix - use string-based chip ID dt-bindings: input: touchscreen: add compatible string for Goodix GT917S Input: goodix - add support for more then one touch-key Input: goodix - fix spurious key release events Input: goodix - try to reset the controller if the i2c-test fails Input: goodix - restore config on resume if necessary Input: goodix - make goodix_send_cfg() take a raw buffer as argument Input: goodix - add minimum firmware size check Input: goodix - save a copy of the config from goodix_read_config() Input: goodix - move defines to above struct goodix_ts_data declaration Input: goodix - add support for controlling the IRQ pin through ACPI methods Input: goodix - add support for getting IRQ + reset GPIOs on Bay Trail devices ...
- Loading branch information
Showing
8 changed files
with
651 additions
and
210 deletions.
There are no files selected for viewing
77 changes: 0 additions & 77 deletions
77
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt
This file was deleted.
Oops, something went wrong.
125 changes: 125 additions & 0 deletions
125
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/input/touchscreen/edt-ft5x06.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: FocalTech EDT-FT5x06 Polytouch Bindings | ||
|
||
description: | | ||
There are 5 variants of the chip for various touch panel sizes | ||
FT5206GE1 2.8" .. 3.8" | ||
FT5306DE4 4.3" .. 7" | ||
FT5406EE8 7" .. 8.9" | ||
FT5506EEG 7" .. 8.9" | ||
FT5726NEI 5.7” .. 11.6" | ||
maintainers: | ||
- Dmitry Torokhov <[email protected]> | ||
|
||
allOf: | ||
- $ref: touchscreen.yaml# | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- evervision,ev-ft5726 | ||
|
||
then: | ||
properties: | ||
offset-x: true | ||
offset-y: true | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- edt,edt-ft5206 | ||
- edt,edt-ft5306 | ||
- edt,edt-ft5406 | ||
- edt,edt-ft5506 | ||
- evervision,ev-ft5726 | ||
- focaltech,ft6236 | ||
|
||
reg: | ||
const: 0x38 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
reset-gpios: | ||
maxItems: 1 | ||
|
||
wake-gpios: | ||
maxItems: 1 | ||
|
||
wakeup-source: true | ||
|
||
vcc-supply: | ||
maxItems: 1 | ||
|
||
gain: | ||
description: Allows setting the sensitivity in the range from 0 to 31. | ||
Note that lower values indicate higher sensitivity. | ||
allOf: | ||
- $ref: /schemas/types.yaml#/definitions/uint32 | ||
- minimum: 0 | ||
- maximum: 31 | ||
|
||
offset: | ||
description: Allows setting the edge compensation in the range from 0 to 31. | ||
allOf: | ||
- $ref: /schemas/types.yaml#/definitions/uint32 | ||
- minimum: 0 | ||
- maximum: 31 | ||
|
||
offset-x: | ||
description: Same as offset, but applies only to the horizontal position. | ||
Range from 0 to 80, only supported by evervision,ev-ft5726 devices. | ||
allOf: | ||
- $ref: /schemas/types.yaml#/definitions/uint32 | ||
- minimum: 0 | ||
- maximum: 80 | ||
|
||
offset-y: | ||
description: Same as offset, but applies only to the vertical position. | ||
Range from 0 to 80, only supported by evervision,ev-ft5726 devices. | ||
allOf: | ||
- $ref: /schemas/types.yaml#/definitions/uint32 | ||
- minimum: 0 | ||
- maximum: 80 | ||
|
||
touchscreen-size-x: true | ||
touchscreen-size-y: true | ||
touchscreen-fuzz-x: true | ||
touchscreen-fuzz-y: true | ||
touchscreen-inverted-x: true | ||
touchscreen-inverted-y: true | ||
touchscreen-swapped-x-y: true | ||
interrupt-controller: true | ||
|
||
additionalProperties: false | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/gpio/gpio.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
i2c@00000000 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
edt-ft5x06@38 { | ||
compatible = "edt,edt-ft5406"; | ||
reg = <0x38>; | ||
interrupt-parent = <&gpio2>; | ||
interrupts = <5 IRQ_TYPE_EDGE_FALLING>; | ||
reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; | ||
wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>; | ||
}; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.