All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5 RESEND] arm64: dts: sdm845-xiaomi-beryllium: rename beryllium.dts into beryllium-common.dtsi
       [not found] <20220713042249.31421-1-jo@jsfamily.in>
@ 2022-07-13  4:22 ` Joel Selvaraj
  2022-07-13  4:22 ` [PATCH 2/5 RESEND] arm64: dts: qcom: sdm845-xiaomi-beryllium-common: generalize the display panel node Joel Selvaraj
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: Joel Selvaraj @ 2022-07-13  4:22 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree, linux-kernel,
	~postmarketos/upstreaming, phone-devel, Joel Selvaraj

The existing beryllium dts file is converted into a common dtsi file
which the tianma and ebbg variant will inherit.

Signed-off-by: Joel Selvaraj <jo@jsfamily.in>
---
 ...5-xiaomi-beryllium.dts => sdm845-xiaomi-beryllium-common.dtsi} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename arch/arm64/boot/dts/qcom/{sdm845-xiaomi-beryllium.dts => sdm845-xiaomi-beryllium-common.dtsi} (100%)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
similarity index 100%
rename from arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts
rename to arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
-- 
2.36.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/5 RESEND] arm64: dts: qcom: sdm845-xiaomi-beryllium-common: generalize the display panel node
       [not found] <20220713042249.31421-1-jo@jsfamily.in>
  2022-07-13  4:22 ` [PATCH 1/5 RESEND] arm64: dts: sdm845-xiaomi-beryllium: rename beryllium.dts into beryllium-common.dtsi Joel Selvaraj
@ 2022-07-13  4:22 ` Joel Selvaraj
  2022-07-13  4:22 ` [PATCH 3/5 RESEND] arm64: dts: qcom: sdm845-xiaomi-beryllium: introduce tianma variant Joel Selvaraj
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: Joel Selvaraj @ 2022-07-13  4:22 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree, linux-kernel,
	~postmarketos/upstreaming, phone-devel, Joel Selvaraj

Make the display panel nodes generic. The tianma and ebbg variant will
set the compatabile property as per the display model they use.

Signed-off-by: Joel Selvaraj <jo@jsfamily.in>
---
 .../boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
index d88dc07205f7..634999cf8987 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
@@ -221,8 +221,8 @@ &dsi0 {
 	status = "okay";
 	vdda-supply = <&vreg_l26a_1p2>;
 
-	panel@0 {
-		compatible = "tianma,fhd-video";
+	display_panel: panel@0 {
+		status = "disabled";
 		reg = <0>;
 		vddio-supply = <&vreg_l14a_1p8>;
 		vddpos-supply = <&lab>;
@@ -235,7 +235,7 @@ panel@0 {
 		reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
 
 		port {
-			tianma_nt36672a_in_0: endpoint {
+			panel_in_0: endpoint {
 				remote-endpoint = <&dsi0_out>;
 			};
 		};
@@ -243,7 +243,7 @@ tianma_nt36672a_in_0: endpoint {
 };
 
 &dsi0_out {
-	remote-endpoint = <&tianma_nt36672a_in_0>;
+	remote-endpoint = <&panel_in_0>;
 	data-lanes = <0 1 2 3>;
 };
 
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/5 RESEND] arm64: dts: qcom: sdm845-xiaomi-beryllium: introduce tianma variant
       [not found] <20220713042249.31421-1-jo@jsfamily.in>
  2022-07-13  4:22 ` [PATCH 1/5 RESEND] arm64: dts: sdm845-xiaomi-beryllium: rename beryllium.dts into beryllium-common.dtsi Joel Selvaraj
  2022-07-13  4:22 ` [PATCH 2/5 RESEND] arm64: dts: qcom: sdm845-xiaomi-beryllium-common: generalize the display panel node Joel Selvaraj
@ 2022-07-13  4:22 ` Joel Selvaraj
  2022-07-13  4:22 ` [PATCH 4/5 RESEND] arm64: dts: qcom: sdm845-xiaomi-beryllium: introduce ebbg variant Joel Selvaraj
  2022-07-13  4:22 ` [PATCH 5/5 RESEND] arm64: dts: qcom: Makefile: split beryllium into tianma and " Joel Selvaraj
  4 siblings, 0 replies; 5+ messages in thread
