From: sashiko-bot@kernel.org
To: "Manaf Meethalavalappu Pallikunhi" <manaf.pallikunhi@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org,
lee@kernel.org, robh@kernel.org, mfd@lists.linux.dev,
conor+dt@kernel.org
Subject: Re: [PATCH v2 08/10] arm64: dts: qcom: pmih0108-kaanapali: Enable BCL sensor node
Date: Tue, 21 Jul 2026 19:17:21 +0000 [thread overview]
Message-ID: <20260721191721.EE7541F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260722-qcom-bcl-hwmon-v2-8-febe2805e17b@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The BCL hardware monitor node is added to the `pmih0108-kaanapali.dtsi` variant but omitted from the base `pmih0108.dtsi` PMIC definition file.
--
--- Patch [8]: [PATCH v2 08/10] arm64: dts: qcom: pmih0108-kaanapali: Enable BCL sensor node ---
commit f763d763d5dd94fa5bdd7efdfec8819781ecf122
Author: Manaf Meethalavalappu Pallikunhi <manaf.pallikunhi@oss.qualcomm.com>
arm64: dts: qcom: pmih0108-kaanapali: Enable BCL sensor node
This commit adds the Battery Current Limiting (BCL) hardware monitor node
for the pmih0108 PMIC in the pmih0108-kaanapali.dtsi file. This enables
battery voltage and current monitoring with hardware interrupts.
> diff --git a/arch/arm64/boot/dts/qcom/pmih0108-kaanapali.dtsi b/arch/arm64/boot/dts/qcom/pmih0108-kaanapali.dtsi
> index b73b0e82c3d31..67b77272b0cf9 100644
> --- a/arch/arm64/boot/dts/qcom/pmih0108-kaanapali.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pmih0108-kaanapali.dtsi
> @@ -49,6 +49,15 @@ pmih0108_e1_temp_alarm: temp-alarm@a00 {
> #thermal-sensor-cells = <0>;
> };
>
> + sensor@4700 {
> + compatible = "qcom,pmih0108-bcl";
> + reg = <0x4700>;
> + interrupts = <0x7 0x47 0x0 IRQ_TYPE_EDGE_RISING>,
> + <0x7 0x47 0x1 IRQ_TYPE_EDGE_RISING>;
> + interrupt-names = "max-min",
> + "critical";
> + };
> +
[Severity: Medium]
Should this BCL sensor node also be added to the base pmih0108.dtsi PMIC
definition file?
It appears the node is being added to the pmih0108-kaanapali.dtsi variant,
but omitting it from the base pmih0108.dtsi might prevent boards using the
standard PMIC from receiving battery current and voltage hardware interrupts.
Without BCL monitoring, those systems might not be able to proactively
throttle the SoC during high current draw or low voltage, which could
potentially lead to unexpected shutdowns under heavy load.
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260722-qcom-bcl-hwmon-v2-0-febe2805e17b@oss.qualcomm.com?part=8
next prev parent reply other threads:[~2026-07-21 19:17 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 18:30 [PATCH v2 00/10] hwmon: Add Qualcomm SPMI BCL driver Manaf Meethalavalappu Pallikunhi
2026-07-21 18:30 ` [PATCH v2 01/10] dt-bindings: hwmon: Describe Qualcomm BCL hardware Manaf Meethalavalappu Pallikunhi
2026-07-21 18:36 ` sashiko-bot
2026-07-21 18:30 ` [PATCH v2 02/10] hwmon: Add Qualcomm PMIC BCL driver Manaf Meethalavalappu Pallikunhi
2026-07-21 19:20 ` sashiko-bot
2026-07-21 20:44 ` Guenter Roeck
2026-07-21 18:30 ` [PATCH v2 03/10] arm64: dts: qcom: pm7250b: Enable BCL sensor node Manaf Meethalavalappu Pallikunhi
2026-07-21 19:13 ` sashiko-bot
2026-07-21 18:30 ` [PATCH v2 04/10] arm64: dts: qcom: hamoa-pmic: " Manaf Meethalavalappu Pallikunhi
2026-07-21 18:37 ` sashiko-bot
2026-07-21 18:30 ` [PATCH v2 05/10] arm64: dts: qcom: pm8350c: " Manaf Meethalavalappu Pallikunhi
2026-07-21 19:14 ` sashiko-bot
2026-07-21 18:30 ` [PATCH v2 06/10] arm64: dts: qcom: pmh0101: " Manaf Meethalavalappu Pallikunhi
2026-07-21 19:17 ` sashiko-bot
2026-07-21 18:30 ` [PATCH v2 07/10] arm64: dts: qcom: pm8550: " Manaf Meethalavalappu Pallikunhi
2026-07-21 19:14 ` sashiko-bot
2026-07-21 18:30 ` [PATCH v2 08/10] arm64: dts: qcom: pmih0108-kaanapali: " Manaf Meethalavalappu Pallikunhi
2026-07-21 19:17 ` sashiko-bot [this message]
2026-07-21 18:30 ` [PATCH v2 09/10] arm64: dts: qcom: pmih0108: " Manaf Meethalavalappu Pallikunhi
2026-07-21 19:16 ` sashiko-bot
2026-07-21 18:30 ` [PATCH v2 10/10] arm64: dts: qcom: smb2370: " Manaf Meethalavalappu Pallikunhi
2026-07-21 19:17 ` 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=20260721191721.EE7541F00A3D@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lee@kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=manaf.pallikunhi@oss.qualcomm.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.