From: Chi-Wen Weng <cwweng.linux@gmail.com>
To: Rob Herring <robh@kernel.org>
Cc: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>,
jic23@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org,
linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
cwweng@nuvoton.com
Subject: Re: [PATCH v2 1/2] dt-bindings: iio: adc: Add Nuvoton MA35D1 EADC
Date: Mon, 20 Jul 2026 11:09:35 +0800 [thread overview]
Message-ID: <5eaff736-9271-487a-a9d2-225580ff449d@gmail.com> (raw)
In-Reply-To: <CAL_Jsq+5N9AvzQ0cxUVY97Ad+CasR29Fan7sUuprDYjgqzWjMQ@mail.gmail.com>
Hi Rob,
Thank you for the clarification.
> No, document what the h/w has, not what a driver currently uses. The
> only exception I can think of here would be if only 1 interrupt pin is
> usable on a given system. Then it would be just 1 interrupt with
> interrupt-names to define which one is used.
Understood. I incorrectly based the binding on the current driver
implementation rather than the hardware resources.
MA35D1 has one EADC controller, EADC0, and all four interrupt outputs,
ADINT0
through ADINT3, are connected to separate GIC interrupt lines.
ADINT0, ADINT1 and ADINT2 are generated from the corresponding ADIF0,
ADIF1 and ADIF2 conversion interrupt flags. ADINT3 is a shared interrupt
output and can be generated by ADIF3 or by any of the ADCMPF0 through
ADCMPF3 result-compare flags.
I will therefore keep all four interrupt entries in the v3 binding and
add interrupt-names for "adint0", "adint1", "adint2" and "adint3". The
ADINT3 description will state that it is shared by the conversion and
result-compare interrupt sources.
The initial driver will continue to request and use only "adint0", but
that implementation limitation will not restrict the hardware
description in the binding.
I will also remove the redundant maxItems property because the fixed
items list already specifies the number of interrupt entries.
Thanks,
Chi-Wen
next prev parent reply other threads:[~2026-07-20 3:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-13 8:11 [PATCH v2 0/2] iio: adc: Add Nuvoton MA35D1 EADC support Chi-Wen Weng
2026-07-13 8:11 ` [PATCH v2 1/2] dt-bindings: iio: adc: Add Nuvoton MA35D1 EADC Chi-Wen Weng
2026-07-13 9:35 ` Rob Herring (Arm)
2026-07-17 0:42 ` Jonathan Cameron
2026-07-17 0:59 ` Chi-Wen Weng
2026-07-17 13:06 ` Rob Herring
2026-07-20 3:09 ` Chi-Wen Weng [this message]
2026-07-13 8:11 ` [PATCH v2 2/2] iio: adc: Add Nuvoton MA35D1 EADC driver Chi-Wen Weng
2026-07-13 11:17 ` Andy Shevchenko
2026-07-13 12:06 ` Chi-Wen Weng
2026-07-14 12:25 ` Uwe Kleine-König
2026-07-15 0:55 ` Chi-Wen Weng
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=5eaff736-9271-487a-a9d2-225580ff449d@gmail.com \
--to=cwweng.linux@gmail.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=cwweng@nuvoton.com \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=jonathan.cameron@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=robh@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