Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lukas Timmermann <lukas@timmermann.space>
To: "André Draszik" <andre.draszik@linaro.org>,
	"Lukas Timmermann" <foss@timmermann.space>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Andi Shyti <andi.shyti@kernel.org>,
	Peter Griffin <peter.griffin@linaro.org>,
	Tudor Ambarus <tudor.ambarus@linaro.org>,
	Alim Akhtar <alim.akhtar@samsung.com>,
	linux-input@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>
Subject: Re: [PATCH v2 2/7] Input: s6sy761 - split into core and I2C modules
Date: Wed, 2 Dec 2026 19:15:02 +0100	[thread overview]
Message-ID: <65f2dbe8-b582-4e84-bced-7fe02bb56938@timmermann.space> (raw)
In-Reply-To: <ff91db46fb6a98d3f600f1e7553d544416318554.camel@linaro.org>


[-- Attachment #1.1.1: Type: text/plain, Size: 936 bytes --]

Hi André,

thank you for the kind words. I love to help out if possible.

Am 30.11.26 um 10:57 schrieb André Draszik:

>> Would the driver benefit from using regmap instead of
>> hand-rolled transport accessors?
> 
> For an example (there are others of course), commits 5338709089b7 680ef57915db
> did a similar split into transport and common code.

I looked at both of your commits.

At first, I tried to do this patch with regmap as I thought it would be 
cleaner. But the touchscreen isn't really register based but works on 
single commands. As far as I understood it, regmap has features like 
caching, bitwise operations and handles IRQs in conjunction with 
registers. So on second thought I kept the transport code and just did 
the split.

But I have to say I'm still learning when it comes to kernel 
development, so any advice is always welcome. :-)

Greetings
Lukas

> 
> Cheers,
> Andre'


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 4807 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2026-12-02 18:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 13:51 [PATCH v2 0/7] Input: s6sy761 - add SPI support for the S6SY791 Lukas Timmermann
2026-11-28 13:51 ` [PATCH v2 1/7] dt-bindings: input: touchscreen: samsung,s6sy761: Add S6SY791 and reset GPIO Lukas Timmermann
2026-11-28 13:51 ` [PATCH v2 2/7] Input: s6sy761 - split into core and I2C modules Lukas Timmermann
2026-11-30  4:12   ` Dmitry Torokhov
2026-11-30  9:57     ` André Draszik
2026-12-02 18:15       ` Lukas Timmermann [this message]
2026-11-28 13:51 ` [PATCH v2 3/7] Input: s6sy761 - add reset GPIO support Lukas Timmermann
2026-11-28 13:51 ` [PATCH v2 4/7] Input: s6sy761 - add SPI support for S6SY791 Lukas Timmermann
2026-11-28 13:51 ` [PATCH v2 5/7] arm64: dts: exynos: gs101-pixel-common: add labels for touchscreen supplies Lukas Timmermann
2026-11-28 13:51 ` [PATCH v2 6/7] arm64: dts: exynos: gs101-raven: add S6SY791 touchscreen Lukas Timmermann
2026-11-28 13:51 ` [PATCH v2 7/7] MAINTAINERS: add entry for Samsung S6SY761 touchscreen driver Lukas Timmermann

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=65f2dbe8-b582-4e84-bced-7fe02bb56938@timmermann.space \
    --to=lukas@timmermann.space \
    --cc=alim.akhtar@samsung.com \
    --cc=andi.shyti@kernel.org \
    --cc=andre.draszik@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=foss@timmermann.space \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=peter.griffin@linaro.org \
    --cc=robh@kernel.org \
    --cc=tudor.ambarus@linaro.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