Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90CA1C43217 for ; Thu, 11 Nov 2021 10:40:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 78D5461269 for ; Thu, 11 Nov 2021 10:40:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232963AbhKKKnJ (ORCPT ); Thu, 11 Nov 2021 05:43:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232955AbhKKKnH (ORCPT ); Thu, 11 Nov 2021 05:43:07 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69B85C06127A for ; Thu, 11 Nov 2021 02:40:17 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id z34so13096502lfu.8 for ; Thu, 11 Nov 2021 02:40:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9tIx/igNKPYVIrwndCggjgpScM833Y4RL5Ah+VgOguU=; b=DimTsruqEQMoF6afspPb/WQy4ew0Vd3WE4uUd9Bcq6kQ2kby/N9oSKkMx/WMc8aGMF lwfmDXtMz9QmQrtpJWlpZS3P/k1+l+TZBhAQYqLvKU5kDenjkHerHRNJ+QBwFVchbM1k k+dnVSZzel1b8uFhnDZaSpoUvsn/fhz+g+uPEiOAXXlyO+wID55gcsp1B5dR4IX5xpFD +d3d2wGMf7NF2U6Sno4QqHQ0aYuF9ihzOhbwe9R2bjIxPn7ETuRf19qjThfxDYUQuBFW f/wiamhlhi0xgGf2ncaD5yvplDL/3Z7wmkTVSs0ea8ByocaxleBny0xsujWZTfWtyIks csEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9tIx/igNKPYVIrwndCggjgpScM833Y4RL5Ah+VgOguU=; b=ztr3KhPwD7d4K1navpM7kC/b21qMZHj+q5PWB42q4RsbpRNRKdwJLS1sHMtrGKV4Qn D0WLBDj0tO3P3JAXOu2VqFZz1cfz+E0runlBEfD5UD9iIx8WPJy0kofAtO2GzpS0Hz7M B2Lb32w9D5oByfi3JE2WEo6f0oNKdzNFNew93qAlICqcNy7tNIE8kxTT7geSeAMHgEC4 rlKzaWzUpzJWeezRUNl/EKBUVMtMe8erQcVTZR7IAYmoomWRWJiseGTuO//BrlI5+2nW BEi7cyYQnfQrSSBeFUbKcFN7QOlx405KzlHjMASRp/Qv93Gnx9vF6woUZN3PXjAEJ3EU V5Ow== X-Gm-Message-State: AOAM532tBc5kXWMXVUfIkbIkMxS0uqWEJ5xa5V25KMzEHDfVXsOYqAtF G/Fj+hLqvdVetFNo5AXjYPjmM3jjuiWCV+InnefqDw== X-Google-Smtp-Source: ABdhPJxxMnc/++Ejn4mwaEgWk7yDts/ov3C1q1UFglFDJR1j83ZeQbo+BIoKTPuhhKDDvw47Oef3D/aDqV3Dz4XMJgU= X-Received: by 2002:a05:6512:2305:: with SMTP id o5mr5308056lfu.362.1636627215652; Thu, 11 Nov 2021 02:40:15 -0800 (PST) MIME-Version: 1.0 References: <20211027181350.91630-1-nikita@trvn.ru> In-Reply-To: From: Linus Walleij Date: Thu, 11 Nov 2021 11:40:04 +0100 Message-ID: Subject: Re: [PATCH 0/6] Add touch-keys support to the Zinitix touch driver To: Nikita Travkin Cc: dmitry.torokhov@gmail.com, robh+dt@kernel.org, Michael.Srba@seznam.cz, broonie@kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 9, 2021 at 4:23 PM Nikita Travkin wrote: > [Me] > > Have you notices some behaviour like surplus touch events > > (like many press/release events fall through to the UI) > > when using this driver? I think it might need some z fuzzing > > but I am not sure. > > > > On my device (8 inch tablet with BT532) I saw no problems with touch > so far. However another person with a different tablet (10 inch with > ZT7554) > indeed says that they notice "multiplied" touches that make typing hard > so maybe that depends on controller model/firmware... It may even be depending on specimen. I saw that the vendor driver does contain some debouncing code. > And speaking of that ZT7554: Seems like it's works with the driver > and I'd like to add the compatible for it in v2 but I'd also have to add > it to the bindings. Looking at how you add all other similar names for BT* > there does it make sense to add ZT* as well? Yeah probably, if they are electrically very similar. > Maybe you have some hints where > to look for a list of the models? I usually google ... try to find things like powerpoints with roadmaps from the vendor and things like that. Best thing is if they answer to mail but I don't know if Zinitix are even around anymore. > I've noticed a yet another quirky issue with the touch controller: > At least on my device, for some reason enabling touchkeys changes the > way the > controller reports the finger touch events which breaks multi-touch... > Assuming that *not* enabling the touchkeys leads to calibration being > wrong > (controller assigns the touchkey sense lines to the touch area in that > case) > I now have to resolve this quirk as well... Hm yeah I guess refer to the (messy) vendor driver for hints. Yours, Linus Walleij