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

ARM: dts: ccimx6ulsbcpro: Add support for Goodix touch controller

The ConnectCore 6UL SBC Pro has an AUO/Goodix LCD accessory kit that is
connected on the LVDS interface through an on-board LVDS transceiver.

This change adds support for the touch interface.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Alex Gonzalez and committed by
Shawn Guo
7ccdc892 429c4580

+19
+19
arch/arm/boot/dts/imx6ul-ccimx6ulsbcpro.dts
··· 117 117 }; 118 118 }; 119 119 120 + &i2c1 { 121 + touchscreen@14 { 122 + compatible = "goodix,gt911"; 123 + reg = <0x14>; 124 + pinctrl-names = "default"; 125 + pinctrl-0 = <&pinctrl_goodix_touch>; 126 + interrupt-parent = <&gpio5>; 127 + interrupts = <2 IRQ_TYPE_EDGE_RISING>; 128 + irq-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; 129 + status = "okay"; 130 + }; 131 + }; 132 + 120 133 &lcdif { 121 134 pinctrl-names = "default"; 122 135 pinctrl-0 = <&pinctrl_lcdif_dat0_17 ··· 300 287 fsl,pins = < 301 288 MX6UL_PAD_UART2_CTS_B__FLEXCAN2_TX 0x1b020 302 289 MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x1b020 290 + >; 291 + }; 292 + 293 + pinctrl_goodix_touch: goodixgrp{ 294 + fsl,pins = < 295 + MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x1020 303 296 >; 304 297 }; 305 298