From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Gabriel Gonzales <semfault@disroot.org>
Cc: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/2] Add Xiaomi Redmi Note 8 support
Date: Fri, 8 Aug 2025 11:47:13 +0200 [thread overview]
Message-ID: <488da4b7-1017-4582-808e-f8f244d8a975@oss.qualcomm.com> (raw)
In-Reply-To: <20250311003353.8250-1-semfault@disroot.org>
On 3/11/25 1:33 AM, Gabriel Gonzales wrote:
> This patchset introduces support for the Redmi Note 8 (codenamed ginkgo).
>
> Changes in v2:
> - Add missing cover letter
> - Fix up commit message for schema
> Changes in v3:
> - Use qcom ids instead of hardcoded msm-id (and other changes suggested by Konrad)
> - Switch up model properties and qcom properties position
Hi, I noticed that the msm-id is failing the dt-bindings check (need
two values, with the first one being the SoC ID and the second one being
the revision - 0x10000 as there was only ever a single rev of 6125)
I also found this dt:
https://github.com/xiaomi-ginkgo/android_kernel_xiaomi_ginkgo/blob/main/arch/arm64/boot/dts/xiaomi/ginkgo-trinket-overlay.dts
which suggests that the board ID you used may be incorrect
(you put in 22 and the link above says 34 - FWIW 0x22 == 34, maybe
that's related?)
Could you please give the below a shot and see if it still boots?
From ccef64e4058ba657ada5000ec3c2aa9b682c552b Mon Sep 17 00:00:00 2001
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Date: Fri, 8 Aug 2025 11:45:06 +0200
Subject: [PATCH] arm64: dts: qcom: sm6125-xiaomi-ginkgo: Fix up msm/board ID
Include a version in the SoC ID (mostly to appease the bindings
checker) and fix up the board-id according to match the device's BSP
kernel.
Link: https://github.com/xiaomi-ginkgo/android_kernel_xiaomi_ginkgo/blob/main/arch/arm64/boot/dts/xiaomi/ginkgo-trinket-overlay.dts
Fixes: 9b1a6c925c88 ("arm64: dts: qcom: sm6125: Initial support for xiaomi-ginkgo")
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
index 68a237215bd1..52f74f22764d 100644
--- a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
+++ b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
@@ -19,8 +19,8 @@ / {
chassis-type = "handset";
/* required for bootloader to select correct board */
- qcom,msm-id = <QCOM_ID_SM6125>;
- qcom,board-id = <22 0>;
+ qcom,msm-id = <QCOM_ID_SM6125 0x10000>;
+ qcom,board-id = <34 0>;
chosen {
#address-cells = <2>;
--
2.50.1
Konrad
prev parent reply other threads:[~2025-08-08 9:47 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-04 4:37 [PATCH v1 1/2] dt-bindings: arm: qcom: Add Xiaomi Redmi Note 8 Gabriel Gonzales
2025-03-04 4:37 ` [PATCH v1 2/2] arm64: dts: qcom: sm6125: Initial support for xiaomi-ginkgo Gabriel Gonzales
2025-03-04 13:02 ` [PATCH v1 1/2] dt-bindings: arm: qcom: Add Xiaomi Redmi Note 8 Rob Herring (Arm)
2025-03-04 14:14 ` Rob Herring
2025-03-08 1:30 ` [PATCH v2 0/2] Add Xiaomi Redmi Note 8 support Gabriel Gonzales
2025-03-08 1:30 ` [PATCH v2 1/2] dt-bindings: arm: qcom: Add Xiaomi Redmi Note 8 Gabriel Gonzales
2025-03-10 9:46 ` Krzysztof Kozlowski
2025-03-08 1:30 ` [PATCH v2 2/2] arm64: dts: qcom: sm6125: Initial support for xiaomi-ginkgo Gabriel Gonzales
2025-03-08 15:11 ` Konrad Dybcio
2025-03-10 23:28 ` Gabriel Gonzales
2025-03-10 23:37 ` Konrad Dybcio
2025-03-11 0:18 ` Gabriel Gonzales
2025-03-10 14:36 ` [PATCH v2 0/2] Add Xiaomi Redmi Note 8 support Rob Herring (Arm)
2025-03-11 0:33 ` [PATCH v3 " Gabriel Gonzales
2025-03-11 0:33 ` [PATCH v3 1/2] dt-bindings: arm: qcom: Add Xiaomi Redmi Note 8 Gabriel Gonzales
2025-03-11 8:12 ` Krzysztof Kozlowski
2025-03-11 0:33 ` [PATCH v3 2/2] arm64: dts: qcom: sm6125: Initial support for xiaomi-ginkgo Gabriel Gonzales
2025-03-11 15:19 ` [PATCH v3 0/2] Add Xiaomi Redmi Note 8 support Rob Herring (Arm)
2025-03-14 20:01 ` Bjorn Andersson
2025-08-08 9:47 ` Konrad Dybcio [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=488da4b7-1017-4582-808e-f8f244d8a975@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=semfault@disroot.org \
/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
all inboxes | Powered by JetHome®