* [PATCH v2 1/2] dt-bindings: arm: qcom: drop dtbTool-specific compatibles
2024-03-14 1:42 [PATCH v2 0/2] arm64: dts: qcom: msm8916: drop dtbTool compatibles Dmitry Baryshkov
@ 2024-03-14 1:42 ` Dmitry Baryshkov
2024-03-14 7:02 ` Krzysztof Kozlowski
2024-03-14 1:42 ` [PATCH v2 2/2] arm64: dts: qcom: msm8916: " Dmitry Baryshkov
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Dmitry Baryshkov @ 2024-03-14 1:42 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, Dmitry Baryshkov
Drop two board compatibles that were used by the skales dtbTool to index
device tree blobs. It was required to boot those devices with the
original bootloader, however all users should have switched to the
lk2nd bootloader by now.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
Documentation/devicetree/bindings/arm/qcom.yaml | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index 66beaac60e1d..66c98a1c8ac6 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -187,11 +187,6 @@ properties:
- const: qcom,msm8974pro
- const: qcom,msm8974
- - items:
- - const: qcom,msm8916-mtp
- - const: qcom,msm8916-mtp/1
- - const: qcom,msm8916
-
- items:
- enum:
- acer,a1-724
@@ -200,6 +195,8 @@ properties:
- gplus,fl8005a
- huawei,g7
- longcheer,l8910
+ - longcheer,l8150
+ - qcom,msm8916-mtp
- samsung,a3u-eur
- samsung,a5u-eur
- samsung,e5
@@ -220,11 +217,6 @@ properties:
- yiming,uz801-v3
- const: qcom,msm8916
- - items:
- - const: longcheer,l8150
- - const: qcom,msm8916-v1-qrd/9-v1
- - const: qcom,msm8916
-
- items:
- enum:
- motorola,potter
--
2.39.2
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH v2 1/2] dt-bindings: arm: qcom: drop dtbTool-specific compatibles
2024-03-14 1:42 ` [PATCH v2 1/2] dt-bindings: arm: qcom: drop dtbTool-specific compatibles Dmitry Baryshkov
@ 2024-03-14 7:02 ` Krzysztof Kozlowski
0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-14 7:02 UTC (permalink / raw)
To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree
On 14/03/2024 02:42, Dmitry Baryshkov wrote:
> Drop two board compatibles that were used by the skales dtbTool to index
> device tree blobs. It was required to boot those devices with the
> original bootloader, however all users should have switched to the
> lk2nd bootloader by now.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 2/2] arm64: dts: qcom: msm8916: drop dtbTool-specific compatibles
2024-03-14 1:42 [PATCH v2 0/2] arm64: dts: qcom: msm8916: drop dtbTool compatibles Dmitry Baryshkov
2024-03-14 1:42 ` [PATCH v2 1/2] dt-bindings: arm: qcom: drop dtbTool-specific compatibles Dmitry Baryshkov
@ 2024-03-14 1:42 ` Dmitry Baryshkov
2024-03-14 10:17 ` [PATCH v2 0/2] arm64: dts: qcom: msm8916: drop dtbTool compatibles Stephan Gerhold
2024-04-04 21:22 ` Bjorn Andersson
3 siblings, 0 replies; 6+ messages in thread
From: Dmitry Baryshkov @ 2024-03-14 1:42 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, Dmitry Baryshkov, Stephan Gerhold
Drop two board compatibles that were used by the skales dtbTool to index
device tree blobs. It was required to boot those devices with the
original bootloader, however all users should have switched to the
lk2nd bootloader by now.
Suggested-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts | 2 +-
arch/arm64/boot/dts/qcom/msm8916-mtp.dts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts
index 3a3e794c022f..7f0c2c1b8a94 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts
@@ -12,7 +12,7 @@
/ {
model = "Longcheer L8150";
- compatible = "longcheer,l8150", "qcom,msm8916-v1-qrd/9-v1", "qcom,msm8916";
+ compatible = "longcheer,l8150", "qcom,msm8916";
chassis-type = "handset";
aliases {
diff --git a/arch/arm64/boot/dts/qcom/msm8916-mtp.dts b/arch/arm64/boot/dts/qcom/msm8916-mtp.dts
index ac527a3a0826..c11a845e91bb 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-mtp.dts
@@ -9,7 +9,7 @@
/ {
model = "Qualcomm Technologies, Inc. MSM 8916 MTP";
- compatible = "qcom,msm8916-mtp", "qcom,msm8916-mtp/1", "qcom,msm8916";
+ compatible = "qcom,msm8916-mtp", "qcom,msm8916";
chassis-type = "handset";
aliases {
--
2.39.2
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH v2 0/2] arm64: dts: qcom: msm8916: drop dtbTool compatibles
2024-03-14 1:42 [PATCH v2 0/2] arm64: dts: qcom: msm8916: drop dtbTool compatibles Dmitry Baryshkov
2024-03-14 1:42 ` [PATCH v2 1/2] dt-bindings: arm: qcom: drop dtbTool-specific compatibles Dmitry Baryshkov
2024-03-14 1:42 ` [PATCH v2 2/2] arm64: dts: qcom: msm8916: " Dmitry Baryshkov
@ 2024-03-14 10:17 ` Stephan Gerhold
2024-04-04 21:22 ` Bjorn Andersson
3 siblings, 0 replies; 6+ messages in thread
From: Stephan Gerhold @ 2024-03-14 10:17 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-msm, devicetree
rOn Thu, Mar 14, 2024 at 03:42:47AM +0200, Dmitry Baryshkov wrote:
> Only two boards ever has adopted the dtbTool-specific compatibles.
> However the dtbTool should not be used anymore. It was required only for
> the old, broken lk1st bootloader. All users of those boards should have
> updated to use lk2nd instead. Otherwise several important features
> (secondary CPU cores, WiFi, BT) will not work with the upstream kernel.
Nitpick: The term "the old, broken lk1st bootloader" is a bit misleading
here. I believe you are referring to Qualcomm's original LK bootloader.
"lk1st" is actually the name of an alternative configuration in the
lk2nd project that can be used to replace the first-stage bootloader on
devices without secure boot, e.g. DB410c and a few smartphones. lk1st
has exactly the same functionality as lk2nd and is therefore definitely
not old and broken. Both support DTB selection, secondary CPU cores etc. :-)
I don't think we put the cover letter into a merge commit message in the
qcom tree, so there is no need to resend. I just wanted to clarify this.
Thanks for cleaning this up!
Stephan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 0/2] arm64: dts: qcom: msm8916: drop dtbTool compatibles
2024-03-14 1:42 [PATCH v2 0/2] arm64: dts: qcom: msm8916: drop dtbTool compatibles Dmitry Baryshkov
` (2 preceding siblings ...)
2024-03-14 10:17 ` [PATCH v2 0/2] arm64: dts: qcom: msm8916: drop dtbTool compatibles Stephan Gerhold
@ 2024-04-04 21:22 ` Bjorn Andersson
3 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2024-04-04 21:22 UTC (permalink / raw)
To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Dmitry Baryshkov
Cc: linux-arm-msm, devicetree, Stephan Gerhold
On Thu, 14 Mar 2024 03:42:47 +0200, Dmitry Baryshkov wrote:
> Only two boards ever has adopted the dtbTool-specific compatibles.
> However the dtbTool should not be used anymore. It was required only for
> the old, broken lk1st bootloader. All users of those boards should have
> updated to use lk2nd instead. Otherwise several important features
> (secondary CPU cores, WiFi, BT) will not work with the upstream kernel.
>
> Drop these extra compatibles, merging these two boards into the common
> bindings case for msm8916.
>
> [...]
Applied, thanks!
[1/2] dt-bindings: arm: qcom: drop dtbTool-specific compatibles
commit: 88d0e4e10d77bb4e575b74ac0f6dd3140ecc3bcd
[2/2] arm64: dts: qcom: msm8916: drop dtbTool-specific compatibles
commit: 3867ad6d39cd97875aca7e5f1b17ea6dd5b1107a
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread