From: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
To: Arnav Kapoor <kapoorarnav43@gmail.com>,
Conall O'Griofa <conall.ogriofa@amd.com>,
Jonathan Cameron <jic23@kernel.org>
Cc: "Salih Erim" <salih.erim@amd.com>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Michal Simek" <michal.simek@amd.com>,
"Andy Shevchenko" <andriy.shevchenko@intel.com>,
stable@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/2] dt-bindings: iio: adc: xlnx,zynqmp-ams: limit external channels to 30-50
Date: Fri, 6 Nov 2026 15:38:01 +0530 [thread overview]
Message-ID: <1f35380b-3831-4824-b9a3-c1bee134ed6f@amd.com> (raw)
In-Reply-To: <20261104164510.105359-2-kapoorarnav43@gmail.com>
On 11/4/2026 10:15 PM, Arnav Kapoor wrote:
> Channels 20 to 29 of the PL-SYSMON block are its fixed channels (PL
> temperature to VCCADC), which the driver always provides. Only channels
> 30 to 50 (the differential input, VUser0-3 and VAux0-15) are external
> channels that can be described as "channel@N" child nodes, yet the
> binding accepts any N from 20 to 50. Listing one of the fixed channels
> there only makes the driver add it a second time.
>
> Limit the child nodes to channels 30 to 50.
>
> Fixes: 39dd2d1e251d ("dt-bindings: iio: adc: Add Xilinx AMS binding documentation")
> Suggested-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
> Signed-off-by: Arnav Kapoor <kapoorarnav43@gmail.com>
> ---
Looks good to me.
Reviewed-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
Regards
Sai krishna
> .../devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml b/Documentation/devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml
> index 3ae1a0bab38f..0872f5f314c1 100644
> --- a/Documentation/devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/xlnx,zynqmp-ams.yaml
> @@ -160,17 +160,18 @@ properties:
> const: 0
>
> patternProperties:
> - "^channel@([2-4][0-9]|50)$":
> + "^channel@([34][0-9]|50)$":
> type: object
> description:
> - Describes the external channels connected.
> + Describes the external channels connected. Channels 20 to 29 are
> + always available and are not listed here.
>
> properties:
> reg:
> description:
> Pair of pins the channel is connected to. This value is
> same as Channel Number for a particular channel.
> - minimum: 20
> + minimum: 30
> maximum: 50
>
> xlnx,bipolar:
next prev parent reply other threads:[~2026-11-06 10:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 16:44 [PATCH v3 0/2] iio: adc: xilinx-ams: fix out-of-bounds accesses when parsing channels Arnav Kapoor
2026-11-04 16:45 ` [PATCH v3 1/2] dt-bindings: iio: adc: xlnx,zynqmp-ams: limit external channels to 30-50 Arnav Kapoor
2026-11-06 10:08 ` Sai Krishna Potthuri [this message]
2026-11-06 11:16 ` Krzysztof Kozlowski
2026-11-04 16:45 ` [PATCH v3 2/2] iio: adc: xilinx-ams: fix out-of-bounds accesses when parsing channels Arnav Kapoor
2026-11-06 10:10 ` Sai Krishna Potthuri
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=1f35380b-3831-4824-b9a3-c1bee134ed6f@amd.com \
--to=sai.krishna.potthuri@amd.com \
--cc=andriy.shevchenko@intel.com \
--cc=andy@kernel.org \
--cc=conall.ogriofa@amd.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=kapoorarnav43@gmail.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=michal.simek@amd.com \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
--cc=salih.erim@amd.com \
--cc=stable@vger.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®