Message ID | 20181205235220.3461-4-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBQ6JUHQAKGQE7TKED4A@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f71.google.com (cartago.priv [10.11.12.1]) by cassiopea (Postfix) with ESMTPS id CBE1B2E51C0 for <linux-amarula@patchwork.amarulasolutions.com>; Thu, 6 Dec 2018 00:52:35 +0100 (CET) Received: by mail-wm1-f71.google.com with SMTP id v7sf8691880wme.9 for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 05 Dec 2018 15:52:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1544053955; cv=pass; d=google.com; s=arc-20160816; b=bsLJVxNJYaFTEvyg5JXD88NOvO/UL1cIycWRRTOPBq9U3i4JBy6qZVXvVu2RhnpUIA wfQpYnZtgNpDwxkk9vgoCYCNqg9w1bUJuJjAFyxyp/leeAeyO/M7QSZ8a2Xbpe+vwZ6T ey9pxh9+yvRRaVYFgMaVow/xTgzNv9VET4q7sxf+NenRIXhkTKuP7fGKZkUQ8EqN1Sqo a+9wP3tILxCFEVb43okLFYUxC6YwzEIaiAR7eXdF271eo1AJfu935jGXCKbQOn/tSDjJ iP7rh4yFP9VdLPaJBvjnqQ0c7QSVa6XxmdnTJcZTk2znzTnheuhCYR/izNZUs8CKssNE RQcw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=al5p6J+IXq07JJbJ8z3BhRpw1vY72Jm+LA+y8PImFhY=; b=TD26xktOXgqbgc1xMoYgFIlhz4FVpPI5gWcgIf8Gty6bmXFDak7dc1rE6nPLW2snr8 SAWzzeW0CCtm39itVFwkjjeHUPCPIJpFcN+sZaBDOgKQOHQNEb6L7BA0yVAqVvpnZgWQ Pbc/N1OA6dgW3KriBS3X/OD4ySOmiVAg8HOu855W02aMbI8p2whf1QkUXfQ//9n6fu7F lm5o36O/LjhMWHXUvEhUjVFoJtu5Zoxk3OpGnEvSi/+81mDEuV1ENqeJZHt8KxGDMtnR 3vilhYdjyOqeWWA8xwaOMG+i4dLlhGMafrYp1xqxnScYui5nY7CHuMENDoG3ApJVl0qd 0a5A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iWwODtGL; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=al5p6J+IXq07JJbJ8z3BhRpw1vY72Jm+LA+y8PImFhY=; b=MgShWpkKUk9UdFmGJZAR/Hc4MWbGWfc9nGPMj9ptxKrs490iqm4s+t6dTA2kdVfnf/ PQhlQOzsOsEpSCqUANecVTAnmYHoXhfMR8B7tmCyXZoO7hVUL6ZJHSGW9456RSMwKUdf H+3Jj8kau+k8/fe6TjtbAkSClw/mnZbKPbKcg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=al5p6J+IXq07JJbJ8z3BhRpw1vY72Jm+LA+y8PImFhY=; b=N887emXM5+VRA7vkr/rzyeCHMn+49n7dRURhWwDWssjIwmSg/YU2BMApsX+KKtbikC zR9e21yG1lK4Kk2Pkj05sKLZoCNq9BEmp1gmbMvovQS8KCV/CIxmcMBMalp4DAtMsC36 F9S4r/ZApjPgeEpxUGNkKcUdfnr9qAebgxvNAdAHYl5y4o1ooJSWnB2+aGlcCKXQKj+Y sAcWVlkPjKanf4KpqQtUus2opxpxgzQpdWQSNXYdWeciBQ/+Gz8mtsWiE9p9zdnGoPIr H4+wfBIvkJRLq5A2HuDE1E0sT+TtPWMalTmGBd1Nly97cpBhSXUCt4+Wck4hCrXDLz40 J14Q== X-Gm-Message-State: AA+aEWZgedypf43Rtxh8ZQWkJOOkA3mVTgynZjxcAklx67DI923m3cSQ y7qtyX50hp6Y1chvFTPRYSAhmlRF X-Google-Smtp-Source: AFSGD/XbC5yWcMKFL/7+M4nQ9zhOiGWaoKZUHCksZiRV31cm0PESANVCcUWPKblQfttU46mIKmIl5A== X-Received: by 2002:a7b:c188:: with SMTP id y8mr651980wmi.19.1544053955422; Wed, 05 Dec 2018 15:52:35 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:adf:b6ac:: with SMTP id j44ls6656843wre.13.gmail; Wed, 05 Dec 2018 15:52:35 -0800 (PST) X-Received: by 2002:a5d:52ca:: with SMTP id r10mr24003773wrv.123.1544053955001; Wed, 05 Dec 2018 15:52:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544053954; cv=none; d=google.com; s=arc-20160816; b=mS5YXH1mckRooegSjXC2gdyi5oT9LRHd6MN0H7oomn5ysfYC6hRbyMNi02671uaLyj +5EOADjAmXKOVK5xrp7VOpmuz2f20j3VIpF0tMmqz+qanMf5lswlvWR+ZXWa7WtYukJB Nk17TspIPuyoEmHGkbR+10Az6/bMQOtODRxAr9nuvNuNwyM5pe5mV6/JSR7751cYhpq7 VnmBnQszbPI88h38RdUtliz0HYJyMZQNyFUXvCEMSmGRHUEfteLfS5SXpvhAxGQoCja7 uOUzsZAN8RmUAcofzTWRLmcmCImc4dxHZW6wiOultiQTdmQgJCxIFlK+Qcb9XADqfom7 16zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=al5p6J+IXq07JJbJ8z3BhRpw1vY72Jm+LA+y8PImFhY=; b=NYbmksH7VlgQcTW8ULQy18ubPJx8eZtp7YgFdkEAOGqoVMkMxvHb3y7epOP94bqZHA 7UABo3u3l4lc8B0k8t/Y2wb1r7DdiiYuDb8Z4unjwYFTFvWVSZv0Ay+MgWXde6nteeVP FXN6tySFgo+nelxKiqZni7l8N48Qc2o55rCmHEkc6HJwPyFvOVnLCXEdmwxc8C8WL2kV L4GTH3rUsUQNbD7kgfzsEOg5nJ01FFct81zzjwx93Hs5KnkDvXr+25hSPLbNENkz6ZCp ew1ygdRy5jbM/vFAQOc5ifqgmgpViHNnQLEVAGYda186OIYZEl65HdJ076j/kyxVxs8X dy4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iWwODtGL; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id h140-v6sor10075672wma.16.2018.12.05.15.52.34 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Wed, 05 Dec 2018 15:52:34 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a1c:b94b:: with SMTP id j72mr17615353wmf.11.1544053954594; Wed, 05 Dec 2018 15:52:34 -0800 (PST) Received: from localhost.localdomain (ip-161-243.sn-213-198.clouditalia.com. [213.198.161.243]) by smtp.gmail.com with ESMTPSA id x15sm19113324wrs.27.2018.12.05.15.52.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Dec 2018 15:52:33 -0800 (PST) From: Jagan Teki <jagan@amarulasolutions.com> To: Dmitry Torokhov <dmitry.torokhov@gmail.com>, Chen-Yu Tsai <wens@csie.org>, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Trimarchi <michael@amarulasolutions.com>, linux-amarula@amarulasolutions.com Cc: Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v2 4/4] Input: goodix - Add GT5663 CTP support Date: Thu, 6 Dec 2018 05:22:20 +0530 Message-Id: <20181205235220.3461-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181205235220.3461-1-jagan@amarulasolutions.com> References: <20181205235220.3461-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iWwODtGL; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related | show |
diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index 7371f6946098..735ab8e246b6 100644 --- a/drivers/input/touchscreen/goodix.c +++ b/drivers/input/touchscreen/goodix.c @@ -218,6 +218,7 @@ static const struct goodix_chip_data *goodix_get_chip_data(u16 id) { switch (id) { case 1151: + case 5663: return >1x_chip_data; case 911: @@ -965,6 +966,7 @@ MODULE_DEVICE_TABLE(acpi, goodix_acpi_match); #ifdef CONFIG_OF static const struct of_device_id goodix_of_match[] = { { .compatible = "goodix,gt1151" }, + { .compatible = "goodix,gt5663" }, { .compatible = "goodix,gt911" }, { .compatible = "goodix,gt9110" }, { .compatible = "goodix,gt912" },
GT5663 is capacitive touch controller with customized smart wakeup gestures. Add support for it by adding compatible and supported chip data. The chip data on GT5663 is similar to GT1151, like - config data register has 0x8050 address - config data register max len is 240 - config data checksum has 16-bit Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- Changes for v2: - add chipdata drivers/input/touchscreen/goodix.c | 2 ++ 1 file changed, 2 insertions(+)