From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
To: "shawnguo@kernel.org" <shawnguo@kernel.org>
Cc: Max Krummenacher <max.krummenacher@toradex.com>,
"linux-imx@nxp.com" <linux-imx@nxp.com>,
"kernel@pengutronix.de" <kernel@pengutronix.de>,
Philippe Schenker <philippe.schenker@toradex.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"peng.fan@nxp.com" <peng.fan@nxp.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Frank.Li@nxp.com" <Frank.Li@nxp.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"festevam@gmail.com" <festevam@gmail.com>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>
Subject: Re: [PATCH v2 2/5] arm64: dts: fsl-imx8qm-device.dtsi: add io-channel-cells to adc nodes
Date: Mon, 9 Jan 2023 09:23:15 +0000 [thread overview]
Message-ID: <d125c410d022905a709d4535280c20214fd53747.camel@toradex.com> (raw)
In-Reply-To: <20230109081940.GG18301@T480>
On Mon, 2023-01-09 at 16:19 +0800, Shawn Guo wrote:
> On Mon, Jan 02, 2023 at 06:10:19PM +0100, Marcel Ziswiler wrote:
> > From: Max Krummenacher <max.krummenacher@toradex.com>
> >
> > This commit adds io-channel-cells property to the ADC nodes. This
> > property is required in order for an IIO consumer driver to work.
> > Especially required for Apalis iMX8 QM, as the touchscreen driver
> > uses ADC channels with the ADC driver based on IIO framework.
> >
> > Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
> > Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
> > Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
>
> fsl-imx8qm-device.dtsi in subject?
(;-p).
Let me fix this in a v3. Thanks!
> Shawn
Cheers
Marcel
> > ---
> >
> > (no changes since v1)
> >
> > arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-
> > dma.dtsi
> > index a943a1e2797f..6e5ef8b69bf8 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> > @@ -270,6 +270,7 @@ i2c3: i2c@5a830000 {
> >
> > adc0: adc@5a880000 {
> > compatible = "nxp,imx8qxp-adc";
> > + #io-channel-cells = <1>;
> > reg = <0x5a880000 0x10000>;
> > interrupts = <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>;
> > interrupt-parent = <&gic>;
> > @@ -284,6 +285,7 @@ adc0: adc@5a880000 {
> >
> > adc1: adc@5a890000 {
> > compatible = "nxp,imx8qxp-adc";
> > + #io-channel-cells = <1>;
> > reg = <0x5a890000 0x10000>;
> > interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
> > interrupt-parent = <&gic>;
> > --
> > 2.35.1
next prev parent reply other threads:[~2023-01-09 9:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-02 17:10 [PATCH v2 0/5] arm64: dts: freescale: prepare and add apalis imx8 support Marcel Ziswiler
2023-01-02 17:10 ` [PATCH v2 1/5] arm64: dts: freescale: imx8-ss-lsio: add support for lsio_pwm0-3 Marcel Ziswiler
2023-01-02 17:10 ` [PATCH v2 2/5] arm64: dts: fsl-imx8qm-device.dtsi: add io-channel-cells to adc nodes Marcel Ziswiler
2023-01-09 8:19 ` Shawn Guo
2023-01-09 9:23 ` Marcel Ziswiler [this message]
2023-01-02 17:10 ` [PATCH v2 3/5] arm64: dts: freescale: imx8-ss-dma: set lpspi0 max frequency to 60mhz Marcel Ziswiler
2023-01-02 17:10 ` [PATCH v2 4/5] dt-bindings: arm: fsl: add toradex,apalis-imx8 et al Marcel Ziswiler
2023-01-02 17:10 ` [PATCH v2 5/5] arm64: dts: freescale: add initial support for apalis imx8 aka quadmax Marcel Ziswiler
2023-01-09 8:40 ` 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=d125c410d022905a709d4535280c20214fd53747.camel@toradex.com \
--to=marcel.ziswiler@toradex.com \
--cc=Frank.Li@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=max.krummenacher@toradex.com \
--cc=peng.fan@nxp.com \
--cc=philippe.schenker@toradex.com \
--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
all inboxes | Powered by JetHome®