Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.9 43 lines 1.1 kB view raw
1Device tree bindings for Goodix GT9xx series touchscreen controller 2 3Required properties: 4 5 - compatible : Should be "goodix,gt911" 6 or "goodix,gt9110" 7 or "goodix,gt912" 8 or "goodix,gt927" 9 or "goodix,gt9271" 10 or "goodix,gt928" 11 or "goodix,gt967" 12 - reg : I2C address of the chip. Should be 0x5d or 0x14 13 - interrupt-parent : Interrupt controller to which the chip is connected 14 - interrupts : Interrupt to which the chip is connected 15 16Optional properties: 17 18 - irq-gpios : GPIO pin used for IRQ. The driver uses the 19 interrupt gpio pin as output to reset the device. 20 - reset-gpios : GPIO pin used for reset 21 22 - touchscreen-inverted-x : X axis is inverted (boolean) 23 - touchscreen-inverted-y : Y axis is inverted (boolean) 24 - touchscreen-swapped-x-y : X and Y axis are swapped (boolean) 25 (swapping is done after inverting the axis) 26 27Example: 28 29 i2c@00000000 { 30 /* ... */ 31 32 gt928@5d { 33 compatible = "goodix,gt928"; 34 reg = <0x5d>; 35 interrupt-parent = <&gpio>; 36 interrupts = <0 0>; 37 38 irq-gpios = <&gpio1 0 0>; 39 reset-gpios = <&gpio1 1 0>; 40 }; 41 42 /* ... */ 43 };