Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp7087640ybf; Fri, 6 Mar 2020 10:06:37 -0800 (PST) X-Google-Smtp-Source: ADFU+vuiJFAAWaGG3iM65mZoXoBnIPR1hSyitHzbLYcwK+x1F7ftkJ3X276Y2CGjlR2W+HpmVxSl X-Received: by 2002:aca:4843:: with SMTP id v64mr3406378oia.13.1583517997288; Fri, 06 Mar 2020 10:06:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583517997; cv=none; d=google.com; s=arc-20160816; b=Y6KmwVTeqNJnNQgOD/2J/X+Ca6c+rCygffGNiUWtZLo4uapGw9Q81og3FgNcSwupV1 2+AjhAQGz5zu415jJGXZDLWIwceu8niq4r7A4feHz3K80mt8b1SSWcOGlX7iEarMsfNM hLhINmkYS0HE8/sAIacE75Cc/5dkGZee9LaHWqpK6ziLcR9KWUWIxRZPKw/KWbxdpuOu ij+hAHk7mS/HxsSoYnI8hG6qrucgt4/WbzF5HmOSweCvKoD85K468r9Mf0RB9gBGxcmf ET30RLycKG5cxQ38GjJWMFm7ZSMJpE3ThiXRDy8wapRF1bDlHXAJaZub4TvyX6FSNk99 nwmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UziHqWjFJ6dviuOOmNK8JN5WhevDMAOA/6piNcbDHIw=; b=Da8O6VYL+o+eXW8stJVPJicnF77s74s50K5vBJB+VOPG5MB28BFAZW/L1LWedL5QPn NjswBcDIcZVNi6Es+bkud58IA8a8VrcavmDa/x1Mxz2sKlaNVg+ecn1OR+dbiEZ6yRGX UApBXAtyZBj/XFuODEsiaVbpTwlWQaHgNW2oR6aessk7uCFNaP4NiMBSlTbmJVcQHYGv Qtlij4FuJl87ux5FyczA/K6M+62YLNyIcbuMeV01YrZxcndqxw3WVO1zAHw7Jne8W12Z /Rmjtm0O/38HRNWrn69fdlMtm+9Gyfvxsa4MzrXdDiU791heudG1o5zkw1kriRGCt69C HKNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Lb3flTd5; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k204si66057oih.261.2020.03.06.10.06.25; Fri, 06 Mar 2020 10:06:37 -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=@gmail.com header.s=20161025 header.b=Lb3flTd5; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726194AbgCFSFk (ORCPT + 99 others); Fri, 6 Mar 2020 13:05:40 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:51070 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725935AbgCFSFk (ORCPT ); Fri, 6 Mar 2020 13:05:40 -0500 Received: by mail-pj1-f65.google.com with SMTP id nm6so1385023pjb.0; Fri, 06 Mar 2020 10:05:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=UziHqWjFJ6dviuOOmNK8JN5WhevDMAOA/6piNcbDHIw=; b=Lb3flTd5Jr/nNF03mi0ctFHUNEQfwNZidnVwDcMWUYMNeBQyob1RcSaxATmycXdWiq NvIZCCjV8MBnE2uBIkdkElpwIvVxckoIfgWHqXZ///nG4JAoKfYFLcULVwvi7q3DlSF3 aZmQShoY4leujkVLzwncDm3SijQrn/jCqvwsyUH5AOqnPBnb7jO4kid5kbwplo3/7G0H ANzEoxegQmin+yPhvjWfppm9T8/Og5ofksC+pnVmXGwwJoyp1btbCYyIRvAC+yoch9vR ouj8Y+zu+15Yx32RGejeb1B8gSerSP2hS4qIyyDLHQvw9xttqPs5MLiHmIs8SZ3nCzPD 5Iaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=UziHqWjFJ6dviuOOmNK8JN5WhevDMAOA/6piNcbDHIw=; b=XNDT7eGH6Pta3wyQEPujoOd7bKGvPpvoLb0WJG8cfaMQDYWumn5U+lvNwmE6ZzinNy hgAkUOR8ZGRtDlkiynHLi6V7DV+JfwkYiIynnbzlwWUgycV4JAq3V0W/3ZRE7+5UmPe0 FhtV2+6ANIZtM5VVM/H0kfJrFWevX0R2F54hLH3WMDUmEBCyxOotyVUw9rZGzB0lFaFe Zj1uUzxHiHDQVqvHttKi4MWlWNwwK/GOK7vaPZS0MQFiOBWea8EWqvTM0/eQLRkCyiRI NSMY8CtnVZ1QDc0xRn1nA/9K7UK9LojJkiPS0Rkotmd1oMI4pB/LlGP/g7oRjTT6sXgs N5Pg== X-Gm-Message-State: ANhLgQ0gQwNUpWabp/gXWKCIEFm7zPyoj+0EOeH1oqZTh8s6/5loyvUG L6av07id56JBBfBNXCfEGtgw0kP8 X-Received: by 2002:a17:90a:a416:: with SMTP id y22mr4833791pjp.114.1583517939060; Fri, 06 Mar 2020 10:05:39 -0800 (PST) Received: from dtor-ws ([2620:15c:202:201:3c2a:73a9:c2cf:7f45]) by smtp.gmail.com with ESMTPSA id u126sm36342127pfu.182.2020.03.06.10.05.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2020 10:05:38 -0800 (PST) Date: Fri, 6 Mar 2020 10:05:36 -0800 From: Dmitry Torokhov To: Johnny Chuang Cc: Benjamin Tissoires , Peter Hutterer , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Johnny Chuang , Jennifer Tsai , James Chen , Paul Liang , Jeff Chuang Subject: Re: [PATCH] Input: elants_i2c - Report resolution information for touch major Message-ID: <20200306180536.GE217608@dtor-ws> References: <1582766000-23023-1-git-send-email-johnny.chuang.emc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1582766000-23023-1-git-send-email-johnny.chuang.emc@gmail.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 27, 2020 at 09:13:20AM +0800, Johnny Chuang wrote: > From: Johnny Chuang > > This patch supports reporting resolution for ABS_MT_TOUCH_MAJOR event. > This information is needed in showing pressure/width radius. > > Signed-off-by: Johnny Chuang Applied, thank you. > --- > drivers/input/touchscreen/elants_i2c.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c > index 4911799..14c577c 100644 > --- a/drivers/input/touchscreen/elants_i2c.c > +++ b/drivers/input/touchscreen/elants_i2c.c > @@ -1309,6 +1309,7 @@ static int elants_i2c_probe(struct i2c_client *client, > input_set_abs_params(ts->input, ABS_MT_PRESSURE, 0, 255, 0, 0); > input_abs_set_res(ts->input, ABS_MT_POSITION_X, ts->x_res); > input_abs_set_res(ts->input, ABS_MT_POSITION_Y, ts->y_res); > + input_abs_set_res(ts->input, ABS_MT_TOUCH_MAJOR, 1); > > error = input_register_device(ts->input); > if (error) { > -- > 2.7.4 > -- Dmitry