From: Felipe Balbi <balbi@kernel.org>
To: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: Dmitry Antipov <daantipov@gmail.com>,
Jiri Kosina <jikos@kernel.org>,
"open list:HID CORE LAYER" <linux-input@vger.kernel.org>,
jeff.glaum@microsoft.com, Dmitry Antipov <dmanti@microsoft.com>
Subject: Re: [PATCH] HID: Support Microsoft Surface Duo SPI-based touch controller driver as a module.
Date: Thu, 12 Aug 2021 20:13:23 +0300 [thread overview]
Message-ID: <87lf56inxm.fsf@kernel.org> (raw)
In-Reply-To: <CAO-hwJK1Jt+T_ZsvPj0=+hEt3XnALfnkmB++Kdk7bZV9FgE0Cg@mail.gmail.com>
Hi Benjamin,
Benjamin Tissoires <benjamin.tissoires@redhat.com> writes:
> Hi Dmitry,
>
> On Thu, Aug 12, 2021 at 2:13 AM Dmitry Antipov <daantipov@gmail.com> wrote:
>>
>> Surface Duo uses a touch digitizer that communicates to the main SoC via SPI
>> and presents itself as a HID device. This patch contains the changes needed
>> for the driver to work as a module: HID Core affordances for SPI devices,
>> addition of the new Device IDs, and a new quirk in hid-microsoft. The driver
>> itself is being prepared for a submission in the near future.
>>
>> Signed-off-by: Dmitry Antipov dmanti@microsoft.com
>
> Though I really appreciate seeing a microsoft.com submission, the
> commit description makes me wonder if we should not postpone the
> inclusion of this patch with the "submission in the near future".
>
> AFAIK, HID is not SPI aware. So basically, we are introducing dead
> code in the upstream kernel if we take this patch.
Right, unfortunately spec isn't public yet (albeit having products
shipped using it and a driver available in a public tree somewhere I
couldn't find).
I _do_ have one question though:
Is there a way to tell hid core that $this device wants hidraw? If we
remove the hid-microsoft changes, hid-generic will pick the device as
expected, but this really needs hidraw. Any hints?
--
balbi
next prev parent reply other threads:[~2021-08-12 17:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-12 0:12 [PATCH] HID: Support Microsoft Surface Duo SPI-based touch controller driver as a module Dmitry Antipov
2021-08-12 5:04 ` Felipe Balbi
2021-08-12 16:47 ` Benjamin Tissoires
2021-08-12 17:13 ` Felipe Balbi [this message]
2021-08-12 17:23 ` Benjamin Tissoires
2021-08-12 21:01 ` Dmitry Antipov
2021-08-13 5:09 ` Felipe Balbi
2021-08-13 8:11 ` Benjamin Tissoires
2021-08-13 8:55 ` Felipe Balbi
2021-08-13 10:04 ` Benjamin Tissoires
2021-08-15 6:18 ` Felipe Balbi
2021-08-13 7:53 ` Benjamin Tissoires
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=87lf56inxm.fsf@kernel.org \
--to=balbi@kernel.org \
--cc=benjamin.tissoires@redhat.com \
--cc=daantipov@gmail.com \
--cc=dmanti@microsoft.com \
--cc=jeff.glaum@microsoft.com \
--cc=jikos@kernel.org \
--cc=linux-input@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;
as well as URLs for NNTP newsgroup(s).