Initial support for MSM8x26 Lumias
v3 cover Initial support for MSM8x26 Lumias
Hello,
The following patches:
- Add device tree files for Nokia/Microsoft Lumia phones based around the MSM8x26 family of Qualcomm chipsets, utilising a common tree
- Document this support
v1: https://lore.kernel.org/linux-arm-msm/[email protected]/
v2: https://lore.kernel.org/linux-arm-msm/[email protected]/
Changes in v2:
- Fix style issues and CHECK_DTBS warnings
- Squash common dt commit with a device commit
- Use both msm8926 and msm8226 compatibles for msm8926 devices
Changes in v3:
- Fix commit tags
- More style fixes
- Delete by label instead of path
Rayyan Ansari (6):
dt-bindings: arm: qcom: Document MSM8x26-based Lumia phones
ARM: dts: qcom: add common dt for MSM8x26 Lumias along with Nokia
Lumia 630
ARM: dts: qcom: add device tree for Microsoft Lumia 640
ARM: dts: qcom: add device tree for Microsoft Lumia 640 XL
ARM: dts: qcom: add device tree for Nokia Lumia 735
ARM: dts: qcom: add device tree for Nokia Lumia 830
.../devicetree/bindings/arm/qcom.yaml | 10 + arch/arm/boot/dts/qcom/Makefile | 5 + .../qcom/qcom-msm8226-microsoft-common.dtsi | 327 ++++++++++++++++++ .../qcom/qcom-msm8226-microsoft-dempsey.dts | 17 + .../qcom/qcom-msm8226-microsoft-makepeace.dts | 17 + .../qcom-msm8226-microsoft-moneypenny.dts | 23 ++ .../qcom-msm8926-microsoft-superman-lte.dts | 53 +++ .../dts/qcom/qcom-msm8926-microsoft-tesla.dts | 67 ++++ 8 files changed, 519 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-common.dtsi create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-dempsey.dts create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-makepeace.dts create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-superman-lte.dts create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-tesla.dts
Signature · 1 line
2.42.0
PATCH v3 1/6 dt-bindings: arm: qcom: Document MSM8x26-based Lumia phones
Document MSM8226 and MSM8926 Lumias.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)
Documentation/devicetree/bindings/arm/qcom.yaml +10 -0
@@ -184,9 +184,19 @@ properties: - items: - enum: + - microsoft,dempsey + - microsoft,makepeace + - microsoft,moneypenny - samsung,s3ve3g - const: qcom,msm8226 + - items: + - enum: + - microsoft,superman-lte + - microsoft,tesla + - const: qcom,msm8926 + - const: qcom,msm8226 + - items: - enum: - samsung,a7
Signature · 1 line
2.42.0
PATCH v3 2/6 ARM: dts: qcom: add common dt for MSM8x26 Lumias along with Nokia Lumia 630
In reply to Rayyan AnsariAdd a common device tree for Lumia phones based on the Qualcomm MSM8x26 family of chipsets.
Currently supports:
- Framebuffer
- Touchscreen
- Keys
- Regulators
- MMC
- USB
- UART
Also add an initial device tree for the Nokia Lumia 630, codenamed "moneypenny".
--- arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom/qcom-msm8226-microsoft-common.dtsi | 327 ++++++++++++++++++ .../qcom-msm8226-microsoft-moneypenny.dts | 23 ++ 3 files changed, 351 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-common.dtsi create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts
arch/arm/boot/dts/qcom/Makefile +1 -0
@@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-ipq4019-ap.dk07.1-c2.dtb \ qcom-ipq8064-ap148.dtb \ qcom-ipq8064-rb3011.dtb \ + qcom-msm8226-microsoft-moneypenny.dtb \ qcom-msm8226-samsung-s3ve3g.dtb \ qcom-msm8660-surf.dtb \ qcom-msm8916-samsung-e5.dtb \
arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-common.dtsi new file +327 -0
327 lines not on this page · raw message
arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts new file +23 -0
@@ -0,0 +1,23 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Jack Matthews <[email protected]> + * Copyright (c) 2023, Ivaylo Ivanov <[email protected]> + * Copyright (c) 2023, Dominik Kobinski <[email protected]> + * Copyright (c) 2023, Rayyan Ansari <[email protected]> + */ + +/dts-v1/; + +#include "qcom-msm8226-microsoft-common.dtsi" + +/ { + model = "Nokia Lumia 630"; + compatible = "microsoft,moneypenny", "qcom,msm8226"; + chassis-type = "handset"; +}; + +&framebuffer { + width = <480>; + height = <854>; + stride = <(480 * 4)>; +};
Signature · 1 line
2.42.0
Re: [PATCH v3 2/6] ARM: dts: qcom: add common dt for MSM8x26 Lumias along with Nokia Lumia 630
Quoted 15 lines · Rayyan Ansari
Add a common device tree for Lumia phones based on the Qualcomm MSM8x26 family of chipsets.
Currently supports:
- Framebuffer
- Touchscreen
- Keys
- Regulators
- MMC
- USB
- UARTAlso add an initial device tree for the Nokia Lumia 630, codenamed "moneypenny".
Quoted 8 lines
Co-developed-by Dominik Kobinski <[email protected]>Signed-off-by Dominik Kobinski <[email protected]>Co-developed-by Ivaylo Ivanov <[email protected]>Signed-off-by Ivaylo Ivanov <[email protected]>Co-developed-by Jack Matthews <[email protected]>Signed-off-by Jack Matthews <[email protected]>Signed-off-by Rayyan Ansari <[email protected]>---
Konrad
PATCH v3 3/6 ARM: dts: qcom: add device tree for Microsoft Lumia 640
In reply to Rayyan AnsariAdd an initial device tree for the Microsoft Lumia 640, codenamed "dempsey".
--- arch/arm/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcom-msm8226-microsoft-dempsey.dts | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-dempsey.dts
arch/arm/boot/dts/qcom/Makefile +1 -0
@@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-ipq4019-ap.dk07.1-c2.dtb \ qcom-ipq8064-ap148.dtb \ qcom-ipq8064-rb3011.dtb \ + qcom-msm8226-microsoft-dempsey.dtb \ qcom-msm8226-microsoft-moneypenny.dtb \ qcom-msm8226-samsung-s3ve3g.dtb \ qcom-msm8660-surf.dtb \
arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-dempsey.dts new file +17 -0
@@ -0,0 +1,17 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Jack Matthews <[email protected]> + * Copyright (c) 2023, Ivaylo Ivanov <[email protected]> + * Copyright (c) 2023, Dominik Kobinski <[email protected]> + * Copyright (c) 2023, Rayyan Ansari <[email protected]> + */ + +/dts-v1/; + +#include "qcom-msm8226-microsoft-common.dtsi" + +/ { + model = "Microsoft Lumia 640"; + compatible = "microsoft,dempsey", "qcom,msm8226"; + chassis-type = "handset"; +};
Signature · 1 line
2.42.0
PATCH v3 4/6 ARM: dts: qcom: add device tree for Microsoft Lumia 640 XL
In reply to Rayyan AnsariAdd an initial device tree for the Microsoft Lumia 640 XL, codenamed "makepeace".
--- arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom/qcom-msm8226-microsoft-makepeace.dts | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-makepeace.dts
arch/arm/boot/dts/qcom/Makefile +1 -0
@@ -24,6 +24,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-ipq8064-ap148.dtb \ qcom-ipq8064-rb3011.dtb \ qcom-msm8226-microsoft-dempsey.dtb \ + qcom-msm8226-microsoft-makepeace.dtb \ qcom-msm8226-microsoft-moneypenny.dtb \ qcom-msm8226-samsung-s3ve3g.dtb \ qcom-msm8660-surf.dtb \
arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-makepeace.dts new file +17 -0
@@ -0,0 +1,17 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Jack Matthews <[email protected]> + * Copyright (c) 2023, Ivaylo Ivanov <[email protected]> + * Copyright (c) 2023, Dominik Kobinski <[email protected]> + * Copyright (c) 2023, Rayyan Ansari <[email protected]> + */ + +/dts-v1/; + +#include "qcom-msm8226-microsoft-common.dtsi" + +/ { + model = "Microsoft Lumia 640 XL"; + compatible = "microsoft,makepeace", "qcom,msm8226"; + chassis-type = "handset"; +};
Signature · 1 line
2.42.0
PATCH v3 5/6 ARM: dts: qcom: add device tree for Nokia Lumia 735
In reply to Rayyan AnsariAdd an initial device tree for the Nokia Lumia 735, codenamed "superman-lte".
--- arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom-msm8926-microsoft-superman-lte.dts | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-superman-lte.dts
arch/arm/boot/dts/qcom/Makefile +1 -0
@@ -32,6 +32,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8916-samsung-e7.dtb \ qcom-msm8916-samsung-grandmax.dtb \ qcom-msm8916-samsung-serranove.dtb \ + qcom-msm8926-microsoft-superman-lte.dtb \ qcom-msm8960-cdp.dtb \ qcom-msm8960-samsung-expressatt.dtb \ qcom-msm8974-lge-nexus5-hammerhead.dtb \
arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-superman-lte.dts new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.42.0
Re: [PATCH v3 5/6] ARM: dts: qcom: add device tree for Nokia Lumia 735
Quoted 11 lines · Rayyan Ansari
Add an initial device tree for the Nokia Lumia 735, codenamed "superman-lte".
Co-developed-by Dominik Kobinski <[email protected]>Signed-off-by Dominik Kobinski <[email protected]>Co-developed-by Ivaylo Ivanov <[email protected]>Signed-off-by Ivaylo Ivanov <[email protected]>Co-developed-by Jack Matthews <[email protected]>Signed-off-by Jack Matthews <[email protected]>Signed-off-by Rayyan Ansari <[email protected]>---
Konrad
PATCH v3 6/6 ARM: dts: qcom: add device tree for Nokia Lumia 830
In reply to Rayyan AnsariAdd an initial device tree for the Nokia Lumia 830, codenamed "tesla".
--- arch/arm/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcom-msm8926-microsoft-tesla.dts | 67 +++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-tesla.dts
arch/arm/boot/dts/qcom/Makefile +1 -0
@@ -33,6 +33,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8916-samsung-grandmax.dtb \ qcom-msm8916-samsung-serranove.dtb \ qcom-msm8926-microsoft-superman-lte.dtb \ + qcom-msm8926-microsoft-tesla.dtb \ qcom-msm8960-cdp.dtb \ qcom-msm8960-samsung-expressatt.dtb \ qcom-msm8974-lge-nexus5-hammerhead.dtb \
arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-tesla.dts new file +67 -0
67 lines not on this page · raw message
Signature · 1 line
2.42.0
Re: [PATCH v3 6/6] ARM: dts: qcom: add device tree for Nokia Lumia 830
Quoted 42 lines · Rayyan Ansari
Add an initial device tree for the Nokia Lumia 830, codenamed "tesla".
Co-developed-by Dominik Kobinski <[email protected]>Signed-off-by Dominik Kobinski <[email protected]>Co-developed-by Ivaylo Ivanov <[email protected]>Signed-off-by Ivaylo Ivanov <[email protected]>Co-developed-by Jack Matthews <[email protected]>Signed-off-by Jack Matthews <[email protected]>Signed-off-by Rayyan Ansari <[email protected]>--- arch/arm/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcom-msm8926-microsoft-tesla.dts | 67 +++++++++++++++++++ 2 files changed, 68 insertions(+)create mode 100644
arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-tesla.dtsarch/arm/boot/dts/qcom/Makefile +1
-0@@ -33,6 +33,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8916-samsung-grandmax.dtb \ qcom-msm8916-samsung-serranove.dtb \ qcom-msm8926-microsoft-superman-lte.dtb \ + qcom-msm8926-microsoft-tesla.dtb \ qcom-msm8960-cdp.dtb \ qcom-msm8960-samsung-expressatt.dtb \ qcom-msm8974-lge-nexus5-hammerhead.dtb \arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-tesla.dts new file +8
-0@@ -0,0 +1,67 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Jack Matthews <[email protected]> + * Copyright (c) 2023, Ivaylo Ivanov <[email protected]> + * Copyright (c) 2023, Dominik Kobinski <[email protected]> + * Copyright (c) 2023, Rayyan Ansari <[email protected]> + */ +
arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-tesla.dts line 18
Quoted 10 lines
arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-tesla.dts new file +10
-0+/dts-v1/; + +#include "qcom-msm8226-microsoft-common.dtsi" + +/* This device has touchscreen on i2c1 instead */ +/delete-node/ &touchscreen; + +/ { + model = "Nokia Lumia 830"; + compatible = "microsoft,tesla", "qcom,msm8926", "qcom,msm8226";
"we have a Tesla at home"
Konrad
Re: (subset) [PATCH v3 0/6] Initial support for MSM8x26 Lumias
In reply to Rayyan AnsariQuoted 9 lines · Rayyan Ansari
The following patches:
- Add device tree files for Nokia/Microsoft Lumia phones based around the MSM8x26 family of Qualcomm chipsets, utilising a common tree
- Document this supportv1: https://lore.kernel.org/linux-arm-msm/[email protected]/
v2: https://lore.kernel.org/linux-arm-msm/[email protected]/[...]
Applied, thanks!
[2/6] ARM: dts: qcom: add common dt for MSM8x26 Lumias along with Nokia Lumia 630
commit: 244281556a11549501eb5093e9ab0ad8a87b7d4f
[3/6] ARM: dts: qcom: add device tree for Microsoft Lumia 640
commit: 45dbc34693e8ad30c33edfdc94acaf4672de0e24
[4/6] ARM: dts: qcom: add device tree for Microsoft Lumia 640 XL
commit: a16f3bcf867efdab422b711b18c023089fbeb96e
[5/6] ARM: dts: qcom: add device tree for Nokia Lumia 735
commit: 00400a98b2c3fd5d497635747fec4b882299bc05
[6/6] ARM: dts: qcom: add device tree for Nokia Lumia 830
commit: 8677233e59137f78d4d578f3d5a21557c1bab342Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>