Tegra30: add support for LG tegra based phones
Subsystems (2)
cover Tegra30: add support for LG tegra based phones
Bring up Tegra 3 based LG phones Optimus 4X HD and Optimus Vu based on LG X3 board.
Maxim Schwalm (1):
dt-bindings: arm: tegra: Add LG Optimus Vu P895 and Optimus 4X P880
Svyatoslav Ryhel (3):
dt-bindings: vendor-prefixes: add LG Electronics, Inc. prefix
ARM: tegra: Add device-tree for LG Optimus Vu (P895)
ARM: tegra: Add device-tree for LG Optimus 4X HD (P880)
.../devicetree/bindings/arm/tegra.yaml | 8 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm/boot/dts/nvidia/Makefile | 2 + arch/arm/boot/dts/nvidia/tegra30-lg-p880.dts | 489 +++++ arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts | 496 +++++ arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi | 1821 +++++++++++++++++ 6 files changed, 2818 insertions(+) create mode 100644 arch/arm/boot/dts/nvidia/tegra30-lg-p880.dts create mode 100644 arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts create mode 100644 arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi
Signature · 1 line
2.40.1
PATCH 1/4 dt-bindings: vendor-prefixes: add LG Electronics, Inc. prefix
Add missing LG Electronics, Inc. prefix used by some older devices.
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -767,6 +767,8 @@ patternProperties: description: LG Corporation "^lgphilips,.*": description: LG Display + "^lge,.*": + description: LG Electronics, Inc. "^libretech,.*": description: Shenzhen Libre Technology Co., Ltd "^licheepi,.*":
Signature · 1 line
2.40.1
Re: [PATCH v1 1/4] dt-bindings: vendor-prefixes: add LG Electronics, Inc. prefix
Quoted 1 line · Svyatoslav Ryhel
Add missing LG Electronics, Inc. prefix used by some older devices.
Is it? You're only adding these devices now as far as I can see.
Quoted 22 lines
Signed-off-by Svyatoslav Ryhel <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-0@@ -767,6 +767,8 @@ patternProperties: description: LG Corporation "^lgphilips,.*": description: LG Display + "^lge,.*": + description: LG Electronics, Inc. "^libretech,.*": description: Shenzhen Libre Technology Co., Ltd "^licheepi,.*":Signature · 1 line
2.40.1
Re: [PATCH v1 1/4] dt-bindings: vendor-prefixes: add LG Electronics, Inc. prefix
31 січня 2024 р. 17:28:49 GMT+02:00, Conor Dooley <[email protected]> написав(-ла):
Quoted 5 lines · Svyatoslav Ryhel
Quoted 1 line
Add missing LG Electronics, Inc. prefix used by some older devices.
Is it? You're only adding these devices now as far as I can see.
Hammerhead (LG Nexus 5)
Quoted 22 lines
Quoted 22 lines
Signed-off-by Svyatoslav Ryhel <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-0@@ -767,6 +767,8 @@ patternProperties: description: LG Corporation "^lgphilips,.*": description: LG Display + "^lge,.*": + description: LG Electronics, Inc. "^libretech,.*": description: Shenzhen Libre Technology Co., Ltd "^licheepi,.*":Signature · 1 line
2.40.1
Re: [PATCH v1 1/4] dt-bindings: vendor-prefixes: add LG Electronics, Inc. prefix
Quoted 10 lines · Svyatoslav
31 січня 2024 р. 17:28:49 GMT+02:00, Conor Dooley <[email protected]> написав(-ла):
Quoted 5 lines · Svyatoslav Ryhel
Quoted 1 line
Add missing LG Electronics, Inc. prefix used by some older devices.
Is it? You're only adding these devices now as far as I can see.
Hammerhead (LG Nexus 5)
I have absolutely no idea what this means. Please link me the in-tree devicetree of the user (or the patchset adding it).
Thanks,
Conor
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Signed-off-by Svyatoslav Ryhel <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-0@@ -767,6 +767,8 @@ patternProperties: description: LG Corporation "^lgphilips,.*": description: LG Display + "^lge,.*": + description: LG Electronics, Inc. "^libretech,.*": description: Shenzhen Libre Technology Co., Ltd "^licheepi,.*":Signature · 1 line
2.40.1
Re: [PATCH v1 1/4] dt-bindings: vendor-prefixes: add LG Electronics, Inc. prefix
31 січня 2024 р. 18:02:31 GMT+02:00, Conor Dooley <[email protected]> написав(-ла):
Quoted 10 lines · Svyatoslav
Quoted 9 lines
31 січня 2024 р. 17:28:49 GMT+02:00, Conor Dooley <[email protected]> написав(-ла):
Quoted 5 lines · Svyatoslav Ryhel
Quoted 1 line
Add missing LG Electronics, Inc. prefix used by some older devices.
Is it? You're only adding these devices now as far as I can see.
Quoted 8 lines
Quoted 1 line
Hammerhead (LG Nexus 5)
I have absolutely no idea what this means. Please link me the in-tree devicetree of the user (or the patchset adding it).
Thanks,
Conor
Sure, here you go
<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts?h=linux-6.4.y#n11>
So devices I have sent are not the first.
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Signed-off-by Svyatoslav Ryhel <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-0@@ -767,6 +767,8 @@ patternProperties: description: LG Corporation "^lgphilips,.*": description: LG Display + "^lge,.*": + description: LG Electronics, Inc. "^libretech,.*": description: Shenzhen Libre Technology Co., Ltd "^licheepi,.*":Signature · 1 line
2.40.1
Conor Dooley
Acked-byRe: [PATCH v1 1/4] dt-bindings: vendor-prefixes: add LG Electronics, Inc. prefix
Quoted 18 lines · Svyatoslav
31 січня 2024 р. 18:02:31 GMT+02:00, Conor Dooley <[email protected]> написав(-ла):
Quoted 15 lines · Svyatoslav
Quoted 10 lines
31 січня 2024 р. 17:28:49 GMT+02:00, Conor Dooley <[email protected]> написав(-ла):
Quoted 5 lines · Svyatoslav Ryhel
Quoted 1 line
Add missing LG Electronics, Inc. prefix used by some older devices.
Is it? You're only adding these devices now as far as I can see.
Hammerhead (LG Nexus 5)
I have absolutely no idea what this means. Please link me the in-tree devicetree of the user (or the patchset adding it).
Quoted 8 lines
Quoted 3 lines
Thanks,
ConorSure, here you go
<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts?h=linux-6.4.y#n11>So devices I have sent are not the first.
Thanks.
Cheers,
Conor.
Re: [PATCH v1 1/4] dt-bindings: vendor-prefixes: add LG Electronics, Inc. prefix
In reply to SvyatoslavQuoted 18 lines · Svyatoslav
31 січня 2024 р. 18:02:31 GMT+02:00, Conor Dooley <[email protected]> написав(-ла):
Quoted 15 lines · Svyatoslav
Quoted 10 lines
31 січня 2024 р. 17:28:49 GMT+02:00, Conor Dooley <[email protected]> написав(-ла):
Quoted 5 lines · Svyatoslav Ryhel
Quoted 1 line
Add missing LG Electronics, Inc. prefix used by some older devices.
Is it? You're only adding these devices now as far as I can see.
Hammerhead (LG Nexus 5)
I have absolutely no idea what this means. Please link me the in-tree devicetree of the user (or the patchset adding it).
Quoted 8 lines
Quoted 3 lines
Thanks,
ConorSure, here you go
<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts?h=linux-6.4.y#n11>So devices I have sent are not the first.
Please look for existing work doing the same...
Best regards,
Krzysztof
Rob Herring
maintainerRe: [PATCH v1 1/4] dt-bindings: vendor-prefixes: add LG Electronics, Inc. prefix
Quoted 23 lines · Krzysztof Kozlowski
Quoted 22 lines · Svyatoslav
31 січня 2024 р. 18:02:31 GMT+02:00, Conor Dooley <[email protected]> написав(-ла):
Quoted 18 lines · Svyatoslav
Quoted 10 lines
31 січня 2024 р. 17:28:49 GMT+02:00, Conor Dooley <[email protected]> написав(-ла):
Quoted 5 lines · Svyatoslav Ryhel
Quoted 1 line
Add missing LG Electronics, Inc. prefix used by some older devices.
Is it? You're only adding these devices now as far as I can see.
Hammerhead (LG Nexus 5)
I have absolutely no idea what this means. Please link me the in-tree devicetree of the user (or the patchset adding it).
Thanks,
Conor
Quoted 6 lines
Quoted 4 lines
Sure, here you go
<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts?h=linux-6.4.y#n11>So devices I have sent are not the first.
Please look for existing work doing the same...
Took me a minute to parse this.
I believe what Krzysztof means is look at the link he posted and follow the suggestion there. Fix the one case, lge,hammerhead, to use 'lg'.
Rob
Re: [PATCH v1 1/4] dt-bindings: vendor-prefixes: add LG Electronics, Inc. prefix
In reply to Svyatoslav RyhelQuoted 4 lines · Svyatoslav Ryhel
Add missing LG Electronics, Inc. prefix used by some older devices.
Signed-off-by Svyatoslav Ryhel <[email protected]>---
NAK, same reasons as before:
https://lore.kernel.org/all/[email protected]/
Best regards,
Krzysztof
PATCH 2/4 dt-bindings: arm: tegra: Add LG Optimus Vu P895 and Optimus 4X P880
In reply to Svyatoslav RyhelFrom: Maxim Schwalm <[email protected]>
Add a compatible for the LG Optimus Vu P895 and Optimus 4X P880.
--- Documentation/devicetree/bindings/arm/tegra.yaml | 8 ++++++++ 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/arm/tegra.yaml +8 -0
@@ -64,6 +64,14 @@ properties: - items: - const: asus,tf700t - const: nvidia,tegra30 + - description: LG Optimus 4X P880 + items: + - const: lge,p880 + - const: nvidia,tegra30 + - description: LG Optimus Vu P895 + items: + - const: lge,p895 + - const: nvidia,tegra30 - items: - const: toradex,apalis_t30-eval - const: toradex,apalis_t30
Signature · 1 line
2.40.1
Re: [PATCH v1 2/4] dt-bindings: arm: tegra: Add LG Optimus Vu P895 and Optimus 4X P880
Quoted 14 lines · Svyatoslav Ryhel
From: Maxim Schwalm <[email protected]>
Add a compatible for the LG Optimus Vu P895 and Optimus 4X P880.
Signed-off-by Maxim Schwalm <[email protected]>--- Documentation/devicetree/bindings/arm/tegra.yaml | 8 ++++++++ 1 file changed, 8 insertions(+)Documentation/devicetree/bindings/arm/tegra.yaml +0
-0
Documentation/devicetree/bindings/arm/tegra.yaml properties: · line 69
Quoted 6 lines
Documentation/devicetree/bindings/arm/tegra.yaml +3
-0@@ -64,6 +64,14 @@ properties: - items: - const: asus,tf700t - const: nvidia,tegra30 + - description: LG Optimus 4X P880 + items: + - const: lge,p880
NAK, it is not lge, but lg.
Best regards,
Krzysztof
PATCH 3/4 ARM: tegra: Add device-tree for LG Optimus Vu (P895)
In reply to Svyatoslav RyhelAdd device-tree for LG Optimus Vu P895, which is a NVIDIA Tegra30-based smartphone, orignally running Android.
--- arch/arm/boot/dts/nvidia/Makefile | 1 + arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts | 496 +++++ arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi | 1821 ++++++++++++++++++ 3 files changed, 2318 insertions(+) create mode 100644 arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts create mode 100644 arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi
arch/arm/boot/dts/nvidia/Makefile +1 -0
@@ -39,5 +39,6 @@ dtb-$(CONFIG_ARCH_TEGRA_3x_SOC) += \ tegra30-cardhu-a02.dtb \ tegra30-cardhu-a04.dtb \ tegra30-colibri-eval-v3.dtb \ + tegra30-lg-p895.dtb \ tegra30-ouya.dtb \ tegra30-pegatron-chagall.dtb
arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts new file +496 -0
496 lines not on this page · raw message
arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi new file +1821 -0
1,821 lines not on this page · raw message
Signature · 1 line
2.40.1
Re: [PATCH v1 3/4] ARM: tegra: Add device-tree for LG Optimus Vu (P895)
Quoted 29 lines · Svyatoslav Ryhel
Add device-tree for LG Optimus Vu P895, which is a NVIDIA Tegra30-based smartphone, orignally running Android.
Signed-off-by Svyatoslav Ryhel <[email protected]>--- arch/arm/boot/dts/nvidia/Makefile | 1 + arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts | 496 +++++ arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi | 1821 ++++++++++++++++++ 3 files changed, 2318 insertions(+) create mode 100644 arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts create mode 100644 arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsiarch/arm/boot/dts/nvidia/Makefile +1
-0@@ -39,5 +39,6 @@ dtb-$(CONFIG_ARCH_TEGRA_3x_SOC) += \ tegra30-cardhu-a02.dtb \ tegra30-cardhu-a04.dtb \ tegra30-colibri-eval-v3.dtb \ + tegra30-lg-p895.dtb \ tegra30-ouya.dtb \ tegra30-pegatron-chagall.dtbarch/arm/boot/dts/nvidia/tegra30-lg-p895.dts new file +0
-0
arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts line 8
Quoted 8 lines
arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts new file +8
-0@@ -0,0 +1,496 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra30-lg-x3.dtsi" + +/ { + model = "LG Optimus Vu P895"; + compatible = "lge,p895", "nvidia,tegra30";
This is lg, not lge.
Also, all over the file you have underscores in node names. They are not allowed. Please consult DTS coding style document.
Best regards,
Krzysztof
PATCH 4/4 ARM: tegra: Add device-tree for LG Optimus 4X HD (P880)
In reply to Svyatoslav RyhelAdd device-tree for LG Optimus 4X HD P880, which is a NVIDIA Tegra30-based smartphone, orignally running Android.
--- arch/arm/boot/dts/nvidia/Makefile | 1 + arch/arm/boot/dts/nvidia/tegra30-lg-p880.dts | 489 +++++++++++++++++++ 2 files changed, 490 insertions(+) create mode 100644 arch/arm/boot/dts/nvidia/tegra30-lg-p880.dts
arch/arm/boot/dts/nvidia/Makefile +1 -0
@@ -39,6 +39,7 @@ dtb-$(CONFIG_ARCH_TEGRA_3x_SOC) += \ tegra30-cardhu-a02.dtb \ tegra30-cardhu-a04.dtb \ tegra30-colibri-eval-v3.dtb \ + tegra30-lg-p880.dtb \ tegra30-lg-p895.dtb \ tegra30-ouya.dtb \ tegra30-pegatron-chagall.dtb
arch/arm/boot/dts/nvidia/tegra30-lg-p880.dts new file +489 -0
489 lines not on this page · raw message
Signature · 1 line
2.40.1