From: Cezary Gapinski
Adopt the SPDX license identifier headers to ease license compliance
management.
Signed-off-by: Cezary Gapinski
---
drivers/spi/spi-stm32.c | 27 +++
1 file changed, 7 insertions(+), 20 deletions(-)
diff --git a/drivers/spi/spi-stm32.c b/drivers
From: Cezary Gapinski
Interrupt function is used as a thread so rename it to express
meaning directly by more clear function name.
Signed-off-by: Cezary Gapinski
---
drivers/spi/spi-stm32.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/spi/spi-stm32.c b
From: Cezary Gapinski
Prepare support for STM32F4 spi variant by introducing compatible
configuration data.
Move STM32H7 specific stuff to compatible data structure:
- registers & bit fields
- routines to control driver
- baud rate divisor definitions
- fifo availability
- split
From: Cezary Gapinski
Add description that STM32F4 can be used in compatible property.
Master Inter-Data Idleness optional property cannot be used in STM32F4.
Signed-off-by: Cezary Gapinski
---
Documentation/devicetree/bindings/spi/spi-stm32.txt | 9 ++---
1 file changed, 6 insertions
From: Cezary Gapinski
Rename STM32 SPI registers to be related to STM32H7 SPI driver
and not STM32 generally.
Signed-off-by: Cezary Gapinski
---
drivers/spi/spi-stm32.c | 381 +---
1 file changed, 199 insertions(+), 182 deletions(-)
diff --git a
From: Cezary Gapinski
This patch adds all SPI instances of the STM32F429 SoC.
Signed-off-by: Cezary Gapinski
---
arch/arm/boot/dts/stm32f429.dtsi | 60
1 file changed, 60 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts
From: Cezary Gapinski
Split stm32_spi_transfer_one_setup function into smaller chunks
to be more generic for other stm32 SPI family drivers.
Signed-off-by: Cezary Gapinski
---
drivers/spi/spi-stm32.c | 270 ++--
1 file changed, 192 insertions(+), 78
From: Cezary Gapinski
Driver supports SPI mode 0 to 3 not only the mode 3.
Use SPI_CPOL and SPI_CPHA indicates that these bits
can be changed to obtain modes 0 - 3.
Signed-off-by: Cezary Gapinski
---
drivers/spi/spi-stm32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
From: Cezary Gapinski
Add routines, registers & bitfield definition. Also baud rate divisor
definitions for STM32F4 SPI. This version supports full-duplex,
simplex TX and half-duplex TX communication with 8 or 16-bit per word.
DMA capability is optionally supported for transfer longer tha
From: Cezary Gapinski
Add transfer_one_dma_start function to be more generic for other
stm32 SPI family drivers.
Signed-off-by: Cezary Gapinski
---
drivers/spi/spi-stm32.c | 27 ++-
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/drivers/spi/spi-stm32.c
From: Cezary Gapinski
This driver does not support SPI LOOP mode by configuration
in registers.
Signed-off-by: Cezary Gapinski
---
drivers/spi/spi-stm32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi-stm32.c b/drivers/spi/spi-stm32.c
index f7056b7
From: Cezary Gapinski
Fix typo from STMicroelectonics to STMicroelectronics.
Signed-off-by: Cezary Gapinski
---
drivers/spi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 9f89cb1..ceb6b7e 100644
--- a/drivers/spi
From: Cezary Gapinski
This series of patches adds support for first generation of SPI
interface for STM32F4 family.
This version of driver is mostly different to STM32H7 one. Based on
linux kernel I2C drivers for STM32 where drivers were splited into
STM32F4 and STM32F7 family the same approach
From: Cezary Gapinski
When SPI driver is configured to work only with TX or RX DMA channel
then dmaengine functions can dereferene NULL pointer.
Running full-duplex mode when when only RX or TX DMA channel is
available can cause overrun condition or incorrect writing to transmit
buffer so
From: Cezary Gapinski
Patch fixes sparse warning: Using plain integer as NULL pointer. Replaces
second argument of function devm_clk_get from 0 to NULL.
Signed-off-by: Cezary Gapinski
---
drivers/spi/spi-stm32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi
From: Cezary Gapinski
Rename spi-stm32 driver to be related to STM32H7 type.
Signed-off-by: Cezary Gapinski
---
drivers/spi/Kconfig |8 +-
drivers/spi/Makefile |2 +-
drivers/spi/spi-stm32.c | 1340 -
drivers/spi/spi-stm32h7.c
From: Cezary Gapinski
Rename STM32 SPI registers and functions to be related to STM32H7 SPI
driver and not STM32 generally.
Signed-off-by: Cezary Gapinski
---
drivers/spi/spi-stm32.c | 662 +---
1 file changed, 340 insertions(+), 322 deletions
From: Cezary Gapinski
This patch adds all SPI instances of the STM32F429 SoC.
Signed-off-by: Cezary Gapinski
---
arch/arm/boot/dts/stm32f429.dtsi | 60
1 file changed, 60 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts
From: Cezary Gapinski
The STM32F4 Serial Peripheral Interface (SPI) can be used to communicate
with external devices while using the specific synchronous protocol. This
version supports full-duplex communication with 8 or 16-bit per word.
DMA capability is optionally supported when RX and TX
From: Cezary Gapinski
Add description that STM32F4 can be used in compatible property.
Master Inter-Data Idleness optional property cannot be used in STM32F4.
Signed-off-by: Cezary Gapinski
---
Documentation/devicetree/bindings/spi/spi-stm32.txt | 9 ++---
1 file changed, 6 insertions
From: Cezary Gapinski
This series of patches adds support for first generation of SPI interface
for STM32F4 family.
This version of driver is mostly different to STM32H7 one. Based on linux
kernel I2C drivers for STM32 where drivers were splited into STM32F4 and
STM32F7 family the same approach
Sparse spits out a warnings about __le16 and unsigned short assignment.
Change the type of size and event members of struct hostif_hdr
to __le16 and correct conversion to the proper cpu type.
Signed-off-by: Cezary Gapinski
---
drivers/staging/ks7010/ks7010_sdio.c | 10 ++
drivers
Sparse reports the following in fb_watterott.c:
warning: incorrect type in assignment (different base types)
expected unsigned short [unsigned] [short] [usertype]
got restricted __be16 [usertype]
Use __be16 types for endian correctness
Signed-off-by: Cezary Gapinski
---
drivers/staging
Fix the following formatting issues:
WARNING: Avoid unnecessary line continuations
Signed-off-by: Cezary Gapinski
---
This patch is a part of task 10 of eudyptula challenge
drivers/staging/fbtft/fbtft-sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging
24 matches
Mail list logo