Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Jishnu Prakash" <jishnu.prakash@oss.qualcomm.com>
Cc: mfd@lists.linux.dev, devicetree@vger.kernel.org, robh@kernel.org,
	conor+dt@kernel.org, lee@kernel.org
Subject: Re: [PATCH v6 4/8] regulator: pm8008: Add mode voting support for PM8010
Date: Fri, 04 Dec 2026 05:58:46 +0000	[thread overview]
Message-ID: <sashiko-outbox-249166@kernel.org> (raw)
In-Reply-To: <20261204-pm8010_i2c_support-v6-4-55c4146e1bd4@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] regulator: pm8008: commit message claims status register not
  used in code
--

commit 38c86ad34b2f2031770605ee797e212b97c702bd
Author: Dhruvin Rajpura <drajpura@qti.qualcomm.com>

regulator: pm8008: Add mode voting support for PM8010

This commit adds set_mode, get_mode, get_optimum_mode, and of_map_mode
support for the PM8010 LDO1 and LDO2 regulators.

> Implement set_mode/get_mode/get_optimum_mode support for PM8010 LDOs
> using the mode control and status registers to allow clients to vote
> for LDO modes.

[Severity: Low]
Does the driver actually use a mode status register?  Both
pm8010_regulator_set_mode() and pm8010_regulator_get_mode() only access
LDO_MODE_CTL1_REG (0x45), and no status register is defined or read.
Should the commit message be updated to mention only the mode control
register?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-pm8010_i2c_support-v6-0-55c4146e1bd4@oss.qualcomm.com?part=4

  reply	other threads:[~2026-12-04  5:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  5:50 [PATCH v6 0/8] mfd: qcom-pm8008: Add support for PM8010 over I2C Jishnu Prakash
2026-12-04  5:50 ` [PATCH v6 1/8] dt-bindings: mfd: pm8008: Add qcom,pm8010-i2c compatible Jishnu Prakash
2026-12-04  5:50 ` [PATCH v6 2/8] regulator: pm8008: Add PM8010 support Jishnu Prakash
2026-12-04  5:50 ` [PATCH v6 3/8] dt-bindings: mfd: pm8008: Add mode constants for PM8010 regulators Jishnu Prakash
2026-12-04  6:00   ` sashiko-bot
2026-12-04  5:50 ` [PATCH v6 4/8] regulator: pm8008: Add mode voting support for PM8010 Jishnu Prakash
2026-12-04  5:58   ` sashiko-bot [this message]
2026-12-04  5:50 ` [PATCH v6 5/8] mfd: qcom-pm8008: Drop GPIO support Jishnu Prakash
2026-12-04  5:50 ` [PATCH v6 6/8] mfd: qcom-pm8008: Add PM8010 support Jishnu Prakash
2026-12-04  5:50 ` [PATCH v6 7/8] dt-bindings: mfd: pm8008: Make interrupts optional Jishnu Prakash
2026-12-04  6:13   ` sashiko-bot
2026-12-04  5:50 ` [PATCH v6 8/8] mfd: qcom-pm8008: Tolerate missing interrupt Jishnu Prakash
2026-12-04  6:04   ` sashiko-bot

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=sashiko-outbox-249166@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jishnu.prakash@oss.qualcomm.com \
    --cc=lee@kernel.org \
    --cc=mfd@lists.linux.dev \
    --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