devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Francesco Dolcini <francesco@dolcini.it>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Emanuele Ghidoli <ghidoliemanuele@gmail.com>,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	Emanuele Ghidoli <emanuele.ghidoli@toradex.com>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	NXP Linux Team <linux-imx@nxp.com>,
	Shawn Guo <shawnguo@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Francesco Dolcini <francesco.dolcini@toradex.com>
Subject: Re: [PATCH v1] arm64: dts: colibri-imx8x: Add ad7879_ts label to touchscreen controller
Date: Tue, 17 Sep 2024 09:45:44 +0200	[thread overview]
Message-ID: <20240917074544.GA7916@francesco-nb> (raw)
In-Reply-To: <1cfe3f3a-28a3-4030-b6ba-3892a2a7bc79@linaro.org>

Hello Krzysztof,
it seems that this patch requires more explanation, maybe something
that should be part of the commit message, let's see ...

On Mon, Sep 16, 2024 at 06:10:55PM +0200, Krzysztof Kozlowski wrote:
> On 10/09/2024 17:22, Emanuele Ghidoli wrote:
> > From: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
> > 
> > The device tree defines the touchscreen controller, but it cannot be
> > enabled because it lacks a reference label.
> 
> It can be. Just enable it...

colibri-imx8x is a SoM, it's not a complete self-contained device. The
display touch controller is part of the SoM, however it is kept disabled
since you need an actual touchscreen to make any use of it.

This label would be used where an actual touchscreen is defined, this can
happen with a DT overlay, for example.

> > This commit adds a label to allow it to be referenced and enabled.
> 
> You changed here nothing. For me this patch is churn and pointless.
> You add the label when you need to use it.

DT files from the Linux kernel GIT are used also outside the Linux kernel
sources, see for example U-Boot OF_UPSTREAM [1], to me it's fair to add
a label for an out-of-tree user, am I wrong?

Francesco

[1] https://lore.kernel.org/all/20240222093607.3085545-1-sumit.garg@linaro.org/

  reply	other threads:[~2024-09-17  7:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-10 15:22 [PATCH v1] arm64: dts: colibri-imx8x: Add ad7879_ts label to touchscreen controller Emanuele Ghidoli
2024-09-16 16:10 ` Krzysztof Kozlowski
2024-09-17  7:45   ` Francesco Dolcini [this message]
2024-09-17  8:21     ` Krzysztof Kozlowski
2024-09-17 13:29       ` Francesco Dolcini
2024-10-16  7:34 ` Shawn Guo

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=20240917074544.GA7916@francesco-nb \
    --to=francesco@dolcini.it \
    --cc=devicetree@vger.kernel.org \
    --cc=emanuele.ghidoli@toradex.com \
    --cc=festevam@gmail.com \
    --cc=francesco.dolcini@toradex.com \
    --cc=ghidoliemanuele@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@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).