[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230419060639.38853-1-jaewon02.kim@samsung.com>
Date: Wed, 19 Apr 2023 15:06:35 +0900
From: Jaewon Kim <jaewon02.kim@...sung.com>
To: Mark Brown <broonie@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Andi Shyti <andi@...zian.org>,
Alim Akhtar <alim.akhtar@...sung.com>
Cc: linux-spi@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Chanho Park <chanho61.park@...sung.com>,
Jaewon Kim <jaewon02.kim@...sung.com>
Subject: [PATCH v2 0/4] Improves polling mode of s3c64xx driver
1.
s3cx64xx driver was supporting polling mode using quirk for SOC without DMA.
However, in order to use PIO mode as an optional rather than a quirk, when DMA
is not described, spi operates with pio mode rather than probe fail.
2.
Fixed the problem of high CPU usage in PIO mode.
3.
If the transfer data size is larger than 32-bit, IRQ base PIO mode used.
Jaewon Kim (4):
spi: s3c64xx: changed to PIO mode if there is no DMA
spi: s3c64xx: add cpu_relax in polling loop
spi: s3c64xx: add sleep during transfer
spi: s3c64xx: support interrupt based pio mode
drivers/spi/spi-s3c64xx.c | 85 ++++++++++++++++++++---
include/linux/platform_data/spi-s3c64xx.h | 1 +
2 files changed, 76 insertions(+), 10 deletions(-)
--
2.17.1
Powered by blists - more mailing lists