Re: [PATCH 1/3] spi: s3c64xx: support spi polling mode using devicetree

From: Mark Brown
Date: Tue Apr 04 2023 - 06:57:24 EST


On Tue, Apr 04, 2023 at 03:00:09PM +0900, Jaewon Kim wrote:
> This patch adds new 'samsung,spi-polling' property to support polling mode.
> In some environments, polling mode is required even if DMA is supported.
> Changed it to support not only with quick but also optinally with
> devicetree.

Why would this be required if we can use DMA? If this is a performance
optimisation for small messages the driver should just work out when to
choose PIO over DMA like other drivers do. It is hard to see this as a
hardware property which should be configured via DT.

Attachment: signature.asc
Description: PGP signature