08 May, 2019
1 commit
-
This patch adds support for DMA. Transfers are done with dma only if
they are longer than 16 bytes in order to achieve a better performance.
DMA setup introduces a little overhead and for transfers shorter than 16
bytes there is no performance improvement.Signed-off-by: Radu Pirea
Signed-off-by: Mark Brown
25 Mar, 2019
1 commit
-
This checking is already done in __spi_validate_bits_per_word().
Signed-off-by: Axel Lin
Acked-by: Nicolas Ferre
Signed-off-by: Mark Brown
03 Dec, 2018
1 commit
-
Fix build errors when CONFIG_PINCTRL is not enabled.
The header file handles both CONFIG_PINCTRL
enabled and disabled cases.CC [M] drivers/spi/spi-at91-usart.o
../drivers/spi/spi-at91-usart.c: In function 'at91_usart_spi_runtime_suspend':
../drivers/spi/spi-at91-usart.c:409:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]
pinctrl_pm_select_sleep_state(dev);
../drivers/spi/spi-at91-usart.c: In function 'at91_usart_spi_runtime_resume':
../drivers/spi/spi-at91-usart.c:419:2: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration]
pinctrl_pm_select_default_state(dev);Signed-off-by: Randy Dunlap
Cc: Radu Pirea
Cc: Mark Brown
Cc: linux-spi@vger.kernel.org
Signed-off-by: Mark Brown
27 Nov, 2018
1 commit
-
This patch implements power management callback function for USART as
SPI driver.Signed-off-by: Radu Pirea
Signed-off-by: Mark Brown
11 Sep, 2018
1 commit
-
Suggested-by: Radu Nicolae Pirea
Signed-off-by: Lee Jones
10 Sep, 2018
1 commit
-
This is the driver for at91-usart in spi mode. The USART IP can be configured
to work in many modes and one of them is SPI.The driver was tested on sama5d3-xplained and sama5d4-xplained boards with
enc28j60 ethernet controller as slave.Signed-off-by: Radu Pirea
Reviewed-by: Andy Shevchenko
Reviwed-by: Mark Brown
Acked-by: Nicolas Ferre
Signed-off-by: Lee Jones