Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: code_0002@163.com
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2] arm64: dts: qcom: sm8550: add Xiaomi Pad 6S Pro (sheng)
Date: Tue, 21 Jul 2026 14:49:58 +0000	[thread overview]
Message-ID: <20260721145000.932F81F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260721142147.1618-1-code_0002@163.com>

Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [High] Multiple `cs35l43` audio amplifiers share the exact same `reset-gpios` without non-exclusive flags.
- [High] Specific hardcoded Bluetooth MAC address in the device tree.
- [Low] Several nodes use undocumented compatible strings that lack upstream bindings and drivers, and the backlight node violates existing bindings.
--

--- Patch [1]: [PATCH v2] arm64: dts: qcom: sm8550: add Xiaomi Pad 6S Pro (sheng) ---
commit 60dbe1c9d61443d5cd6de8980b141b0f56a24a53
Author: map220v <map220v300@gmail.com>
arm64: dts: qcom: sm8550: add Xiaomi Pad 6S Pro (sheng)

Add device tree for Xiaomi Pad 6S Pro (sheng) based on SM8550.

> diff --git a/arch/arm64/boot/dts/qcom/sm8550-xiaomi-sheng.dts b/arch/arm64/boot/dts/qcom/sm8550-xiaomi-sheng.dts
> new file mode 100644
> index 0000000000000..170a67b37b7a6
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/sm8550-xiaomi-sheng.dts

[ ... ]

> +&i2c1 {
> +	status = "okay";
> +
> +	backlight: backlight@11 {
> +		compatible = "kinetic,ktz8866a";
> +		reg = <0x11>;
> +		vin-supply = <&vph_pwr>;
> +		enable-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;

[Severity: Low]
Are the compatible strings for this node and display_panel (kinetic,ktz8866a
and novatek,nt36532e) planned to be documented upstream? Without bindings,
these out-of-tree compatible strings will generate warnings during dtbs_check
validation.

[ ... ]

> +&i2c5 {
> +	clock-frequency = <1000000>;
> +	status = "okay";
> +
> +	cs35l43_trl: cs35l43@40 {
> +		compatible = "cirrus,cs35l43";
> +		reg = <0x40>;
> +		interrupt-parent = <&tlmm>;
> +		interrupts = <98 IRQ_TYPE_LEVEL_LOW>;
> +		reset-gpios = <&tlmm 90 GPIO_ACTIVE_HIGH>;

[Severity: High]
Since multiple cs35l43 amplifier instances all specify the exact same
reset-gpios, won't the GPIO subsystem's exclusive access guarantees grant the
GPIO to the first probing instance? 

It seems the other instances will fail to probe with -EBUSY, which would
break the other audio amplifiers on the device. Might a gpio-reset controller
node be needed to share the reset GPIO correctly?

[ ... ]

> +&uart14 {
> +	status = "okay";
> +
> +	bluetooth {
> +		compatible = "qcom,wcn7850-bt";
> +
> +		local-bd-address = [ 24 00 00 00 5a ad ];

[Severity: High]
If the bootloader fails to dynamically overwrite this property on production
units, won't all devices running this kernel share the exact same Bluetooth
MAC address? Using [ 00 00 00 00 00 00 ] is standard practice to ensure
bootloader patch failure is obvious and doesn't lead to widespread MAC
collisions.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260721142147.1618-1-code_0002@163.com?part=1

  parent reply	other threads:[~2026-07-21 14:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-21 14:21 [PATCH v2] arm64: dts: qcom: sm8550: add Xiaomi Pad 6S Pro (sheng) code_0002
2026-07-21 14:41 ` Konrad Dybcio
2026-07-21 14:41 ` Konrad Dybcio
2026-07-21 14:49 ` sashiko-bot [this message]
2026-07-21 15:22 ` Krzysztof Kozlowski
2026-07-21 15:34 ` [PATCH v6] " Tianyuan Jiang
2026-07-21 15:46   ` Krzysztof Kozlowski
2026-07-21 15:52   ` sashiko-bot
2026-07-21 16:00 ` [PATCH v2] arm64: dts: qcom: sm8550: add xiaomi pad 6s pro (sheng) dts Tianyuan Jiang

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=20260721145000.932F81F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=code_0002@163.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.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