arm64: dts: qcom: msm8953-lenovo-kuntao: Add initial device tree
PATCH 1/1 arm64: dts: qcom: msm8953-lenovo-kuntao: Add initial device tree
Lenovo P2 is a handset using the MSM8953 SoC released in 2016
Add a device tree for with initial support for:
- GPIO keys
- SDHCI (internal and external storage)
- USB Device Mode
- WCNSS (WiFi/BT)
- Regulators
--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/msm8953-lenovo-kuntao.dts | 240 ++++++++++++++++++ 2 files changed, 241 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -49,6 +49,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8939-huawei-kiwi.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-longcheer-l9100.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-samsung-a7.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-sony-xperia-kanuti-tulip.dtb +dtb-$(CONFIG_ARCH_QCOM) += msm8953-lenovo-kuntao.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-motorola-potter.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-daisy.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-mido.dtb
arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dts new file +240 -0
240 lines not on this page · raw message
Signature · 1 line
2.43.2
Quoted 40 lines · Raihan Ahamed
Lenovo P2 is a handset using the MSM8953 SoC released in 2016
Add a device tree for with initial support for:
- GPIO keys
- SDHCI (internal and external storage)
- USB Device Mode
- WCNSS (WiFi/BT)
- RegulatorsSigned-off-by Raihan Ahamed <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/msm8953-lenovo-kuntao.dts | 240 ++++++++++++++++++ 2 files changed, 241 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dtsarch/arm64/boot/dts/qcom/Makefile +1
-0@@ -49,6 +49,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8939-huawei-kiwi.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-longcheer-l9100.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-samsung-a7.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-sony-xperia-kanuti-tulip.dtb +dtb-$(CONFIG_ARCH_QCOM) += msm8953-lenovo-kuntao.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-motorola-potter.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-daisy.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-mido.dtbarch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dts new file +5
-0@@ -0,0 +1,240 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2024, Raihan Ahamed <[email protected]> + */ +/dts-v1/;
arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dts line 15
Quoted 10 lines
arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dts new file +10
-0+ +#include "msm8953.dtsi" +#include "pm8953.dtsi" +#include "pmi8950.dtsi" + +/delete-node/ &qseecom_mem; + +/ { + model = "Lenovo P2"; + compatible = "lenovo,kuntao", "qcom,msm8953";
Missing bindings.
Best regards,
Krzysztof
PATCH v2 1/2 dt-bindings: arm: qcom: Add Lenovo P2
Document the compatible for the MSM8953-based Lenovo P2
smartphone released in 2016
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -263,6 +263,7 @@ properties: - items: - enum: + - lenovo,kuntao - motorola,potter - xiaomi,daisy - xiaomi,mido
Signature · 1 line
2.43.2
PATCH v2 2/2 arm64: dts: qcom: msm8953-lenovo-kuntao: Add initial device tree
Lenovo P2 is a handset using the MSM8953 SoC released in 2016
Add a device tree with initial support for:
- GPIO keys
- SDHCI (internal and external storage)
- USB Device Mode
- WCNSS (WiFi/BT)
- Regulators
--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/msm8953-lenovo-kuntao.dts | 240 ++++++++++++++++++ 2 files changed, 241 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -49,6 +49,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8939-huawei-kiwi.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-longcheer-l9100.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-samsung-a7.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-sony-xperia-kanuti-tulip.dtb +dtb-$(CONFIG_ARCH_QCOM) += msm8953-lenovo-kuntao.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-motorola-potter.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-daisy.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-mido.dtb
arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dts new file +240 -0
240 lines not on this page · raw message
Signature · 1 line
2.43.2
Rob Herring
maintainerRe: [PATCH v2 1/2] dt-bindings: arm: qcom: Add Lenovo P2
In reply to Raihan AhamedQuoted 9 lines · Raihan Ahamed
Document the compatible for the MSM8953-based Lenovo P2
smartphone released in 2016
Signed-off-by Raihan Ahamed <[email protected]>--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
My bot found new DT warnings on the .dts files added or changed in this series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not.
If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:
pip3 install dtschema --upgrade
New warnings running 'make CHECK_DTBS=y qcom/msm8953-lenovo-kuntao.dtb' for [email protected]:
arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dtb: gpu@1c00000: clock-names:5: 'anyOf' conditional failed, one must be fixed:
'core' was expected
'iface' was expected
'mem' was expected
'mem_iface' was expected
'alt_mem_iface' was expected
'gfx3d' was expected
'rbbmtimer' was expected
'rbcpr' was expected
from schema $id: http://devicetree.org/schemas/display/msm/gpu.yaml#arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dtb: iommu@1c48000: compatible: 'oneOf' conditional failed, one must be fixed:
'qcom,msm8953-iommu' is not one of ['qcom,msm8976-iommu']
'qcom,msm-iommu-v1' was expected
from schema $id: http://devicetree.org/schemas/iommu/qcom,iommu.yaml#
Re: [PATCH v2 1/2] dt-bindings: arm: qcom: Add Lenovo P2
In reply to Raihan AhamedQuoted 3 lines · Raihan Ahamed
Document the compatible for the MSM8953-based Lenovo P2
smartphone released in 2016
It seems you split one sentence over multiple lines. Please join them and finish with full stop.
Also, this appeared in some odd place. Do not attach (thread) your patchsets to some other threads (unrelated or older versions). This buries them deep in the mailbox and might interfere with applying entire sets.
---
This is an automated instruction, just in case, because many review tags are being ignored. If you know the process, you can skip it (please do not feel offended by me posting it here - no bad intentions intended). If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions, under or above your Signed-off-by tag. Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for tags received on the version they apply.
https://elixir.bootlin.com/linux/v6.5-rc3/source/Documentation/process/submitting-patches.rst#L577
Best regards,
Krzysztof
Rob Herring
maintainerQuoted 10 lines · Raihan Ahamed
Lenovo P2 is a handset using the MSM8953 SoC released in 2016
Add a device tree for with initial support for:
- GPIO keys
- SDHCI (internal and external storage)
- USB Device Mode
- WCNSS (WiFi/BT)
- Regulators
Quoted 7 lines
Signed-off-by Raihan Ahamed <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/msm8953-lenovo-kuntao.dts | 240 ++++++++++++++++++ 2 files changed, 241 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dts
My bot found new DT warnings on the .dts files added or changed in this series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not.
If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:
pip3 install dtschema --upgrade
New warnings running 'make CHECK_DTBS=y qcom/msm8953-lenovo-kuntao.dtb' for [email protected]:
arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dtb: gpu@1c00000: clock-names:5: 'anyOf' conditional failed, one must be fixed:
'core' was expected
'iface' was expected
'mem' was expected
'mem_iface' was expected
'alt_mem_iface' was expected
'gfx3d' was expected
'rbbmtimer' was expected
'rbcpr' was expected
from schema $id: http://devicetree.org/schemas/display/msm/gpu.yaml#arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dtb: iommu@1c48000: compatible: 'oneOf' conditional failed, one must be fixed:
'qcom,msm8953-iommu' is not one of ['qcom,msm8976-iommu']
'qcom,msm-iommu-v1' was expected
from schema $id: http://devicetree.org/schemas/iommu/qcom,iommu.yaml#
I have checked with latest dtschema before sending version 3, it does not give anything related to gpu and iommu.
Quoted 56 lines · Rob Herring
Quoted 10 lines · Raihan Ahamed
Lenovo P2 is a handset using the MSM8953 SoC released in 2016
Add a device tree for with initial support for:
- GPIO keys
- SDHCI (internal and external storage)
- USB Device Mode
- WCNSS (WiFi/BT)
- RegulatorsQuoted 7 lines
Signed-off-by Raihan Ahamed <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/msm8953-lenovo-kuntao.dts | 240 ++++++++++++++++++ 2 files changed, 241 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dtsMy bot found new DT warnings on the .dts files added or changed in this series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not.
If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:
pip3 install dtschema --upgradeNew warnings running 'make CHECK_DTBS=y qcom/msm8953-lenovo-kuntao.dtb' for [email protected]:
arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dtb: gpu@1c00000: clock-names:5: 'anyOf' conditional failed, one must be fixed:
'core' was expected
'iface' was expected
'mem' was expected
'mem_iface' was expected
'alt_mem_iface' was expected
'gfx3d' was expected
'rbbmtimer' was expected
'rbcpr' was expected
from schema $id: http://devicetree.org/schemas/display/msm/gpu.yaml#arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dtb: iommu@1c48000: compatible: 'oneOf' conditional failed, one must be fixed:
'qcom,msm8953-iommu' is not one of ['qcom,msm8976-iommu']
'qcom,msm-iommu-v1' was expected
from schema $id: http://devicetree.org/schemas/iommu/qcom,iommu.yaml#
A message that is not in the archive (sent off-list or not yet received): CANt1HJsbYJS5p5i+WWmfMWkD5aBU67gNx9_Fi838w9x3CUPZZQ@mail.gmail.com
Quoted 2 lines · Raihan Ahamed
I have checked again with latest dtschema before sending version 3 it doesn't give anything related to gpu and iommu
At least the second warning looks real, but the error was already there
- in the DTSI.
Best regards,
Krzysztof
PATCH v3 1/2 dt-bindings: arm: qcom: Add Lenovo P2
In reply to Raihan AhamedDocument the compatible for the MSM8953-based Lenovo P2 smartphone released in 2016.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -263,6 +263,7 @@ properties: - items: - enum: + - lenovo,kuntao - motorola,potter - xiaomi,daisy - xiaomi,mido
Signature · 1 line
2.44.0
PATCH v3 2/2 arm64: dts: qcom: msm8953-lenovo-kuntao: Add initial device tree
Lenovo P2 is a handset using the MSM8953 SoC released in 2016
Add a device tree with initial support for:
- GPIO keys
- SDHCI (internal and external storage)
- USB Device Mode
- WCNSS (WiFi/BT)
- Regulators
--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/msm8953-lenovo-kuntao.dts | 240 ++++++++++++++++++ 2 files changed, 241 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -49,6 +49,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8939-huawei-kiwi.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-longcheer-l9100.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-samsung-a7.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-sony-xperia-kanuti-tulip.dtb +dtb-$(CONFIG_ARCH_QCOM) += msm8953-lenovo-kuntao.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-motorola-potter.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-daisy.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-mido.dtb
arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dts new file +240 -0
240 lines not on this page · raw message
Signature · 1 line
2.44.0
Quoted 5 lines · Raihan Ahamed
Lenovo P2 is a handset using the MSM8953 SoC released in 2016
Add a device tree with initial support for:
Quoted 8 lines
- GPIO keys
- SDHCI (internal and external storage)
- USB Device Mode
- WCNSS (WiFi/BT)
- RegulatorsAcked-by Rob Herring <[email protected]>
We gave no such tag. I'd suggest you go read what these mean.
Rob
Sorry, I misunderstood the fact. Is it necessary to change the tags only by sending another version?
Quoted 20 lines · Rob Herring
Quoted 5 lines · Raihan Ahamed
Lenovo P2 is a handset using the MSM8953 SoC released in 2016
Add a device tree with initial support for:
Quoted 8 lines
- GPIO keys
- SDHCI (internal and external storage)
- USB Device Mode
- WCNSS (WiFi/BT)
- RegulatorsAcked-by Rob Herring <[email protected]>We gave no such tag. I'd suggest you go read what these mean.
Rob
Quoted 4 lines · Raihan Ahamed
Lenovo P2 is a handset using the MSM8953 SoC released in 2016
Add a device tree with initial support for:
Quoted 8 lines
- GPIO keys
- SDHCI (internal and external storage)
- USB Device Mode
- WCNSS (WiFi/BT)
- RegulatorsAcked-by Rob Herring <[email protected]>
No, these did not happen!
Best regards,
Krzysztof
Rob Herring
maintainerRe: [PATCH v3 1/2] dt-bindings: arm: qcom: Add Lenovo P2
In reply to Raihan AhamedQuoted 8 lines · Raihan Ahamed
Document the compatible for the MSM8953-based Lenovo P2 smartphone released in 2016.
Signed-off-by Raihan Ahamed <[email protected]>--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
My bot found new DT warnings on the .dts files added or changed in this series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not.
If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:
pip3 install dtschema --upgrade
New warnings running 'make CHECK_DTBS=y qcom/msm8953-lenovo-kuntao.dtb' for [email protected]:
arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dtb: gpu@1c00000: clock-names:5: 'anyOf' conditional failed, one must be fixed:
'core' was expected
'iface' was expected
'mem' was expected
'mem_iface' was expected
'alt_mem_iface' was expected
'gfx3d' was expected
'rbbmtimer' was expected
'rbcpr' was expected
from schema $id: http://devicetree.org/schemas/display/msm/gpu.yaml#arch/arm64/boot/dts/qcom/msm8953-lenovo-kuntao.dtb: iommu@1c48000: compatible: 'oneOf' conditional failed, one must be fixed:
'qcom,msm8953-iommu' is not one of ['qcom,msm8976-iommu']
'qcom,msm-iommu-v1' was expected
from schema $id: http://devicetree.org/schemas/iommu/qcom,iommu.yaml#