Thread (21 messages) flat view 21 messages, 5 authors, 2020-05-15

Re: [PATCH v3 3/5] ARM: dts: stm32: enable ltdc binding with ili9341 on stm32429-disco board

From: dillon min <hidden>
Date: 2020-05-14 13:08:24
Also in: dri-devel, linux-clk, linux-devicetree, lkml

Hi Alexandre,

On Thu, May 14, 2020 at 8:53 PM Alexandre Torgue
[off-list ref] wrote:


On 5/14/20 10:24 AM, Linus Walleij wrote:
quoted
On Tue, May 12, 2020 at 9:04 AM [off-list ref] wrote:
quoted
From: dillon min <redacted>

Enable the ltdc & ili9341 on stm32429-disco board.

Signed-off-by: dillon min <redacted>
This mostly looks good but...
quoted
+&spi5 {
+       status = "okay";
+       pinctrl-0 = <&spi5_pins>;
+       pinctrl-names = "default";
+       #address-cells = <1>;
+       #size-cells = <0>;
+       cs-gpios = <&gpioc 2 GPIO_ACTIVE_LOW>;
+       dmas = <&dma2 3 2 0x400 0x0>,
+              <&dma2 4 2 0x400 0x0>;
+       dma-names = "rx", "tx";
These DMA assignments seem to be SoC things and should
rather be in the DTS(I) file where &spi5 is defined, right?
stm32f429.dtsi I suppose?
I agree with Linus, DMA have to be defined in SoC dtsi. And if a board
doesn't want to use it, we use the "delete-property".
Yes, will move to Soc dtsi in next submits.

i'm working on write a v4l2-m2m driver for dma2d of stm32 to support
pixel conversion
alpha blending between foreground and background graphics.

as you know, some soc's engineer trying to add this function to drm system.

do you know st's planning about soc's hardware accelerator driver on stm32mp?
such as chrom-art, will add to drm subsystem via ioctl to access, or to v4l2,

thanks.
quoted
It is likely the same no matter which device is using spi5.

Yours,
Linus Walleij
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help