Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5341539ybc; Wed, 27 Nov 2019 02:32:33 -0800 (PST) X-Google-Smtp-Source: APXvYqwExV5hZriHyS2OXyAv3x3aFzUP3CR5iTmDTpSujuRN3lFSC1dCme7XZTUzYubtP0VIh//P X-Received: by 2002:a17:906:70ca:: with SMTP id g10mr47665197ejk.141.1574850753334; Wed, 27 Nov 2019 02:32:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574850753; cv=none; d=google.com; s=arc-20160816; b=FL6YvPwV/0TVoETxOuTF+BqzGpziA7P+PHcMRHMYj8L2M62pqkSz2TQgBEzHcaIOA9 Ao2yrgu34kAfEjO9QA62wasSlusm9+xOyCMDxWIwkQSU844b99jlpeFamDxOR93P6nse 4hk77qFcTvV67KGNhLbfAvPeW+APC8Hcyjs60a7p3qZpaErIxm9ma3CogZ7EVZaLnx59 ntrbjfvYEouEBKe21aFXC3/4dvvfES2+tDGW/KvcF4uyH604BfzYscX1g+I8oxfUO95X YHhHwji6c7ml7Awc1kjxiodpMCwLKsrYnFchFhej1aC9TJbcsKTayGd+Uhv/iaC0Gbh7 p42g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=NGFn1INSjiFml8tyG7QtE320FjzT4hxnP0D7Gm8LUjM=; b=UpOKzuRWNhsGAFYJTdm7eWld5NXU8y7Jr+6T7TSaQETMbDU8GYOMHwg0zyex29900Q eozVMegPl2PR2PEpqMPD7iw1IeeKSON3yr39JMitqMkFGqqagRYO6/DCWC3mDSH0req7 fgkkVHWj/JsA1a6N1c1ZOiY6x22dL0z/MaOE+C245YIaLnbmPTR7L2n8nuWyYDFXvd9w tlSG9qihaAyhSK4ryWzanMPHRCWRC5IvAzzvnfR2GIMw0EiOjzfDWSiI80l5w0l+7dTR pEX/T4HrnmtdAhcq5g4siMqOkb6Mfb9q2OKeRDMk6rt15ZfwG6S2zHGMLHnlSaWU5giO 4DsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=CHYiT5KJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dn9si2945338edb.363.2019.11.27.02.32.09; Wed, 27 Nov 2019 02:32:33 -0800 (PST) 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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=CHYiT5KJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726980AbfK0K25 (ORCPT + 99 others); Wed, 27 Nov 2019 05:28:57 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:52130 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726664AbfK0K25 (ORCPT ); Wed, 27 Nov 2019 05:28:57 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xARARSCO025133; Wed, 27 Nov 2019 11:28:54 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : mime-version : content-type : content-transfer-encoding; s=STMicroelectronics; bh=NGFn1INSjiFml8tyG7QtE320FjzT4hxnP0D7Gm8LUjM=; b=CHYiT5KJS0Tugi2Uic3ENpPMOFjtyZmwijWCu/l046fRACJXZugPjioFcf/uqHF+KCcc UheMnN7h5rfADvt9oPOixm2x3Iwegv0LGE7Fr/LYtMtQJRyZLh3l+vNc6poedJoCVSPu 4sGd6WZianXOrxmgycP+sawyxhg9T7mkK+uGqh+JeFytqzjC+Ow9Wdwk9N5ZsCBF+nLD 5ZpxpE7WlnENlBMauAKp4/jC2Fj8b/qB3qh/hhvecgmhOE7X/unXzSYWwjUYuoRtXCX3 /53tLbtIzUB5FHsV7JkofJhdGi/3pgAuc+06aky7JPusU9KjoIk+zKGrYMQDP27kjvvK TQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2whcxyb1fu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Nov 2019 11:28:53 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 150E6100039; Wed, 27 Nov 2019 11:28:50 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag6node1.st.com [10.75.127.16]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 67F582B1869; Wed, 27 Nov 2019 11:28:50 +0100 (CET) Received: from localhost (10.75.127.46) by SFHDAG6NODE1.st.com (10.75.127.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 27 Nov 2019 11:28:49 +0100 From: Yannick Fertre To: Yannick Fertre , Philippe Cornu , Benjamin Gaignard , Bastien Nocera , Dmitry Torokhov , , Subject: [PATCH] Input: goodix - support gt9147 touchpanel Date: Wed, 27 Nov 2019 11:28:46 +0100 Message-ID: <1574850526-13518-1-git-send-email-yannick.fertre@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG3NODE3.st.com (10.75.127.9) To SFHDAG6NODE1.st.com (10.75.127.16) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-27_02:2019-11-27,2019-11-27 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yannick Fertré Add support for it by adding compatible and supported chip data (default settings used). The chip data on GT9147 is similar to GT912, like - config data register has 0x8047 address - config data register max len is 240 - config data checksum has 8-bit Signed-off-by: Yannick Fertre --- drivers/input/touchscreen/goodix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index fb43aa7..b470773 100644 --- a/drivers/input/touchscreen/goodix.c +++ b/drivers/input/touchscreen/goodix.c @@ -1045,6 +1045,7 @@ static const struct of_device_id goodix_of_match[] = { { .compatible = "goodix,gt9271" }, { .compatible = "goodix,gt928" }, { .compatible = "goodix,gt967" }, + { .compatible = "goodix,gt9147",}, { } }; MODULE_DEVICE_TABLE(of, goodix_of_match); -- 2.7.4