From: Joel Selvaraj @ 2022-07-13  4:22 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree, linux-kernel,
	~postmarketos/upstreaming, phone-devel, Joel Selvaraj

The tianma variant uses the Novatek NT36672a panel manufactured by tianma.

Signed-off-by: Joel Selvaraj <jo@jsfamily.in>
---
 .../boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts   | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts

diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts
new file mode 100644
index 000000000000..97bfc1c67eaf
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
+
+/dts-v1/;
+
+#include "sdm845-xiaomi-beryllium-common.dtsi"
+
+&display_panel {
+	status = "okay";
+	compatible = "tianma,fhd-video";
+};
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 4/5 RESEND] arm64: dts: qcom: sdm845-xiaomi-beryllium: introduce ebbg variant
       [not found] <20220713042249.31421-1-jo@jsfamily.in>
                   ` (2 preceding siblings ...)
  2022-07-13  4:22 ` [PATCH 3/5 RESEND] arm64: dts: qcom: sdm845-xiaomi-beryllium: introduce tianma variant Joel Selvaraj
@ 2022-07-13  4:22 ` Joel Selvaraj
  2022-07-13  4:22 ` [PATCH 5/5 RESEND] arm64: dts: qcom: Makefile: split beryllium into tianma and " Joel Selvaraj
  4 siblings, 0 replies; 5+ messages in thread
From: Joel Selvaraj @ 2022-07-13  4:22 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree, linux-kernel,
	~postmarketos/upstreaming, phone-devel, Joel Selvaraj

The ebbg variant uses EBBG FT8719 panel manufactured by EBBG.

Signed-off-by: Joel Selvaraj <jo@jsfamily.in>
---
 .../boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts     | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts

diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts
new file mode 100644
index 000000000000..3716e16e79b1
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
+
+/dts-v1/;
+
+#include "sdm845-xiaomi-beryllium-common.dtsi"
+
+&display_panel {
+	status = "okay";
+	compatible = "ebbg,ft8719";
+};
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 5/5 RESEND] arm64: dts: qcom: Makefile: split beryllium into tianma and ebbg variant
       [not found] <20220713042249.31421-1-jo@jsfamily.in>
                   ` (3 preceding siblings ...)
  2022-07-13  4:22 ` [PATCH 4/5 RESEND] arm64: dts: qcom: sdm845-xiaomi-beryllium: introduce ebbg variant Joel Selvaraj
@ 2022-07-13  4:22 ` Joel Selvaraj
  4 siblings, 0 replies; 5+ messages in thread
From: Joel Selvaraj @ 2022-07-13  4:22 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree, linux-kernel,
	~postmarketos/upstreaming, phone-devel, Joel Selvaraj

Remove old beryllium dtb and compile the new tianma and ebbg variant dts.

Signed-off-by: Joel Selvaraj <jo@jsfamily.in>
---
 arch/arm64/boot/dts/qcom/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 2f8aec2cc6db..5cc165dfbc94 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -106,7 +106,8 @@ dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-oneplus-fajita.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-sony-xperia-tama-akari.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-sony-xperia-tama-akatsuki.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-sony-xperia-tama-apollo.dtb
-dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-xiaomi-beryllium.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-xiaomi-beryllium-tianma.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-xiaomi-beryllium-ebbg.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sdm845-shift-axolotl.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sdm850-lenovo-yoga-c630.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sdm850-samsung-w737.dtb
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-13  4:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220713042249.31421-1-jo@jsfamily.in>
2022-07-13  4:22 ` [PATCH 1/5 RESEND] arm64: dts: sdm845-xiaomi-beryllium: rename beryllium.dts into beryllium-common.dtsi Joel Selvaraj
2022-07-13  4:22 ` [PATCH 2/5 RESEND] arm64: dts: qcom: sdm845-xiaomi-beryllium-common: generalize the display panel node Joel Selvaraj
2022-07-13  4:22 ` [PATCH 3/5 RESEND] arm64: dts: qcom: sdm845-xiaomi-beryllium: introduce tianma variant Joel Selvaraj
2022-07-13  4:22 ` [PATCH 4/5 RESEND] arm64: dts: qcom: sdm845-xiaomi-beryllium: introduce ebbg variant Joel Selvaraj
2022-07-13  4:22 ` [PATCH 5/5 RESEND] arm64: dts: qcom: Makefile: split beryllium into tianma and " Joel Selvaraj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.