Linux Input/HID development
 help / color / mirror / Atom feed
From: Lukas Timmermann <linux@timmermann.space>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
	"Lukas Timmermann" <foss@timmermann.space>
Cc: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
	"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>,
	"André Draszik" <andre.draszik@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
Subject: Re: [PATCH 2/7] Input: s6sy761 - split into core and I2C modules
Date: Mon, 19 Oct 2026 16:14:27 +0200	[thread overview]
Message-ID: <atYkR_nJnsKtTTE-@archstation> (raw)
In-Reply-To: <asy92cwqv8Xjc2PX@monoceros>

On Mon, Oct 12, 2026 at 01:04:36PM +0200, Uwe Kleine-König wrote:
> On Sun, Oct 11, 2026 at 02:44:57PM +0200, Lukas Timmermann wrote:
> 
> Please don't add new usages of <linux/mod_devicetable.h>. <linux/i2c.h>
> is enough to get the definition of of_device_id and i2c_device_id.
> 
> I didn't look into the other patches of this series in detail, but I
> suspect that the same holds true in your spi patch. <linux/spi/spi.h>
> provides of_device_id and spi_device_id, so don't add
> <linux/mod_devicetable.h> there either.
> 
> (If you want to go full iwyu, use the subsystem specific headers below
> linux/device-id/.
> 

I see. I found some mails from you in regards to that topic. Thanks for
explaining.

> > +static const struct of_device_id s6sy761_of_match[] = {
> > +	{ .compatible = "samsung,s6sy761", },
> > +	{ },
> 
> No trailing comma after the list terminator please.
> 

Noted.

> > +};
> > +MODULE_DEVICE_TABLE(of, s6sy761_of_match);
> > +
> > +static const struct i2c_device_id s6sy761_id[] = {
> > +	{ "s6sy761" },
> 
> please make this: { .name = "s6sy761" }
> 
> Best regards
> Uwe

Thank you. I will include your findings in v2.

Best regards
Lukas

  reply	other threads:[~2026-10-19 14:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-11 12:44 [PATCH 0/7] Input: s6sy761 - add SPI support for the S6SY791 Lukas Timmermann
2026-10-11 12:44 ` [PATCH 1/7] dt-bindings: input: touchscreen: samsung,s6sy761: Add S6SY791 and reset GPIO Lukas Timmermann
2026-10-11 12:53   ` sashiko-bot
2026-10-12 11:30   ` Krzysztof Kozlowski
2026-10-19 14:17     ` Lukas Timmermann
2026-10-11 12:44 ` [PATCH 2/7] Input: s6sy761 - split into core and I2C modules Lukas Timmermann
2026-10-11 12:57   ` sashiko-bot
2026-10-12 11:04   ` Uwe Kleine-König
2026-10-19 14:14     ` Lukas Timmermann [this message]
2026-10-11 12:44 ` [PATCH 3/7] Input: s6sy761 - add reset GPIO support Lukas Timmermann
2026-10-11 12:58   ` sashiko-bot
2026-10-11 12:44 ` [PATCH 4/7] Input: s6sy761 - add SPI support for S6SY791 Lukas Timmermann
2026-10-11 13:02   ` sashiko-bot
2026-10-11 12:45 ` [PATCH 5/7] arm64: dts: exynos: gs101-pixel-common: add labels for touchscreen supplies Lukas Timmermann
2026-10-11 12:45 ` [PATCH 6/7] arm64: dts: exynos: gs101-raven: add S6SY791 touchscreen Lukas Timmermann
2026-10-11 12:45 ` [PATCH 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=atYkR_nJnsKtTTE-@archstation \
    --to=linux@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 \
    --cc=u.kleine-koenig@baylibre.com \
    /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