Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Yuanjie Yang" <yuanjie.yang@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v3 2/4] arm64: dts: qcom: fix PURWA/HAMOA IOT SOM compatibles
Date: Wed, 05 Aug 2026 10:37:28 +0000	[thread overview]
Message-ID: <20260805103729.5482A1F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260805-hamoa-come-v3-v3-2-20463c43eae1@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Removing existing device tree board compatible strings breaks backward compatibility with bootloaders and userspace.
--

--- Patch [2]: [PATCH v3 2/4] arm64: dts: qcom: fix PURWA/HAMOA IOT SOM compatibles ---
commit 13bd2c46e7d398444043412a0d95ccdf1938980f
Author: Yuanjie Yang <yuanjie.yang@oss.qualcomm.com>

arm64: dts: qcom: fix PURWA/HAMOA IOT SOM compatibles

This commit updates the compatible strings for Hamoa and Purwa IoT SOMs to
match their official IQ product names. It removes the undocumented
hamoa-iot-som and purwa-iot-som strings from the DTS files.

> diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
> index 9fa86bb6438ec..b807079a5ee22 100644
> --- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
> +++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
[ ... ]
> @@ -6,12 +6,12 @@
>  /dts-v1/;
>  
>  #include <dt-bindings/leds/common.h>
> -#include "hamoa-iot-som.dtsi"
> +#include "iq-x7181-evk-som.dtsi"
>  #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
>  
>  / {
>  	model = "Qualcomm Technologies, Inc. Hamoa IoT EVK";
> -	compatible = "qcom,hamoa-iot-evk", "qcom,hamoa-iot-som", "qcom,x1e80100";
> +	compatible = "qcom,hamoa-iot-evk", "qcom,iq-x7181-evk-som", "qcom,x1e80100";

[Severity: High]
Does removing the qcom,hamoa-iot-som compatible string break backward
compatibility for existing bootloaders or userspace tools?

Since device tree bindings are generally considered a stable ABI once
released, older bootloaders and userspace scripts (like fwupd or systemd)
identifying the board via qcom,hamoa-iot-som might fail to recognize the
hardware after this update.

Should the new IQ product string be added while keeping the old string
as a fallback?

>  	chassis-type = "embedded";
>  
>  	aliases {

[ ... ]

> diff --git a/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts b/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts
> index ad503beec1d3d..d2963af1d762d 100644
> --- a/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts
> +++ b/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts
[ ... ]
> @@ -6,12 +6,12 @@
>  /dts-v1/;
>  
>  #include <dt-bindings/leds/common.h>
> -#include "purwa-iot-som.dtsi"
> +#include "iq-x5121-evk-som.dtsi"
>  #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
>  
>  / {
>  	model = "Qualcomm Technologies, Inc. Purwa IoT EVK";
> -	compatible = "qcom,purwa-iot-evk", "qcom,purwa-iot-som", "qcom,x1p42100";
> +	compatible = "qcom,purwa-iot-evk", "qcom,iq-x5121-evk-som", "qcom,x1p42100";

[Severity: High]
Similarly, does the complete removal of qcom,purwa-iot-som here violate
the stable device tree ABI policy?

Bootloaders and userspace tools relying on the previous string will no longer
recognize the board.

>  	chassis-type = "embedded";
>  
>  	aliases {

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260805-hamoa-come-v3-v3-0-20463c43eae1@oss.qualcomm.com?part=2

  reply	other threads:[~2026-08-05 10:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-05 10:29 [PATCH v3 0/4] Initial support for Advantech SOM-DB5830 board Yuanjie Yang
2026-08-05 10:30 ` [PATCH v3 1/4] dt-bindings: arm: qcom: fix PURWA/HAMOA IOT SOM compatibles Yuanjie Yang
2026-08-05 10:38   ` sashiko-bot
2026-08-06  5:52     ` yuanjiey
2026-08-06  8:04   ` Krzysztof Kozlowski
2026-08-06  8:26     ` yuanjiey
2026-08-05 10:30 ` [PATCH v3 2/4] arm64: dts: " Yuanjie Yang
2026-08-05 10:37   ` sashiko-bot [this message]
2026-08-05 10:30 ` [PATCH v3 3/4] dt-bindings: arm: qcom: Add Advantech SOM-DB5830 Yuanjie Yang
2026-08-06  8:05   ` Krzysztof Kozlowski
2026-08-05 10:30 ` [PATCH v3 4/4] arm64: dts: " Yuanjie Yang
2026-08-05 13:46   ` Abel Vesa

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=20260805103729.5482A1F00A3A@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=yuanjie.yang@oss.qualcomm.com \
    /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