Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2193381lqt; Mon, 22 Apr 2024 04:28:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX/YlRr1MX0yjN+EQ4iV/zR3D6O5l0VjevgSMXENjDMc5eHPk7N4RwXpdHCTaR/LLjixgX6UxrUqECyYqAvw5nhE2fMM5N2rgWg/QZLgw== X-Google-Smtp-Source: AGHT+IEgVEVVjrJE/tzDH40wvGq+YTu6sRm49+QCsGsCFyy2L3JX9i7kLOiZ2CHVVHoSkSPXl8ar X-Received: by 2002:a17:906:7f0c:b0:a52:1e58:4e0f with SMTP id d12-20020a1709067f0c00b00a521e584e0fmr4952225ejr.55.1713785324773; Mon, 22 Apr 2024 04:28:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713785324; cv=pass; d=google.com; s=arc-20160816; b=vPRuchUQYhZ8caYT2GZuzn+373s4L7KzrJCrp9hPEkKSFTBN4C3R7ggDkRiqqAFlLA p51Sx4ASfszI8Q8zMlmsCEf2FReKZm+3PU7SOYi78E6cVUF7jmsUpAiIt5pM6c7cogln npeZ128LAMC4VPgMa6PGlt2KkeZwK2986OyqH0xUQRxzk0ZrMYwJQR9X8koqlekRL8G6 BHtJGwsNsEGam0JTjR6TgfzxCcXTX1YZKDZK0F8wBMPXRB1uii3dr9hZOEwuEMoTBnEU bDCGYObqa03SdavB1Sc1oqVXUfCD5twG3W/O2MsZb98bn+QWzR70uyZXbS+4qxAbZ7bU PKVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=IdP6aBlHUd1XAByP0AzLdNCgpA2tCV7wBjkJeHqJq1E=; fh=V2KjQRhl33c9K0sbQlGTrOXkILxnSvHey8FQzLJmJRo=; b=rDuhf00qvo2HUSQyNYOlFh2A9OmrbTKi038C0Iwly01R0t56n4kTs2E8kU193b6I6Y emRXrwi7Nya3BOXXOfPKvCBMQSegLyNlJpVAd4+pr8U22VY0nvSz59P+JC7mD2sRcgyZ 8weBrLUPWjcv6NO2k9qYBrPeC8yVDfYW7GDnBXBlQN8IzSi1ePmg6z3+dcRt9SXUegxk leaylPVY/rfWKw7fNZjffFSX2vL78O+mS65Wqi40YDSOhjSdjNOmpQr29Nu7KKlCdtgy MT6bT0ygFwc/T7k8KNUeSalDwrrc43zDVbW3Chdehyfn74PXfD2vC5pyca04wyDrCIgD otCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OsCdLKch; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-153289-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153289-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id qf35-20020a1709077f2300b00a56e5536994si349905ejc.461.2024.04.22.04.28.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 04:28:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153289-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OsCdLKch; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-153289-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153289-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7F7EA1F22C0F for ; Mon, 22 Apr 2024 11:28:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 762DF1465BF; Mon, 22 Apr 2024 11:28:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="OsCdLKch" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C23B146595 for ; Mon, 22 Apr 2024 11:28:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713785315; cv=none; b=Z4KlR8w6Dlrc15l5ZVv/8bqIWJYu0pbeWD4IG5tiHyUpP98RE4xGQlVwmuBzUIM59NZAFXjb2LOUwDBCNmxFNQrEb1ARfmdXtdewxnG+FoOI+V/czSVuJycJhVkzEpVPYTUQosOFmQ4c8DOyYAMrcWUnjrWga43BddVHzyzs208= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713785315; c=relaxed/simple; bh=LlC9TFfkOyKE9KBJ0ruLXt/YXgDvS60W07+SiC4G7dQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Vujfko2BDip6ms2mRxYBNKjZvNxqIukgfbBKzc0m2ZYI7r8lpTjfsCIE4IxKezncS/B4Qi02xyt0uOa6trm1rWRIQoStsjzRDoyumXG3verMkyN9kSKVyv3UlSG918DZkB9t1Nxy4xCYgvchcB4hgGusFr/RXXVCVo/kXx87T1o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=OsCdLKch; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713785313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IdP6aBlHUd1XAByP0AzLdNCgpA2tCV7wBjkJeHqJq1E=; b=OsCdLKchTpRYVLSPuF2O5uVN1aCbmgbcwcE8YSOgLv2zehuNZ+gbIbBWll5ussYLt/Mb4O WkCTxTnDonZC2oZlyDJ2TilLlxhXmHOxxkZnqhIOS0NhkQj8W9hs2Uh0RZ2dDMAkQ/bWMK I+plgp2kolhnSpgLvSHWAiuiV1j1W9c= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-564-wCZ27D8NPYCTmKuChlrV3Q-1; Mon, 22 Apr 2024 07:28:31 -0400 X-MC-Unique: wCZ27D8NPYCTmKuChlrV3Q-1 Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-a52539e4970so226278066b.1 for ; Mon, 22 Apr 2024 04:28:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713785310; x=1714390110; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IdP6aBlHUd1XAByP0AzLdNCgpA2tCV7wBjkJeHqJq1E=; b=E+1gBYPb/Fwqm1CqhVysJIhlrRYKsAzqY5i6j+tyL1RhW/ygTYhUEadIg4+Yi8YeRx 5iuQ5OTax+OhXcCD7U0DGsF6sdi7umNIzN1JjLHa3I7ztQjITbaeUFs6MhtmaWtH8sdV BnuXrGbUHmuE/tLuJUAS+FyMAaUJ2lcrfK3tOpTlOMZ5XITsR00iYfkxrRXQJYJf17W3 30B2ysFy88mrT8bPiM+17QDNmfX9ckDVXrWkihOwTSBvyjbMYcr+m/2t+QdrO6Yh6fQF oei7UpUOkGAbggCjLcU9CoCX7jpdDjKveRnbl3Fxj4grXr+wsMyGYqA2O3mJ6j+uw50X qoUA== X-Forwarded-Encrypted: i=1; AJvYcCVKFWXkCR3lOwzVXx+zp7ekLfvXLuABbxtg5DjUJQ3AXGqYYOjh/vG/nxMtP90s3zwxoEo0+XTyXoWwumLT4CqK2CQNYErn2eZ+sF0q X-Gm-Message-State: AOJu0YyAhGZH+py0jowxJJcJPzS3h9uGtgiNFmun+wNNdgI5WTYKlk8f RiXy10ZRcw8cKTSspfg9QVliAy/nuBOoSLukcQTs4AIytFcLEqItJmmaWPDRaPx6Q5Q0Er5/Cb9 +U51Xf2ld4lPzykCSK5SOvD1bvqV4swhRFnbSxIrzsU6OOXvtYNcRuBeXGsMcIg== X-Received: by 2002:a17:907:94c7:b0:a55:aee0:517 with SMTP id dn7-20020a17090794c700b00a55aee00517mr2715572ejc.30.1713785310805; Mon, 22 Apr 2024 04:28:30 -0700 (PDT) X-Received: by 2002:a17:907:94c7:b0:a55:aee0:517 with SMTP id dn7-20020a17090794c700b00a55aee00517mr2715553ejc.30.1713785310475; Mon, 22 Apr 2024 04:28:30 -0700 (PDT) Received: from [10.40.98.157] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id d13-20020a170906640d00b00a5267ee40efsm5731727ejm.18.2024.04.22.04.28.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Apr 2024 04:28:30 -0700 (PDT) Message-ID: <44b64f19-8141-4c6e-855f-d2b4e821e0c9@redhat.com> Date: Mon, 22 Apr 2024 13:28:29 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 0/4] Input: support overlay objects on touchscreens To: Gregor Riepl , Javier Carrasco Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Dmitry Torokhov , Jeff LaBundy , Conor Dooley , Bastian Hecht , Michael Riesch References: <20240422-feature-ts_virtobj_patch-v9-0-acf118d12a8a@wolfvision.net> <9d898a98-cb7d-45d8-80c2-2ef428288e6b@gmail.com> Content-Language: en-US From: Hans de Goede In-Reply-To: <9d898a98-cb7d-45d8-80c2-2ef428288e6b@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Gregor, On 4/22/24 1:22 PM, Gregor Riepl wrote: >> In order to generate proper key events by overlay buttons and adjust the >> touch events to a clipped surface, this series offers a documented, >> device-tree-based solution by means of helper functions. >> An implementation for a specific touchscreen driver is also included. > > I believe there's at least some x86 tablets that have such a layout, so maybe ACPI bindings would also make sense? Or can this be supported by your DT-based solution? > > I'm not sure if it would really be needed for existing devices, though. It's possible they were all handled by touchscreen controller firmware so far. > > Hans, do you remember if we've encountered any Silead or Goodix devices where the soft button overlay didn't work due to missing firmware support? The x86 devices with Silead or Goodix touchscreens with soft buttons which are part of the touchscreen digitizer that I know off all handle the soft buttons in firmware and do not report regular touches for the soft buttons area. So I don't think that something like this is necessary for x86 devices atm. Regards, Hans