Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2003805ima; Thu, 25 Oct 2018 08:11:16 -0700 (PDT) X-Google-Smtp-Source: AJdET5f+Xq4Vu0eoqfecEVqjzRxIlOsPH6GlzAj5B0+ugRQA17LmfjnO8MfVWsNN7MLeqBB4Z9MJ X-Received: by 2002:a62:34c5:: with SMTP id b188-v6mr1995907pfa.65.1540480276747; Thu, 25 Oct 2018 08:11:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540480276; cv=none; d=google.com; s=arc-20160816; b=oCXcpe79+76kXJbebX093MdhXXa50TQmzNOfxKbdm9LDHx0gkJkGEXDm4TawlW60mi i2NiU5CP7uBPM702DN3wiPb/tmT7lDN27IFnT5YGK9VJka4DLS6e7JCoCvgBnzKtq3rv FJaV9yXAtqHRHjwEb1KzmJ9JjDpbvbydHbGD1VccDZFxaviMQsukeHXmNkCNnzi5Z2vO Ekzp+06fVon+VkHemxGv3TadnmFwhxGYmjBKj4fsxq1fFgjXESMa7R4/CWA/dyn2+o68 12jOtmVNMzlcQm1Njqo4IicHQHKkM58CvAfxTfqc/a1uMJhrvu4Fybs44jIKEebDzaGV qY+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=sR99+r+GEdTKq5EYPnkeUvzcoL13EBPY32OVrVVa6JE=; b=IZzu1yhog/FOeIae0dGHET4pyeimaXL+8I2rm7rkx5klqvDWjXz2Uoz1H7/Aj0Jpqj FjZyvxv9A430zIsksZ2PvLxcijslbB09C5DsUZrSidm1CGn8aF0QvJ+OW/jWEv7JSbwX 6KjFFZpZNrl9QFha6++O8+qO3Ile31wJvjRN3ohHn0Z7YpYm+C51clxUQGlRGCAWgVe7 aI87g1MwRQyEHWP2mUzcNmZWNhmYJCYb8aWtyudLcjtGeAaQnXPYH/QFGoOwWuayohlc w/YSPlUZ45vF+UUwfhwtbn1EijFH9QggE4CiJxVTb9S/dXaYepCJAk1kuDpLFgy/Jqxx IL2A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11-v6si8127552plm.121.2018.10.25.08.10.39; Thu, 25 Oct 2018 08:11:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727780AbeJYXnJ (ORCPT + 99 others); Thu, 25 Oct 2018 19:43:09 -0400 Received: from mail1.bemta24.messagelabs.com ([67.219.250.3]:21912 "EHLO mail1.bemta24.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727454AbeJYXnI (ORCPT ); Thu, 25 Oct 2018 19:43:08 -0400 Received: from [67.219.250.101] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-3.bemta.az-a.us-west-2.aws.symcld.net id 2F/0C-08863-3CCD1DB5; Thu, 25 Oct 2018 15:09:55 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDKsWRWlGSWpSXmKPExsXi5LtOQPfwnYv RBgs6xS16z51ksph/5ByrxZWv79ksNm6+zWKxaupOFotNj6+xWnT9WslscXnXHDaLpdcvMlm0 7j3CbvF3+yYWixdbxC1+7prH4sDrsWbeGkaPnbPusntsWtXJ5rH92wNWj/vdx5k8Ni+p99j4b geTR/9fA4/Pm+QCOKNYM/OS8isSWDOefF3CXvCEs+Lw6z9sDYyrOLoYuTiEBFYxSrzo+8YK4W xhlOi7/xDI4eRgE9CRmLL/MAuILSKQK7H78Q6wImaBKUwSp7/tYgNJCAtESpw+sxvMZhFQlVg 67SQTiM0r4CYx7dlpsGYJATmJm+c6mUFsTgF3iStT54MtEAKqWXDpHztEvaDEyZlPwOqZBSQk Dr54wQxRoyyxZcUFRog5ChJrD5xnmsDIPwtJyywkLQsYmVYxWiQVZaZnlOQmZuboGhoY6BoaG ukaGlkAsYFeYpVuol5psW55anGJrpFeYnmxXnFlbnJOil5easkmRmBMpRQ0VOxgPLUo/RCjJA eTkihvYsrFaCG+pPyUyozE4oz4otKc1OJDjDIcHEoSvEm3gXKCRanpqRVpmTnA6IZJS3DwKIn wngNJ8xYXJOYWZ6ZDpE4x6nIsafg/nVmIJS8/L1VKnLcdpEgApCijNA9uBCzRXGKUlRLmZWRg YBDiKUgtys0sQZV/xSjOwagkzLsEZApPZl4J3KZXQEcwAR0xQ+ECyBEliQgpqQbGE4cvBj6YG coREuc1N61jm4/WR36JJ6y6svflEwI0eqwfJsuXabKrMovMeztn5uKzn1qcH3T6Vui3tYlIzp Ve0mH19A7vwiSv7/KbGyxW2p3sYnunc7ItdbPwtxKmNfGz+uIE9q4MSrV+L7rx8DwPSaFXBkb Rc5Zw3Aza8sr579OY0NK2H4eUWIozEg21mIuKEwHe9t5ALwMAAA== X-Env-Sender: Alex.Gonzalez@digi.com X-Msg-Ref: server-13.tower-325.messagelabs.com!1540480194!1345379!1 X-Originating-IP: [66.77.174.16] X-SYMC-ESS-Client-Auth: outbound-route-from=pass X-StarScan-Received: X-StarScan-Version: 9.14.24; banners=-,-,- X-VirusChecked: Checked Received: (qmail 19215 invoked from network); 25 Oct 2018 15:09:55 -0000 Received: from owa.digi.com (HELO MCL-VMS-XCH01.digi.com) (66.77.174.16) by server-13.tower-325.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 25 Oct 2018 15:09:55 -0000 Received: from DOR-SMS-XCH01.digi.com (10.49.8.99) by MCL-VMS-XCH01.digi.com (10.5.8.49) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 25 Oct 2018 10:09:53 -0500 Received: from log-linux-hp-agonzal.digi.com (10.101.2.214) by dor-sms-xch01.digi.com (10.49.8.99) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 25 Oct 2018 17:09:51 +0200 From: Alex Gonzalez To: , , , CC: , , , , , , , , , Subject: [PATCH v1 4/4] ARM: dts: ccimx6ulsbcpro: Add support for Goodix touch controller Date: Thu, 25 Oct 2018 17:09:33 +0200 Message-ID: <1540480173-12009-5-git-send-email-alex.gonzalez@digi.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1540480173-12009-1-git-send-email-alex.gonzalez@digi.com> References: <1540480173-12009-1-git-send-email-alex.gonzalez@digi.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.101.2.214] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/boot/dts/imx6ul-ccimx6ulsbcpro.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-ccimx6ulsbcpro.dts b/arch/arm/boot/dts/imx6ul-ccimx6ulsbcpro.dts index f6e6b2cf780b..3749fdda3611 100644 --- a/arch/arm/boot/dts/imx6ul-ccimx6ulsbcpro.dts +++ b/arch/arm/boot/dts/imx6ul-ccimx6ulsbcpro.dts @@ -117,6 +117,19 @@ }; }; +&i2c1 { + touchscreen@14 { + compatible = "goodix,gt911"; + reg = <0x14>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_goodix_touch>; + interrupt-parent = <&gpio5>; + interrupts = <2 IRQ_TYPE_EDGE_RISING>; + irq-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; +}; + &lcdif { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcdif_dat0_17 @@ -290,6 +303,12 @@ >; }; + pinctrl_goodix_touch: goodixgrp{ + fsl,pins = < + MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x1020 + >; + }; + pinctrl_lcdif_dat0_17: lcdifdatgrp0-17 { fsl,pins = < MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x79