From: sashiko-bot@kernel.org
To: "Neil Armstrong" <neil.armstrong@linaro.org>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: iio: add: document the MAX34417 Four-Channel High Dynamic Range Power Accumulator
Date: Thu, 24 Sep 2026 13:20:22 +0000 [thread overview]
Message-ID: <20260924132022.D479F1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260924-topic-sm8x50-iio-max34417-adc-v2-1-9a0609e72f5c@linaro.org>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: max34417: arbitrarily restrictive minimum on shunt resistor
--
commit 3650a83bfbfc37f2001988362d1f90e712127acc
Author: Neil Armstrong <neil.armstrong@linaro.org>
dt-bindings: iio: add: document the MAX34417 Four-Channel High Dynamic Range Power Accumulator
Document the Maxim MAX34417 Four-Channel High Dynamic Range Power
Accumulator used to monitor power consumption of portable systems.
> diff --git a/Documentation/devicetree/bindings/iio/adc/maxim,max34417.yaml b/Documentation/devicetree/bindings/iio/adc/maxim,max34417.yaml
> new file mode 100644
> index 0000000000000..058af61cc04e2
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/adc/maxim,max34417.yaml
[ ... ]
> +patternProperties:
> + "^channel@[0-3]$":
> + $ref: adc.yaml
> + type: object
> + description:
> + Represents the internal channels of the sensor.
> +
> + properties:
> + reg:
> + items:
> + - minimum: 0
> + maximum: 3
> +
> + label: true
> +
> + shunt-resistor-micro-ohms:
> + description:
> + Value in micro Ohms of the shunt resistor connected between the RS+ and RS- inputs.
> + minimum: 1000
[Severity: Medium]
Does this minimum set an artificially restrictive lower bound for the
shunt-resistor-micro-ohms property?
Valid hardware configurations could utilize sub-milliohm shunt resistors
(e.g., 250 or 500 micro-ohms), which would fail device tree validation and
prevent the driver from probing.
> + maximum: 100000
> + default: 1000
> +
> + required:
> + - reg
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260924-topic-sm8x50-iio-max34417-adc-v2-0-9a0609e72f5c@linaro.org?part=1
next prev parent reply other threads:[~2026-09-24 13:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-24 13:14 [PATCH v2 0/2] iio: adc: add support for the MAX34417 Four-Channel High Dynamic Range Power Accumulator Neil Armstrong
2026-09-24 13:14 ` [PATCH v2 1/2] dt-bindings: iio: add: document " Neil Armstrong
2026-09-24 13:20 ` sashiko-bot [this message]
2026-09-24 13:23 ` Neil Armstrong
2026-09-24 16:43 ` Conor Dooley
2026-09-29 7:37 ` Krzysztof Kozlowski
2026-09-24 13:14 ` [PATCH v2 2/2] iio: adc: add driver for " Neil Armstrong
2026-09-24 15:13 ` Joshua Crofts
2026-09-25 3:26 ` Jonathan Cameron
2026-09-25 8:46 ` Neil Armstrong
2026-09-27 18:28 ` Jonathan Cameron
2026-09-25 3:13 ` [PATCH v2 0/2] iio: adc: add support " Jonathan Cameron
2026-09-25 8:12 ` Neil Armstrong
2026-09-27 18:50 ` Jonathan Cameron
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=20260924132022.D479F1F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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