Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Abel Vesa" <abel.vesa@oss.qualcomm.com>
Cc: krzk+dt@kernel.org, devicetree@vger.kernel.org,
	conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v3 2/3] arm64: dts: qcom: Add Eliza-specific PM7750BA dtsi
Date: Wed, 13 May 2026 21:28:34 +0000	[thread overview]
Message-ID: <20260513212834.E7358C19425@smtp.kernel.org> (raw)
In-Reply-To: <20260512-eliza-adsp-usb-v3-2-6420282841c2@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The commit message incorrectly references 'PM7750BA' instead of 'pm7550ba'.
- [Low] Unnecessary duplication of the entire `pm7550ba.dtsi` file to change the target SPMI bus.
--

commit 972447828c23a5ba2c8f03cd2dde21737ff3881a
Author: Abel Vesa <abel.vesa@oss.qualcomm.com>

arm64: dts: qcom: Add Eliza-specific PM7750BA dtsi

This commit adds a new Device Tree Source Include file for the PM7550BA PMIC
on the Eliza platform. It introduces a separate variant to configure the
specific SPMI bus master used by the hardware.

> arm64: dts: qcom: Add Eliza-specific PM7750BA dtsi
> 
> On Eliza, the SPMI arbiter supports multiple bus masters, requiring
> explicit selection of the master for each PMIC.
> 
> The existing PM7750BA dtsi does not provide a way to describe this,

This isn't a bug, but there is a mismatch in the hardware name. The commit
subject and message reference PM7750BA, while the code introduces
pm7550ba-eliza.dtsi for the qcom,pm7550ba PMIC. Could these references be
updated to PM7550BA to match the hardware and file names?

> diff --git a/arch/arm64/boot/dts/qcom/pm7550ba-eliza.dtsi b/arch/arm64/boot/dts/qcom/pm7550ba-eliza.dtsi
> new file mode 100644
> index 0000000000000..2c386f16eca46
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/pm7550ba-eliza.dtsi
> @@ -0,0 +1,69 @@
[ ... ]
> +&spmi_bus0 {
> +	pm7550ba: pmic@7 {
> +		compatible = "qcom,pm7550ba", "qcom,spmi-pmic";

The commit message states this duplication is required due to hardware
differences in how the SPMI bus is exposed. However, this appears to be a
full copy of the existing pm7550ba.dtsi file just to change the target bus to
&spmi_bus0.

Could this be achieved with less code duplication by refactoring the original
pm7550ba.dtsi? 

If the hardcoded &spmi_bus wrapper were removed from the base file, callers
could directly include it under their appropriate bus node. Would that be a
cleaner approach to avoid the ongoing maintenance burden of keeping the
thermal zones and PMIC nodes synchronized across two identical files?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260512-eliza-adsp-usb-v3-0-6420282841c2@oss.qualcomm.com?part=2

  parent reply	other threads:[~2026-05-13 21:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-12 12:26 [PATCH v3 0/3] arm64: dts: qcom: eliza: Add ADSP and USB support Abel Vesa
2026-05-12 12:26 ` [PATCH v3 1/3] arm64: dts: qcom: eliza: Describe the ADSP and USB related nodes Abel Vesa
2026-05-12 18:54   ` Dmitry Baryshkov
2026-05-13  9:19   ` Konrad Dybcio
2026-05-13 21:12   ` sashiko-bot
2026-05-12 12:26 ` [PATCH v3 2/3] arm64: dts: qcom: Add Eliza-specific PM7750BA dtsi Abel Vesa
2026-05-12 18:54   ` Dmitry Baryshkov
2026-05-13  1:33   ` Alexander Koskovich
2026-05-13  6:15     ` Abel Vesa
2026-05-13 21:28   ` sashiko-bot [this message]
2026-05-12 12:26 ` [PATCH v3 3/3] arm64: dts: qcom: eliza-mtp: Enable USB and ADSP support Abel Vesa
2026-05-12 22:04   ` Dmitry Baryshkov
2026-05-13  6:10     ` Abel Vesa
2026-05-13  9:44       ` Dmitry Baryshkov
2026-05-13  9:58         ` Abel Vesa
2026-05-13 10:04           ` Dmitry Baryshkov
2026-05-13 21:39   ` 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=20260513212834.E7358C19425@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=abel.vesa@oss.qualcomm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.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