linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/15] spi: Header and core clean up and refactoring
@ 2023-07-10 15:49 Andy Shevchenko
  2023-07-10 15:49 ` [PATCH v2 01/15] spi: Remove unneeded OF node NULL checks Andy Shevchenko
                   ` (16 more replies)
  0 siblings, 17 replies; 48+ messages in thread
From: Andy Shevchenko @ 2023-07-10 15:49 UTC (permalink / raw)
  To: Mark Brown, Cristian Ciocaltea, Yang Yingliang, Andy Shevchenko,
	Amit Kumar Mahapatra via Alsa-devel, Neil Armstrong,
	Tharun Kumar P, Vijaya Krishna Nivarthi, Uwe Kleine-König,
	linux-spi, linux-kernel, linux-arm-kernel, linux-amlogic,
	linux-mediatek, linux-arm-msm, linux-rockchip, linux-riscv,
	linux-stm32, linux-trace-kernel, netdev
  Cc: Sanjay R Mehta, Radu Pirea, Nicolas Ferre, Alexandre Belloni,
	Claudiu Beznea, Tudor Ambarus, Serge Semin, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
	Matthias Brugger, AngeloGioacchino Del Regno, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Heiko Stuebner, Palmer Dabbelt,
	Paul Walmsley, Orson Zhai, Baolin Wang, Chunyan Zhang,
	Alain Volmat, Maxime Coquelin, Alexandre Torgue, Max Filippov,
	Steven Rostedt, Masami Hiramatsu, Richard Cochran

Various cleanups and refactorings of the SPI header and core parts
united in a single series. It also touches drivers under SPI subsystem
folder on the pure renaming purposes of some constants.

No functional change intended.

Changelog v2:
- added new patches 3,4,5,10,13,14
- massaged comment and kernel doc in patch 9
- split used to be patch 4 to patches 11,12
- covered a few things in SPI core in patch 15
- amended commit message for above (Mark)
- reshuffled patches in the series for better logical grouping

Andy Shevchenko (15):
  spi: Remove unneeded OF node NULL checks
  spi: Drop duplicate IDR allocation code in spi_register_controller()
  spi: Replace if-else-if by bitops and multiplications
  spi: Replace open coded spi_controller_xfer_timeout()
  spi: Remove code duplication in spi_add_device_locked()
  spi: Use sysfs_emit() to instead of s*printf()
  spi: Sort headers alphabetically
  spi: Clean up headers
  spi: Use struct_size() helper
  spi: Use predefined constants from bits.h and units.h
  spi: Get rid of old SPI_MASTER_NO_TX & SPI_MASTER_NO_RX
  spi: Get rid of old SPI_MASTER_MUST_TX & SPI_MASTER_MUST_RX
  spi: Rename SPI_MASTER_GPIO_SS to SPI_CONTROLLER_GPIO_SS
  spi: Convert to SPI_CONTROLLER_HALF_DUPLEX
  spi: Fix spelling typos and acronyms capitalization

 drivers/spi/spi-amd.c             |   2 +-
 drivers/spi/spi-at91-usart.c      |   2 +-
 drivers/spi/spi-ath79.c           |   2 +-
 drivers/spi/spi-atmel.c           |   4 +-
 drivers/spi/spi-bitbang-txrx.h    |  16 +--
 drivers/spi/spi-bitbang.c         |   8 +-
 drivers/spi/spi-cavium-thunderx.c |   2 +-
 drivers/spi/spi-davinci.c         |   2 +-
 drivers/spi/spi-dw-core.c         |   2 +-
 drivers/spi/spi-falcon.c          |   2 +-
 drivers/spi/spi-fsl-lpspi.c       |   2 +-
 drivers/spi/spi-gpio.c            |  10 +-
 drivers/spi/spi-imx.c             |   2 +-
 drivers/spi/spi-lp8841-rtc.c      |  10 +-
 drivers/spi/spi-meson-spicc.c     |   2 +-
 drivers/spi/spi-mt65xx.c          |   2 +-
 drivers/spi/spi-mxs.c             |   2 +-
 drivers/spi/spi-omap-uwire.c      |   2 +-
 drivers/spi/spi-orion.c           |   2 +-
 drivers/spi/spi-pci1xxxx.c        |   2 +-
 drivers/spi/spi-pic32-sqi.c       |   2 +-
 drivers/spi/spi-pic32.c           |   2 +-
 drivers/spi/spi-qcom-qspi.c       |   2 +-
 drivers/spi/spi-rb4xx.c           |   2 +-
 drivers/spi/spi-rockchip-sfc.c    |   2 +-
 drivers/spi/spi-rockchip.c        |   2 +-
 drivers/spi/spi-sifive.c          |   2 +-
 drivers/spi/spi-slave-mt27xx.c    |   2 +-
 drivers/spi/spi-sprd-adi.c        |   2 +-
 drivers/spi/spi-stm32.c           |   2 +-
 drivers/spi/spi-ti-qspi.c         |   2 +-
 drivers/spi/spi-xcomm.c           |   2 +-
 drivers/spi/spi-xtensa-xtfpga.c   |   2 +-
 drivers/spi/spi.c                 | 204 ++++++++++++------------------
 include/linux/spi/spi.h           | 198 +++++++++++++++++------------
 include/trace/events/spi.h        |   2 +-
 36 files changed, 247 insertions(+), 261 deletions(-)

