Received: by 10.223.164.202 with SMTP id h10csp1980591wrb; Thu, 16 Nov 2017 07:30:01 -0800 (PST) X-Google-Smtp-Source: AGs4zMaRIHlVDAxaX562XnLPaNHVnC83Qx1jD2cJ80YtWocPFo6W008rrZ63YjmjCrIZcBC96nsD X-Received: by 10.84.178.4 with SMTP id y4mr2035847plb.266.1510846201650; Thu, 16 Nov 2017 07:30:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510846201; cv=none; d=google.com; s=arc-20160816; b=oiPBlneNhIiXYLt17RNBxsftQioe2ULZn0/yls2CnDdlzpr0VpgqilK+XxZnUDo3DO R9hLhDOZvNJWsngN+H3c824ZuM2aFyGqTJ0pvQy0FykZYpvUm/bUuatjbT5Kl+LpWIxW h69oBLwcGLJncsw/1OhMxElz4HMWZHGedOGsoLcDSwDglCJWS2+isGnjHTj8kKyHihZ4 9OosoFLwyOfUheZd6tlm4rO5ZzPuvm9muCBMnaocZjXZGWAVf9kiGOCCjgf1pMs9UvUR aGct/LaH+PaI2tmQgJ5HTBkl21uM06oo2DcDaNkMry5xphXV+xCCfPAv01Jx1GIw3xHd bQAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=m00BoIDBtvDLwpRu3bUN5ZnTATVnVDY3vZwLDJdMJr8=; b=CVLQSzBb0rLhLMnFhZm9oJ96ts9WORlSVf6L1PwATxES9ze9kWqOfq8f4uQUxJMat7 vfE0dRdsz4VcfiMhKiRi+vU4bNlITzxBaIKO+mh1MPM74hjvFedWm5kc6IPRagZVClYM 0DvJ9RcWYGL+lIxsttLXF5yunJuis0T0iQb0aaXlNbruT976ZoOPVmmzIBJqa/LVVnIK Plqvcf7X3+O2av9zFO/bWebSk4ED61fv0+fCPDu5WXx6zmDl9nltLQxc0e8s5tx5EHPn 3M52o5hPEvuYYCFN+SXR5+lWqqgN+dYlGutHx5JjYyXd3FC1wmXsAr7adzX4V39tlrTr DIWg== 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 l7si1015659pgs.719.2017.11.16.07.29.48; Thu, 16 Nov 2017 07:30:01 -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; 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 S934888AbdKPNf0 (ORCPT + 91 others); Thu, 16 Nov 2017 08:35:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:35844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932663AbdKPNfU (ORCPT ); Thu, 16 Nov 2017 08:35:20 -0500 Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com [209.85.216.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2888E214EE; Thu, 16 Nov 2017 13:35:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2888E214EE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh+dt@kernel.org Received: by mail-qt0-f169.google.com with SMTP id 31so42594561qtz.9; Thu, 16 Nov 2017 05:35:20 -0800 (PST) X-Gm-Message-State: AJaThX5blqc9qRB88pNPr79f56Wq/AFyeuFoSdlWOwk7WgfTm9P1gu0A Ujj+urZd9F52AfzejThxv9050zjsz8HGPkDsrg== X-Received: by 10.55.141.3 with SMTP id p3mr2412635qkd.210.1510839319389; Thu, 16 Nov 2017 05:35:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.194.73 with HTTP; Thu, 16 Nov 2017 05:34:58 -0800 (PST) In-Reply-To: <20171019071728.6635-1-hdegoede@redhat.com> References: <20171019071728.6635-1-hdegoede@redhat.com> From: Rob Herring Date: Thu, 16 Nov 2017 07:34:58 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/2] Input: silead - Add support for capactive home button found on some x86 tablets To: Hans de Goede Cc: Dmitry Torokhov , Benjamin Tissoires , Darren Hart , Andy Shevchenko , Gregor Riepl , "linux-input@vger.kernel.org" , platform-driver-x86@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 19, 2017 at 2:17 AM, Hans de Goede wrote: > On some x86 tablets with a silead touchscreen the windows logo on the > front is a capacitive home button. Touching this button results in a touch > with bits 12-15 of the Y coordinates set, while normally only the lower 12 > are used. > > Detect this and report a KEY_LEFTMETA press when this happens. Note for > now we only respond to the Y coordinate bits 12-15 containing 0x01, on some > tablets *without* a capacative button I've noticed these bits containing capacitive > 0x04 when crossing the edges of the screen. > > Cc: Rob Herring > Signed-off-by: Hans de Goede > --- > Changes in v2: > -Only enable support for the home-button if a "silead,home-button" > boolean device-property is set on the device > > Changes in v3: > -Document the new silead,home-button property in: > Documentation/devicetree/bindings/input/touchscreen/goodix.txt > --- > .../bindings/input/touchscreen/silead_gsl1680.txt | 2 + Acked-by: Rob Herring > drivers/input/touchscreen/silead.c | 46 ++++++++++++++++------ > 2 files changed, 37 insertions(+), 11 deletions(-) From 1581669473522036627@xxx Thu Oct 19 07:19:13 +0000 2017 X-GM-THRID: 1581669473522036627 X-Gmail-Labels: Inbox,Category Forums