Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Kim Seer Paller" <kimseer.paller@analog.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v5 1/4] iio: ABI: Add DAC current powerdown attributes and 15kohm_to_gnd mode
Date: Fri, 04 Sep 2026 08:43:08 +0000	[thread overview]
Message-ID: <20260904084309.38B1E1F00A3E@smtp.kernel.org> (raw)
In-Reply-To: <20260904-iio-ad5710r-upstream-v5-1-76f985b7d0ee@analog.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The patch documents out_currentY_powerdown_mode but misses the corresponding _available attributes.
--

commit 8792fdce55087374092373b1e07164bea5a13f94
Author: Kim Seer Paller <kimseer.paller@analog.com>

iio: ABI: Add DAC current powerdown attributes and 15kohm_to_gnd mode

This commit documents the out_currentY_powerdown and
out_currentY_powerdown_mode attributes for current-output DAC channels.
It also adds the 15kohm_to_gnd powerdown mode to the list of available
modes.

> diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
> index a4f5595722ade..a0f9aada5c62d 100644
> --- a/Documentation/ABI/testing/sysfs-bus-iio
> +++ b/Documentation/ABI/testing/sysfs-bus-iio
> @@ -762,6 +762,8 @@ What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
>  What:		/sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
>  What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
>  What:		/sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
> +What:		/sys/bus/iio/devices/iio:deviceX/out_currentY_powerdown_mode
> +What:		/sys/bus/iio/devices/iio:deviceX/out_current_powerdown_mode

[Severity: Low]
Should the corresponding out_currentY_powerdown_mode_available and
out_current_powerdown_mode_available attributes be documented as well?

The existing voltage powerdown modes document their available variants
further down in Documentation/ABI/testing/sysfs-bus-iio:

What:           /sys/.../iio:deviceX/out_voltageY_powerdown_mode_available
What:           /sys/.../iio:deviceX/out_voltage_powerdown_mode_available
What:           /sys/.../iio:deviceX/out_altvoltageY_powerdown_mode_available
What:           /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available

It seems the current equivalents were omitted from this patch.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260904-iio-ad5710r-upstream-v5-0-76f985b7d0ee@analog.com?part=1

  reply	other threads:[~2026-09-04  8:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-04  8:35 [PATCH v5 0/4] Add support for AD5710R/AD5711R DAC Kim Seer Paller
2026-09-04  8:35 ` [PATCH v5 1/4] iio: ABI: Add DAC current powerdown attributes and 15kohm_to_gnd mode Kim Seer Paller
2026-09-04  8:43   ` sashiko-bot [this message]
2026-09-04  8:35 ` [PATCH v5 2/4] dt-bindings: iio: dac: add adi,ad5710r.yaml Kim Seer Paller
2026-09-04 15:21   ` Conor Dooley
2026-09-04  8:35 ` [PATCH v5 3/4] iio: dac: ad3530r: parameterize DAC resolution Kim Seer Paller
2026-09-04  8:35 ` [PATCH v5 4/4] iio: dac: ad3530r: add support for AD5710R/AD5711R Kim Seer Paller

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=20260904084309.38B1E1F00A3E@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kimseer.paller@analog.com \
    --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