Skip to contentSkip to conversation

ARM: dts: Add the support for display5 equipped with Mitsubishi (800x480) display

PATCH In review Lukasz Majewski 3 participants 8 messages Nov 17, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: Add the support for display5 equipped with Mitsubishi (800x480) display

This is the support for aa070mc01-ca1 Mitsubishi display.

---
 arch/arm/boot/dts/Makefile                         |  1 +
 .../imx6q-display5-mitsubishi-aa070-800x480.dts    | 51 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6q-display5-mitsubishi-aa070-800x480.dts
arch/arm/boot/dts/Makefile +1 -0
index d9d0c82e7d20..10b3ad078dea 100644
@@ -407,6 +407,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 	imx6q-cm-fx6.dtb \
 	imx6q-cubox-i.dtb \
 	imx6q-dfi-fs700-m60.dtb \
+	imx6q-display5-mitsubishi-aa070-800x480.dtb \
 	imx6q-display5-tianma-tm070-1280x768.dtb \
 	imx6q-dmo-edmqmx6.dtb \
 	imx6q-evi.dtb \
arch/arm/boot/dts/imx6q-display5-mitsubishi-aa070-800x480.dts new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 ARM: dts: Add the support for display5 equipped with Tianma (800x480) display

---
 arch/arm/boot/dts/Makefile                         |  1 +
 .../dts/imx6q-display5-tianma-tm070-800x480.dts    | 51 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6q-display5-tianma-tm070-800x480.dts
arch/arm/boot/dts/Makefile +1 -0
index 10b3ad078dea..699c23b83b7f 100644
@@ -409,6 +409,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 	imx6q-dfi-fs700-m60.dtb \
 	imx6q-display5-mitsubishi-aa070-800x480.dtb \
 	imx6q-display5-tianma-tm070-1280x768.dtb \
+	imx6q-display5-tianma-tm070-800x480.dtb \
 	imx6q-dmo-edmqmx6.dtb \
 	imx6q-evi.dtb \
 	imx6q-gk802.dtb \
arch/arm/boot/dts/imx6q-display5-tianma-tm070-800x480.dts new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
2.11.0
#2 lore raw
In reply to Lukasz Majewski
Quoted 21 lines · Lukasz Majewski

This is the support for aa070mc01-ca1 Mitsubishi display.

---
 arch/arm/boot/dts/Makefile                         |  1 +
 .../imx6q-display5-mitsubishi-aa070-800x480.dts    | 51 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx6q-display5-mitsubishi-aa070-800x480.dts
arch/arm/boot/dts/Makefile +1 -0
index d9d0c82e7d20..10b3ad078dea 100644
@@ -407,6 +407,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 	imx6q-cm-fx6.dtb \
 	imx6q-cubox-i.dtb \
 	imx6q-dfi-fs700-m60.dtb \
+	imx6q-display5-mitsubishi-aa070-800x480.dtb \
 	imx6q-display5-tianma-tm070-1280x768.dtb \
 	imx6q-dmo-edmqmx6.dtb \
 	imx6q-evi.dtb \

<snip>

arch/arm/boot/dts/Makefile

Quoted 5 lines
arch/arm/boot/dts/Makefile +5 -0
+#include "imx6q-display5.dtsi"
+
+&panel {
+	compatible = "mitsubishi,aa070mc01-ca1";
+};

How many DTB files do you want to add for this display5 board? It's obvious no fun to maintain a bunch of DTB files for all the panels this board can support. Let's stop right here.

Shawn

Quoted 10 lines
arch/arm/boot/dts/Makefile +7 -0
+
+&ldb {
+	lvds0: lvds-channel at 0 {
+		fsl,data-mapping = "spwg";
+		fsl,data-width = <24>;
+	};
+};
Signature · 1 line
2.11.0
#3 lore raw

Hi Shawn,

Quoted 26 lines · Lukasz Majewski
Quoted 22 lines

This is the support for aa070mc01-ca1 Mitsubishi display.

---
 arch/arm/boot/dts/Makefile                         |  1 +
 .../imx6q-display5-mitsubishi-aa070-800x480.dts    | 51
++++++++++++++++++++++ 2 files changed, 52 insertions(+)
 create mode 100644

arch/arm/boot/dts/imx6q-display5-mitsubishi-aa070-800x480.dts

