Re: [PATCH v2 0/4] Improves polling mode of s3c64xx driver
From: Jaewon Kim
Date: Wed Apr 19 2023 - 04:32:23 EST
On 23. 4. 19. 16:59, Krzysztof Kozlowski wrote:
> On 19/04/2023 08:06, Jaewon Kim wrote:
>> 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.
>>
> What changed in the patches? You need to provide changelog.
Oh, I missed changes while copy/pasting.
I will add changes v2 from v3 together.
Changes in V2.
- DeviceTree property not used to change PIO mod.
- Add cpu_releax() in polling loop
- Add lower limit in IRQ mode
>
> Best regards,
> Krzysztof
>
>
Thanks
Jaewon Kim