From: sashiko-bot@kernel.org
To: erebion <erebion@erebion.eu>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 8/8] arm64: dts: qcom: sm6350-lena: Enable PMK8350
Date: Sat, 26 Sep 2026 10:30:21 +0000 [thread overview]
Message-ID: <20260926103021.ABD8A1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260926-pdx213-upstream-3-v1-8-1609c18b5c1d@erebion.eu>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dts: unit address vs reg mismatch in pmk8350_vadc channel
--
commit 5d60ecb2f51ba076b9f89e76eff7eec7d8346935
Author: erebion <erebion@erebion.eu>
arm64: dts: qcom: sm6350-lena: Enable PMK8350
Configure and enable nodes for PMK8350 on the Xperia 10 III.
> diff --git a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
> index 265400aa945ba..ddca3caf4a4e5 100644
> --- a/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
[ ... ]
> @@ -436,6 +441,31 @@ &pm7250b_vbus {
[ ... ]
> +&pmk8350_vadc {
> + channel@3100 {
> + reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>;
[Severity: Low]
The node name uses the unit address 3100, but because PMK8350_SID is 6
and ADC7_AMUX_THM1_100K_PU is 0x44, the reg expression (6 << 8 | 0x44)
evaluates to 0x644.
This mismatch triggers a unit_address_vs_reg warning from the device tree
compiler during the build.
Could the unit address in the pmk8350_vadc node name be updated to 644 to
match the evaluated register address?
> + qcom,ratiometric;
> + qcom,hw-settle-time = <200>;
> + qcom,pre-scaling = <1 1>;
> + label = "xo_therm";
> + };
> +};
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu?part=8
prev parent reply other threads:[~2026-09-26 10:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-26 10:20 [PATCH 0/8] Enable more nodes for the Xperia 10 III erebion
2026-09-26 10:20 ` [PATCH 1/8] arm64: dts: qcom: sm6350-lena: Add flash LED erebion
2026-09-26 10:28 ` sashiko-bot
2026-09-26 10:20 ` [PATCH 2/8] arm64: dts: qcom: sm6350-lena: Add qcom,rmtfs-mem node erebion
2026-09-26 10:20 ` [PATCH 3/8] arm64: dts: qcom: sm6350-lena: Enable ADSP, CDSP & MPSS erebion
2026-09-26 10:31 ` sashiko-bot
2026-09-26 10:20 ` [PATCH 4/8] arm64: dts: qcom: sm6350-lena: Enable IPA erebion
2026-09-26 10:20 ` [PATCH 5/8] arm64: dts: qcom: sm6350-lena: Enable Bluetooth erebion
2026-09-26 10:33 ` sashiko-bot
2026-09-26 10:20 ` [PATCH 6/8] arm64: dts: qcom: sm6350-lena: Enable wifi erebion
2026-09-26 10:20 ` [PATCH 7/8] arm64: dts: qcom: sm6350-lena: Enable PM7250B erebion
2026-09-26 10:20 ` [PATCH 8/8] arm64: dts: qcom: sm6350-lena: Enable PMK8350 erebion
2026-09-26 10:30 ` sashiko-bot [this message]
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=20260926103021.ABD8A1F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=erebion@erebion.eu \
--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