-- 
2.40.0.1.gaa8946217a0b


^ permalink raw reply	[flat|nested] 48+ messages in thread

end of thread, other threads:[~2023-07-12 11:49 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-10 15:49 [PATCH v2 00/15] spi: Header and core clean up and refactoring Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 01/15] spi: Remove unneeded OF node NULL checks Andy Shevchenko
2023-07-11  8:12   ` AngeloGioacchino Del Regno
2023-07-11 12:51     ` Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 02/15] spi: Drop duplicate IDR allocation code in spi_register_controller() Andy Shevchenko
2023-07-10 17:09   ` Mark Brown
2023-07-11 10:58     ` Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 03/15] spi: Replace if-else-if by bitops and multiplications Andy Shevchenko
2023-07-10 16:56   ` Mark Brown
2023-07-11 10:58     ` Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 04/15] spi: Replace open coded spi_controller_xfer_timeout() Andy Shevchenko
2023-07-10 17:30   ` Mark Brown
2023-07-11 11:01     ` Andy Shevchenko
2023-07-11 14:14       ` Mark Brown
2023-07-11 15:30         ` Andy Shevchenko
2023-07-11 15:49           ` Mark Brown
2023-07-11  8:28   ` AngeloGioacchino Del Regno
2023-07-11 13:05     ` Mark Brown
2023-07-11 13:29       ` AngeloGioacchino Del Regno
2023-07-10 15:49 ` [PATCH v2 05/15] spi: Remove code duplication in spi_add_device_locked() Andy Shevchenko
2023-07-10 17:16   ` Mark Brown
2023-07-11 11:06     ` Andy Shevchenko
2023-07-11 12:01       ` Sebastian Reichel
2023-07-11 12:47         ` Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 06/15] spi: Use sysfs_emit() to instead of s*printf() Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 07/15] spi: Sort headers alphabetically Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 08/15] spi: Clean up headers Andy Shevchenko
2023-07-10 17:21   ` Mark Brown
2023-07-11 11:10     ` Andy Shevchenko
2023-07-11  8:26   ` Mark Brown
2023-07-11 11:10     ` Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 09/15] spi: Use struct_size() helper Andy Shevchenko
2023-07-10 15:59   ` Marc Kleine-Budde
2023-07-10 16:10     ` Andy Shevchenko
2023-07-10 16:12       ` Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 10/15] spi: Use predefined constants from bits.h and units.h Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 11/15] spi: Get rid of old SPI_MASTER_NO_TX & SPI_MASTER_NO_RX Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 12/15] spi: Get rid of old SPI_MASTER_MUST_TX & SPI_MASTER_MUST_RX Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 13/15] spi: Rename SPI_MASTER_GPIO_SS to SPI_CONTROLLER_GPIO_SS Andy Shevchenko
2023-07-11 12:30   ` Serge Semin
2023-07-11 12:49     ` Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 14/15] spi: Convert to SPI_CONTROLLER_HALF_DUPLEX Andy Shevchenko
2023-07-10 15:49 ` [PATCH v2 15/15] spi: Fix spelling typos and acronyms capitalization Andy Shevchenko
2023-07-10 17:31 ` [PATCH v2 00/15] spi: Header and core clean up and refactoring Mark Brown
2023-07-11 11:11   ` Andy Shevchenko
2023-07-11 13:38     ` Mark Brown
2023-07-11 13:45       ` Andy Shevchenko
2023-07-12 11:47 ` (subset) " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).