-
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.
Prepare input updates for 5.1 merge window.
- Loading branch information
Showing
31 changed files
with
1,203 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.