ARM: dts: qcom: Introduce dtsi for LTE-capable MSM8926

MSM8926, while being 'just' an LTE-capable variant of MSM8226, the dts
needs to slightly change since the modem doesn't use the ext-bhs-reg and
needs mss-supply, therefore it gets a new compatible.

Since we already have two -common.dtsi files which are used on both
APQ8026/MSM8226 and MSM8926 devices, change the setup a bit by removing
the SoC include from those and requiring the device dts to pick the
correct one.

Reviewed-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
Link: https://lore.kernel.org/r/20250217-msm8226-modem-v5-11-2bc74b80e0ae@lucaweiss.eu
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Luca Weiss 2025-02-17 23:05:25 +01:00 committed by Bjorn Andersson
parent 6b47ce06f2
commit fc532eb25c
12 changed files with 30 additions and 4 deletions

View File

@ -0,0 +1,11 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2025, Luca Weiss <luca@lucaweiss.eu>
*/
#include "qcom-msm8226.dtsi"
&modem {
compatible = "qcom,msm8926-mss-pil";
/delete-property/ qcom,ext-bhs-reg;
};

View File

@ -5,6 +5,7 @@
/dts-v1/;
#include "qcom-msm8226.dtsi"
#include "qcom-msm8226-samsung-matisse-common.dtsi"
/ {

View File

@ -8,7 +8,11 @@
* Copyright (c) 2023, Rayyan Ansari <rayyan@ansari.sh>
*/
#include "qcom-msm8226.dtsi"
/*
* The .dts should first include qcom-msm8226.dtsi or msm8926.dtsi depending on
* the SoC on the given device.
*/
#include "pm8226.dtsi"
#include <dt-bindings/input/input.h>

View File

@ -8,6 +8,7 @@
/dts-v1/;
#include "qcom-msm8226.dtsi"
#include "qcom-msm8226-microsoft-common.dtsi"
/ {

View File

@ -8,6 +8,7 @@
/dts-v1/;
#include "qcom-msm8226.dtsi"
#include "qcom-msm8226-microsoft-common.dtsi"
/ {

View File

@ -8,6 +8,7 @@
/dts-v1/;
#include "qcom-msm8226.dtsi"
#include "qcom-msm8226-microsoft-common.dtsi"
/* This device has no magnetometer */

View File

@ -3,8 +3,12 @@
* Copyright (c) 2022, Matti Lehtimäki <matti.lehtimaki@gmail.com>
*/
/*
* The .dts should first include qcom-msm8226.dtsi or msm8926.dtsi depending on
* the SoC on the given device.
*/
#include <dt-bindings/input/input.h>
#include "qcom-msm8226.dtsi"
#include "pm8226.dtsi"
/delete-node/ &adsp_region;

View File

@ -5,7 +5,7 @@
/dts-v1/;
#include "qcom-msm8226.dtsi"
#include "msm8926.dtsi"
#include "pm8226.dtsi"
/delete-node/ &adsp_region;

View File

@ -8,6 +8,7 @@
/dts-v1/;
#include "msm8926.dtsi"
#include "qcom-msm8226-microsoft-common.dtsi"
/* This device has touchscreen on i2c3 instead */

View File

@ -8,6 +8,7 @@
/dts-v1/;
#include "msm8926.dtsi"
#include "qcom-msm8226-microsoft-common.dtsi"
/* This device has touchscreen on i2c1 instead */

View File

@ -2,7 +2,7 @@
/dts-v1/;
#include "qcom-msm8226.dtsi"
#include "msm8926.dtsi"
#include "pm8226.dtsi"
/delete-node/ &smem_region;

View File

@ -6,6 +6,7 @@
/dts-v1/;
#include "msm8926.dtsi"
#include "qcom-msm8226-samsung-matisse-common.dtsi"
/ {