[PATCH 0/3] spi: s3c64xx: improve SPI polling mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patchset improves polling mode of s3c64xx driver.

s3cx64xx driver was supporing polling mode using quirk for SOC without DMA.
However there are situations in which spi polling mode should be
supported in some environments. To solve this situation, polling mode
can be used selectively by using device-tree as well as quirk.

When using the existing polling mode, the CPU utilization goes up to
100% becuase it checks register too frequently. In order to improve this
problem, IRQ is used by using the FIFO Trigger Level function.

Jaewon Kim (3):
  spi: s3c64xx: support spi polling mode using devicetree
  spi: dt-bindings: samsung: add samsung,spi-polling property
  spi: s3c64xx: support interrupt based pio mode

 .../devicetree/bindings/spi/samsung,spi.yaml  |  6 ++
 drivers/spi/spi-s3c64xx.c                     | 77 ++++++++++++++++---
 include/linux/platform_data/spi-s3c64xx.h     |  1 +
 3 files changed, 72 insertions(+), 12 deletions(-)

-- 
2.17.1




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux for Synopsys ARC Processors]    
  • [Linux on Unisoc (RDA Micro) SoCs]     [Linux Actions SoC]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  •   Powered by Linux