ARM: dts: da850: specify the maximum bandwidth for tilcdc
PATCH 1/1 ARM: dts: da850: specify the maximum bandwidth for tilcdc
It has been determined that the maximum resolution supported correctly by tilcdc rev1 on da850 SoCs is 800x600 at 60. Due to memory throughput constraints we must filter out higher modes.
Specify the max-bandwidth property for the display node for da850-based boards.
--- arch/arm/boot/dts/da850.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/da850.dtsi +1 -0
@@ -452,6 +452,7 @@ compatible = "ti,da850-tilcdc"; reg = <0x213000 0x1000>; interrupts = <52>; + max-bandwidth = <28800000>; status = "disabled"; ports {
Signature · 1 line
2.9.3
Quoted 17 lines · Bartosz Golaszewski
It has been determined that the maximum resolution supported correctly by tilcdc rev1 on da850 SoCs is 800x600@60. Due to memory throughput constraints we must filter out higher modes.
Specify the max-bandwidth property for the display node for da850-based boards.
--- arch/arm/boot/dts/da850.dtsi | 1 + 1 file changed, 1 insertion(+)arch/arm/boot/dts/da850.dtsi +0
-0
arch/arm/boot/dts/da850.dtsi line 455
Quoted 4 lines
arch/arm/boot/dts/da850.dtsi +1
-0@@ -452,6 +452,7 @@ compatible = "ti,da850-tilcdc"; reg = <0x213000 0x1000>; interrupts = <52>; + max-bandwidth = <28800000>;
If this is effectively the max pixel clock that the device supports, then why not use the datasheet specified value of 37.5 MHz (Tc = 26.66 ns).
Thanks,
Sekhar
--
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
Quoted 13 lines · Sekhar Nori
Quoted 12 lines · Bartosz Golaszewski
It has been determined that the maximum resolution supported correctly by tilcdc rev1 on da850 SoCs is 800x600 at 60. Due to memory throughput constraints we must filter out higher modes.
Specify the max-bandwidth property for the display node for da850-based boards.
Signed-off-by Bartosz Golaszewski <[email protected]>--- arch/arm/boot/dts/da850.dtsi | 1 + 1 file changed, 1 insertion(+)
Quoted 12 lines
arch/arm/boot/dts/da850.dtsi line 455
Quoted 9 lines
arch/arm/boot/dts/da850.dtsi +1
-0@@ -452,6 +452,7 @@ compatible = "ti,da850-tilcdc"; reg = <0x213000 0x1000>; interrupts = <52>; + max-bandwidth = <28800000>;If this is effectively the max pixel clock that the device supports, then why not use the datasheet specified value of 37.5 MHz (Tc = 26.66 ns).
There's a separate property for max-pixelclock. This one is maximum pixels per second (which does sound almost the same), but the doc says it's about the particular memory interface + LCDC combination.
But this 'max-bandwidth' does sound quite odd, as the it really should be bytes, not pixels... Bad bindings again, which we just have to use.
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/20161128/12541df9/attachment.sig>
Quoted 27 lines · Tomi Valkeinen
Quoted 13 lines · Sekhar Nori
Quoted 12 lines · Bartosz Golaszewski
It has been determined that the maximum resolution supported correctly by tilcdc rev1 on da850 SoCs is 800x600@60. Due to memory throughput constraints we must filter out higher modes.
Specify the max-bandwidth property for the display node for da850-based boards.
--- arch/arm/boot/dts/da850.dtsi | 1 + 1 file changed, 1 insertion(+)Quoted 12 lines
arch/arm/boot/dts/da850.dtsi line 455
Quoted 9 lines
arch/arm/boot/dts/da850.dtsi +1
-0@@ -452,6 +452,7 @@ compatible = "ti,da850-tilcdc"; reg = <0x213000 0x1000>; interrupts = <52>; + max-bandwidth = <28800000>;If this is effectively the max pixel clock that the device supports, then why not use the datasheet specified value of 37.5 MHz (Tc = 26.66 ns).
Quoted 3 lines
There's a separate property for max-pixelclock. This one is maximum pixels per second (which does sound almost the same), but the doc says it's about the particular memory interface + LCDC combination.
DA850 supports both mDDR and DDR2, at slightly different speeds. So memory bandwidth limitation is also board specific. This should probably move to board file.
But I would like to know why using max-pixelclock is not good enough. Have experiments shown that LCDC on DA850 LCDK underflows even if pixel clock is below the datasheet recommendation?
Thanks,
Sekhar
--
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
2016-11-28 8:58 GMT+01:00 Sekhar Nori <[email protected]>:
Quoted 32 lines · Tomi Valkeinen
Quoted 27 lines · Sekhar Nori
Quoted 13 lines · Bartosz Golaszewski
Quoted 12 lines
It has been determined that the maximum resolution supported correctly by tilcdc rev1 on da850 SoCs is 800x600 at 60. Due to memory throughput constraints we must filter out higher modes.
Specify the max-bandwidth property for the display node for da850-based boards.
Signed-off-by Bartosz Golaszewski <[email protected]>--- arch/arm/boot/dts/da850.dtsi | 1 + 1 file changed, 1 insertion(+)Quoted 12 lines
arch/arm/boot/dts/da850.dtsi line 455
Quoted 9 lines
arch/arm/boot/dts/da850.dtsi +1
-0@@ -452,6 +452,7 @@ compatible = "ti,da850-tilcdc"; reg = <0x213000 0x1000>; interrupts = <52>; + max-bandwidth = <28800000>;If this is effectively the max pixel clock that the device supports, then why not use the datasheet specified value of 37.5 MHz (Tc = 26.66 ns).
Quoted 3 lines
There's a separate property for max-pixelclock. This one is maximum pixels per second (which does sound almost the same), but the doc says it's about the particular memory interface + LCDC combination.
Quoted 8 lines
DA850 supports both mDDR and DDR2, at slightly different speeds. So memory bandwidth limitation is also board specific. This should probably move to board file.
But I would like to know why using max-pixelclock is not good enough. Have experiments shown that LCDC on DA850 LCDK underflows even if pixel clock is below the datasheet recommendation?
Hi Sekhar,
I've just tested 1024x768 at 37000 KHz - indeed seems like the underflows are gone as soon as we go below 37500 KHz. I'll submit a new patch using the max-pixelclock property.
Thanks,
Bartosz Golaszewski