Skip to contentSkip to conversation

ARM: dts: da850: specify max width for display node

PATCH In review Bartosz Golaszewski 2 participants 3 messages Nov 22, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: da850: specify max width for display node

It has been determined that the highest resolution supported correctly by LCDC rev1 is 800x600 on da850 due to memory bandwidth constraints.

Set the max_width property in da850.dtsi to 800.

---
 arch/arm/boot/dts/da850.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/da850.dtsi +1 -0
index 36066fa..0876238 100644
@@ -441,6 +441,7 @@
 			compatible = "ti,da850-tilcdc";
 			reg = <0x213000 0x1000>;
 			interrupts = <52>;
+			max-width = <800>;
 			status = "disabled";
 		};
 	};
Signature · 1 line
2.9.3
#1 lore raw
Quoted 16 lines · Bartosz Golaszewski

It has been determined that the highest resolution supported correctly by LCDC rev1 is 800x600 on da850 due to memory bandwidth constraints.

Set the max_width property in da850.dtsi to 800.

---
 arch/arm/boot/dts/da850.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/da850.dtsi +0 -0
index 36066fa..0876238 100644

arch/arm/boot/dts/da850.dtsi line 447

Quoted 7 lines
arch/arm/boot/dts/da850.dtsi +1 -0
@@ -441,6 +441,7 @@
 			compatible = "ti,da850-tilcdc";
 			reg = <0x213000 0x1000>;
 			interrupts = <52>;
+			max-width = <800>;
 			status = "disabled";
 		};
 	};

Does 1024x768 at 10 work?

The max-width should be the hardware's maximum supported width, not used for bandwidth. tilcdc has max-bandwidth property for that.

Tomi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161122/6e711402/attachment.sig>

#2 lore raw

2016-11-22 11:27 GMT+01:00 Tomi Valkeinen <[email protected]>:

Quoted 27 lines · Bartosz Golaszewski
Quoted 16 lines

It has been determined that the highest resolution supported correctly by LCDC rev1 is 800x600 on da850 due to memory bandwidth constraints.

Set the max_width property in da850.dtsi to 800.

---
 arch/arm/boot/dts/da850.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/da850.dtsi +0 -0
index 36066fa..0876238 100644

arch/arm/boot/dts/da850.dtsi line 447

Quoted 7 lines
arch/arm/boot/dts/da850.dtsi +1 -0
@@ -441,6 +441,7 @@
                      compatible = "ti,da850-tilcdc";
                      reg = <0x213000 0x1000>;
                      interrupts = <52>;
+                     max-width = <800>;
                      status = "disabled";
              };
      };

Does 1024x768@10 work?

Quoted 5 lines

The max-width should be the hardware's maximum supported width, not used for bandwidth. tilcdc has max-bandwidth property for that.

Tomi

Eeek I misread Jyri's answer.

Will fix that in v2.

Thanks,
Bartosz
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html