forked from shenki/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: - update the ili210x touchscreen driver, refreshing the code and adding support for ILI251X line - add support for st1633 to the st1232 touchscreen driver - add support for sx8650 to the the sx8654 touchscreen driver - add support for Evervision FT5726 to the edt-ft5x06 touchscreen driver - add support for gt5688 to the Goodix touchscreen driver - new vibrator driver for MSM SOCs - miscellaneous fixes for the rest of input drivers * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (53 commits) Input: wacom_serial4 - add support for Wacom ArtPad II tablet Input: elan_i2c - add id for touchpad found in Lenovo s21e-20 Input: raspberrypi-ts - select CONFIG_INPUT_POLLDEV Input: msm-vibrator - use correct gpio header Input: ti_am335x_tsc - remove set but not used variable 'tscadc_dev' Input: i8042 - rework DT node name comparisons Input: goodix - print values in case of inconsistencies Input: goodix - refer to touchscreen.txt in device tree bindings Input: goodix - support Goodix gt5688 Input: synaptics_i2c - remove redundant spinlock Input: db9 - mark expected switch fall-through Input: qt2160 - remove redundant spinlock Input: st1232 - handle common DT bindings Input: ims-pcu - switch to using brightness_set_blocking() Input: st1232 - switch to gpiod API Input: ili210x - fetch touchscreen geometry from DT Input: msm-vibrator - tweak an error message Input: tm2-touchkey - acknowledge that setting brightness is a blocking call Input: stmfts - acknowledge that setting brightness is a blocking call Input: ili210x - switch to using devm_device_add_group() ...
- Loading branch information
Showing
33 changed files
with
1,207 additions
and
367 deletions.
There are no files selected for viewing
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
25 changes: 25 additions & 0 deletions
25
Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt
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,25 @@ | ||
Ilitek ILI210x/ILI251x touchscreen controller | ||
|
||
Required properties: | ||
- compatible: | ||
ilitek,ili210x for ILI210x | ||
ilitek,ili251x for ILI251x | ||
|
||
- reg: The I2C address of the device | ||
|
||
- interrupts: The sink for the touchscreen's IRQ output | ||
See ../interrupt-controller/interrupts.txt | ||
|
||
Optional properties for main touchpad device: | ||
|
||
- reset-gpios: GPIO specifier for the touchscreen's reset pin (active low) | ||
|
||
Example: | ||
|
||
touchscreen@41 { | ||
compatible = "ilitek,ili251x"; | ||
reg = <0x41>; | ||
interrupt-parent = <&gpio4>; | ||
interrupts = <7 IRQ_TYPE_EDGE_FALLING>; | ||
reset-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>; | ||
}; |
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,36 @@ | ||
* Device tree bindings for the Qualcomm MSM vibrator | ||
|
||
Required properties: | ||
|
||
- compatible: Should be one of | ||
"qcom,msm8226-vibrator" | ||
"qcom,msm8974-vibrator" | ||
- reg: the base address and length of the IO memory for the registers. | ||
- pinctrl-names: set to default. | ||
- pinctrl-0: phandles pointing to pin configuration nodes. See | ||
Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | ||
- clock-names: set to pwm | ||
- clocks: phandle of the clock. See | ||
Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
- enable-gpios: GPIO that enables the vibrator. | ||
|
||
Optional properties: | ||
|
||
- vcc-supply: phandle to the regulator that provides power to the sensor. | ||
|
||
Example from a LG Nexus 5 (hammerhead) phone: | ||
|
||
vibrator@fd8c3450 { | ||
reg = <0xfd8c3450 0x400>; | ||
compatible = "qcom,msm8974-vibrator"; | ||
|
||
vcc-supply = <&pm8941_l19>; | ||
|
||
clocks = <&mmcc CAMSS_GP1_CLK>; | ||
clock-names = "pwm"; | ||
|
||
enable-gpios = <&msmgpio 60 GPIO_ACTIVE_HIGH>; | ||
|
||
pinctrl-names = "default"; | ||
pinctrl-0 = <&vibrator_pin>; | ||
}; |
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
8 changes: 6 additions & 2 deletions
8
Documentation/devicetree/bindings/input/touchscreen/sitronix-st1232.txt
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
10 changes: 9 additions & 1 deletion
10
Documentation/devicetree/bindings/input/touchscreen/sx8654.txt
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 |
---|---|---|
@@ -1,15 +1,23 @@ | ||
* Semtech SX8654 I2C Touchscreen Controller | ||
|
||
Required properties: | ||
- compatible: must be "semtech,sx8654" | ||
- compatible: must be one of the following, depending on the model: | ||
"semtech,sx8650" | ||
"semtech,sx8654" | ||
"semtech,sx8655" | ||
"semtech,sx8656" | ||
- reg: i2c slave address | ||
- interrupts: touch controller interrupt | ||
|
||
Optional properties: | ||
- reset-gpios: GPIO specification for the NRST input | ||
|
||
Example: | ||
|
||
sx8654@48 { | ||
compatible = "semtech,sx8654"; | ||
reg = <0x48>; | ||
interrupt-parent = <&gpio6>; | ||
interrupts = <3 IRQ_TYPE_EDGE_FALLING>; | ||
reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; | ||
}; |
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
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.