arch/arm/boot/dts/Makefile +1 -0
index d9d0c82e7d20..10b3ad078dea 100644
@@ -407,6 +407,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 	imx6q-cm-fx6.dtb \
 	imx6q-cubox-i.dtb \
 	imx6q-dfi-fs700-m60.dtb \
+	imx6q-display5-mitsubishi-aa070-800x480.dtb \
 	imx6q-display5-tianma-tm070-1280x768.dtb \
 	imx6q-dmo-edmqmx6.dtb \
 	imx6q-evi.dtb \  

<snip>

Quoted 7 lines

arch/arm/boot/dts/Makefile

Quoted 5 lines
arch/arm/boot/dts/Makefile +5 -0
+#include "imx6q-display5.dtsi"
+
+&panel {
+	compatible = "mitsubishi,aa070mc01-ca1";
+};  

How many DTB files do you want to add for this display5 board?

This is a single board, which can support panels which I've posted.

Those dtbs I do pack to u-boot' FIT image and don't need to worry that some display is not working (after setting bootloader env variable).

Quoted 3 lines

It's
obvious no fun to maintain a bunch of DTB files for all the panels this board can support.

Please note that those files excessively use #include directive, and there is not so much code added (the longest part is license and comments).

Quoted 1 line

Let's stop right here.

If I may ask - how shall I proceed? What would be your suggestion to move on (dtb overlays) ?

Quoted 13 lines

Shawn

Quoted 10 lines
arch/arm/boot/dts/Makefile +7 -0
+
+&ldb {
+	lvds0: lvds-channel at 0 {
+		fsl,data-mapping = "spwg";
+		fsl,data-width = <24>;
+	};
+};
Signature · 1 line
2.11.0

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171117/a2bd84d1/attachment.sig>

#4 lore raw

Am Freitag, den 17.11.2017, 15:13 +0100 schrieb Lukasz Majewski:

Quoted 47 lines

Hi Shawn,

Quoted 27 lines · Lukasz Majewski
Quoted 23 lines

This is the support for aa070mc01-ca1 Mitsubishi display.

---
?arch/arm/boot/dts/Makefile?????????????????????????|??1 + ?.../imx6q-display5-mitsubishi-aa070-800x480.dts????| 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) ?create mode 100644 arch/arm/boot/dts/imx6q-display5-mitsubishi-aa070-800x480.dts

arch/arm/boot/dts/Makefile +1 -0
index d9d0c82e7d20..10b3ad078dea 100644
@@ -407,6 +407,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 ?	imx6q-cm-fx6.dtb \
 ?	imx6q-cubox-i.dtb \
 ?	imx6q-dfi-fs700-m60.dtb \
+	imx6q-display5-mitsubishi-aa070-800x480.dtb \
 ?	imx6q-display5-tianma-tm070-1280x768.dtb \
 ?	imx6q-dmo-edmqmx6.dtb \

? imx6q-evi.dtb \??

<snip>

Quoted 7 lines

arch/arm/boot/dts/Makefile

Quoted 5 lines
arch/arm/boot/dts/Makefile +5 -0
+#include "imx6q-display5.dtsi"
+
+&panel {
+	compatible = "mitsubishi,aa070mc01-ca1";
+};??

How many DTB files do you want to add for this display5 board???

This is a single board, which can support panels which I've posted.

Those dtbs I do pack to u-boot' FIT image and don't need to worry that
some display is not working (after setting bootloader env variable).

Quoted 3 lines

It's
obvious no fun to maintain a bunch of DTB files for all the panels this board can support.

Quoted 8 lines

Please note that those files excessively use #include directive, and there is not so much code added (the longest part is license and comments).

Quoted 1 line

?Let's stop right here.

If I may ask - how shall I proceed? What would be your suggestion to move on (dtb overlays) ?

The solution we use for the ZII RDU1 and RDU2 boards is to have the bootloader patch in the correct panel compatible strings. This is quite a bit simpler than using overlays and if you already have a environment variable for this it should be easy to do.

Quoted 10 lines
Quoted 10 lines

Shawn

arch/arm/boot/dts/Makefile

Quoted 7 lines
arch/arm/boot/dts/Makefile +7 -0
+
+&ldb {
+	lvds0: lvds-channel at 0 {
+		fsl,data-mapping = "spwg";
+		fsl,data-width = <24>;
+	};
+};

This isn't needed. The panel compatible implies the data mapping and bus width (at least if you properly filled in this information in the panel driver).

Regards,
Lucas

#5 lore raw

Hi Lucas,

Quoted 52 lines

Am Freitag, den 17.11.2017, 15:13 +0100 schrieb Lukasz Majewski:

Quoted 51 lines

Hi Shawn,

Quoted 27 lines · Lukasz Majewski
Quoted 23 lines

This is the support for aa070mc01-ca1 Mitsubishi display.

---
?arch/arm/boot/dts/Makefile?????????????????????????|??1 + ?.../imx6q-display5-mitsubishi-aa070-800x480.dts????| 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) ?create mode 100644 arch/arm/boot/dts/imx6q-display5-mitsubishi-aa070-800x480.dts

arch/arm/boot/dts/Makefile +1 -0
index d9d0c82e7d20..10b3ad078dea 100644
@@ -407,6 +407,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 ?	imx6q-cm-fx6.dtb \
 ?	imx6q-cubox-i.dtb \
 ?	imx6q-dfi-fs700-m60.dtb \
+	imx6q-display5-mitsubishi-aa070-800x480.dtb \
 ?	imx6q-display5-tianma-tm070-1280x768.dtb \
 ?	imx6q-dmo-edmqmx6.dtb \

? imx6q-evi.dtb \??

<snip>

Quoted 7 lines

arch/arm/boot/dts/Makefile

Quoted 5 lines
arch/arm/boot/dts/Makefile +5 -0
+#include "imx6q-display5.dtsi"
+
+&panel {
+	compatible = "mitsubishi,aa070mc01-ca1";
+};??  

How many DTB files do you want to add for this display5 board???

This is a single board, which can support panels which I've posted.

Those dtbs I do pack to u-boot' FIT image and don't need to worry that
some display is not working (after setting bootloader env variable).

Quoted 3 lines

It's
obvious no fun to maintain a bunch of DTB files for all the panels this board can support.

Please note that those files excessively use #include directive, and there is not so much code added (the longest part is license and comments).

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

?Let's stop right here.

If I may ask - how shall I proceed? What would be your suggestion to move on (dtb overlays) ?

The solution we use for the ZII RDU1 and RDU2 boards is to have the bootloader patch in the correct panel compatible strings.

Do you mean adjusting the DTB accordingly in u-boot for each display - change panel/compatible to new display name ?

Quoted 19 lines

This is
quite a bit simpler than using overlays and if you already have a environment variable for this it should be easy to do.

Quoted 10 lines
Quoted 10 lines

Shawn

arch/arm/boot/dts/Makefile

Quoted 7 lines
arch/arm/boot/dts/Makefile +7 -0
+
+&ldb {
+	lvds0: lvds-channel at 0 {
+		fsl,data-mapping = "spwg";
+		fsl,data-width = <24>;
+	};
+};  

This isn't needed. The panel compatible implies the data mapping and bus width (at least if you properly filled in this information in the panel driver).

Quoted 2 lines

Regards,
Lucas

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171117/3ce4873b/attachment.sig>

#6 lore raw

Am Freitag, den 17.11.2017, 16:03 +0100 schrieb Lukasz Majewski:

Quoted 56 lines

Hi Lucas,

Quoted 54 lines

Am Freitag, den 17.11.2017, 15:13 +0100 schrieb Lukasz Majewski:

Quoted 53 lines

Hi Shawn,
??

Quoted 27 lines

On Fri, Nov 17, 2017 at 11:24:03AM +0100, Lukasz Majewski wrote:??

Quoted 22 lines

This is the support for aa070mc01-ca1 Mitsubishi display.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

---
?arch/arm/boot/dts/Makefile?????????????????????????|??1 + ?.../imx6q-display5-mitsubishi-aa070-800x480.dts????| 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) ?create mode 100644 arch/arm/boot/dts/imx6q-display5-mitsubishi-aa070-800x480.dts

arch/arm/boot/dts/Makefile +0 -0
index d9d0c82e7d20..10b3ad078dea 100644
@@ -407,6 +407,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
 > > > > > ?	imx6q-cm-fx6.dtb \
 > > > > > ?	imx6q-cubox-i.dtb \
 > > > > > ?	imx6q-dfi-fs700-m60.dtb \
 > > > > > +	imx6q-display5-mitsubishi-aa070-800x480.dtb \
 > > > > > ?	imx6q-display5-tianma-tm070-1280x768.dtb \
 > > > > > ?	imx6q-dmo-edmqmx6.dtb \
Quoted 1 line

? imx6q-evi.dtb \????

<snip>
??

Quoted 7 lines
Quoted 5 lines
arch/arm/boot/dts/Makefile +3 -0
+#include "imx6q-display5.dtsi"
+
+&panel {
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

arch/arm/boot/dts/imx6q-display5-mitsubishi-aa070-800x480.dts line 43

Quoted 1 line
arch/arm/boot/dts/imx6q-display5-mitsubishi-aa070-800x480.dts new file +1 -0
+	compatible = "mitsubishi,aa070mc01-ca1";

+};????

How many DTB files do you want to add for this display5 board?????

This is a single board, which can support panels which I've posted.

Those dtbs I do pack to u-boot' FIT image and don't need to worry that
some display is not working (after setting bootloader env variable). ??

Quoted 3 lines

It's
obvious no fun to maintain a bunch of DTB files for all the panels this board can support.??

Please note that those files excessively use #include directive, and there is not so much code added (the longest part is license and comments).
??

Quoted 1 line

?Let's stop right here.??

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

If I may ask - how shall I proceed? What would be your suggestion to move on (dtb overlays) ???

The solution we use for the ZII RDU1 and RDU2 boards is to have the bootloader patch in the correct panel compatible strings.?

Do you mean adjusting the DTB accordingly in u-boot for each display - change panel/compatible to new display name ?

Exactly. Simply let the bootloader insert the correct panel compatible string into the DTB.

Regards,
Lucas

#7 lore raw
Quoted 65 lines · On Fri, 17 Nov 2017 16:07:18 +0100 Lucas Stach <[email protected]> wrote:

Am Freitag, den 17.11.2017, 16:03 +0100 schrieb Lukasz Majewski:

Quoted 64 lines

Hi Lucas,

Quoted 62 lines

Am Freitag, den 17.11.2017, 15:13 +0100 schrieb Lukasz Majewski:

Quoted 60 lines

Hi Shawn,
??

Quoted 32 lines

On Fri, Nov 17, 2017 at 11:24:03AM +0100, Lukasz Majewski wrote:??

Quoted 23 lines

This is the support for aa070mc01-ca1 Mitsubishi display.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

---
?arch/arm/boot/dts/Makefile?????????????????????????|??1 + ?.../imx6q-display5-mitsubishi-aa070-800x480.dts????| 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) ?create mode 100644 arch/arm/boot/dts/imx6q-display5-mitsubishi-aa070-800x480.dts

arch/arm/boot/dts/Makefile +0 -0
index d9d0c82e7d20..10b3ad078dea 100644
@@ -407,6 +407,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \  
 > > > > > ?	imx6q-cm-fx6.dtb \
 > > > > > ?	imx6q-cubox-i.dtb \
 > > > > > ?	imx6q-dfi-fs700-m60.dtb \
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

+
imx6q-display5-mitsubishi-aa070-800x480.dtb \
imx6q-display5-tianma-tm070-1280x768.dtb \
imx6q-dmo-edmqmx6.dtb \

Quoted 1 line

? imx6q-evi.dtb \????

<snip>
??

Quoted 3 lines
arch/arm/boot/dts/Makefile +3 -0
+#include "imx6q-display5.dtsi"
+
+&panel {  
Quoted 6 lines
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
(quoted diff) +1 -0
+	compatible =

"mitsubishi,aa070mc01-ca1";

+};????

How many DTB files do you want to add for this display5 board?????

This is a single board, which can support panels which I've posted.

Those dtbs I do pack to u-boot' FIT image and don't need to worry that
some display is not working (after setting bootloader env variable).

Quoted 3 lines

It's
obvious no fun to maintain a bunch of DTB files for all the panels this board can support.??

Please note that those files excessively use #include directive, and there is not so much code added (the longest part is license and comments).
??

Quoted 1 line

?Let's stop right here.??

If I may ask - how shall I proceed? What would be your suggestion to move on (dtb overlays) ???

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

The solution we use for the ZII RDU1 and RDU2 boards is to have the bootloader patch in the correct panel compatible strings.?

Do you mean adjusting the DTB accordingly in u-boot for each display - change panel/compatible to new display name ?

Exactly. Simply let the bootloader insert the correct panel compatible string into the DTB.

This would complicate a few other things :-),

but yes, this seems to be a technically better idea (in terms of final binary size).

Thanks for help.

Quoted 3 lines

Regards,
Lucas

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171117/8874a8f2/attachment.sig>