The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: David Heidelberg <david@ixit.cz>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND] Input: rmi4 - Move sensor initialization into own function for F12
Date: Wed, 25 Nov 2026 23:00:45 -0800	[thread overview]
Message-ID: <263aac71fd9eccb3cbf3674ccdab4c20@gmail.com> (raw)
In-Reply-To: <24dccae7-71dc-4a7a-92f9-bd5e627f8063@ixit.cz>

Hi David,

On Wed, Nov 25, 2026 at 05:54:05PM +0100, David Heidelberg wrote:
> Pretty please Dmitry. I'm not asking to get same usability level as with Android
> driver, but at least small amends like making maintenance of these quirks for me
> would be really appreciated.
>
> Saying no it's also answer which would be better than silence.

Sorry for the silence. You are right that a clear "no" is better than
nothing, so let me be direct: I am going to pass on this patch.

On its own, pulling that middle block out into rmi_f12_sensor_init()
does not really improve rmi_f12_probe(). It leaves platform data
handling above it, pulls f12->data_addr into it, and leaves sensor
tuning, data descriptor parsing, tracking buffer allocation, and
rmi_2d_sensor_configure_input() below it. The split really only exists
for the hardcoded-descriptor branch in your v9 quirk series.

More importantly, I am still not happy with how the quirks in v9 are
implemented, so I will not be able to accept that series even if it is
resubmitted. As I noted in v5, v8, and the DT binding discussion, I do
not want workarounds for non-compliant knockoffs running unconditionally
on standard RMI4 hardware. In v9, the PDT filtering, hardcoded F12
descriptors, and product ID fallback still apply to all RMI4 devices
instead of being gated behind an explicit reduced-protocol mode, and we
still have not agreed on how to isolate these devices cleanly, whether
through a separate non-fallback compatible or board matching with
of_machine_compatible_match() as Krzysztof suggested.

Several other issues from earlier reviews are also still present in v9.
In v3 I asked not to hardcode a function whitelist during PDT scanning
and to use a bitmap for duplicate tracking, yet v9 still has the
hardcoded switch (which is already missing F1A and F21) and uses a bool
array. The IRQ read alignment patch shifts data->irq_status and the
other unsigned long bitmaps by one byte, leaving them unaligned. And
the PDT fallback patch reads PDT registers inside rmi_driver_of_probe()
and keys off "syna,rmi4-s3706b", which we established describes the
compliant Synaptics controller rather than an aftermarket replacement.

Until we agree on how to deal with controllers implementing a reduced
RMI4 protocol cleanly without affecting standard RMI4 devices, I do not
want to land preparatory splits tied to the v9 quirk layout.

Thanks.

-- 
Dmitry

      reply	other threads:[~2026-11-26  7:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-31 18:40 [PATCH RESEND] Input: rmi4 - Move sensor initialization into own function for F12 David Heidelberg via B4 Relay
2026-08-19 13:43 ` David Heidelberg
2026-09-18 19:26 ` David Heidelberg
2026-11-25 16:54   ` David Heidelberg
2026-11-26  7:00     ` Dmitry Torokhov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=263aac71fd9eccb3cbf3674ccdab4c20@gmail.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=david@ixit.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox