aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi.c
AgeCommit message (Expand)AuthorFilesLines
7 daysMerge tag 'spi-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/brooni...Linus Torvalds1-68/+58
13 daysspi: Remove unneded check for orig_nentsAndy Shevchenko1-14/+8
2024-05-01spi: fix null pointer dereference within spi_syncMans Rullgard1-0/+1
2024-05-01spi: use spi_valid_{tx,rx}buf() in stats functionDavid Lechner1-7/+5
2024-04-17Add bridged amplifiers to cs42l43Mark Brown1-3/+9
2024-04-16spi: More refacroings after multi-CS supportMark Brown1-30/+33
2024-04-16spi: Update swnode based SPI devices to use the fwnode nameCharles Keepax1-0/+5
2024-04-16spi: Switch to using is_acpi_device_node() in spi_dev_set_name()Charles Keepax1-3/+4
2024-04-16spi: Consistently use BIT for cs_index_mask (part 2)Andy Shevchenko1-7/+3
2024-04-16spi: Introduce spi_for_each_valid_cs() in order of deduplicationAndy Shevchenko1-7/+9
2024-04-16spi: Extract spi_toggle_csgpiod() helper for better maintananceAndy Shevchenko1-24/+25
2024-03-25spi: remove struct spi_message::is_dma_mappedDavid Lechner1-7/+0
2024-03-12spi: Restore delays for non-GPIO chip selectJanne Grunau1-10/+14
2024-03-07spi: Introduce SPI_INVALID_CS and is_valid_cs()Andy Shevchenko1-16/+23
2024-03-07spi: Consistently use BIT for cs_index_maskAndy Shevchenko1-24/+11
2024-03-06spi: Exctract spi_dev_check_cs() helperAndy Shevchenko1-20/+27
2024-03-06spi: Exctract spi_set_all_cs_unused() helperAndy Shevchenko1-50/+24
2024-02-26spi: move splitting transfers to spi_optimize_message()David Lechner1-42/+68
2024-02-26spi: add spi_optimize_message() APIsDavid Lechner1-4/+147
2024-02-08spi: get rid of some legacy macrosMark Brown1-1/+5
2024-02-08spi: Drop compat layer from renaming "master" to "controller"Uwe Kleine-König1-1/+1
2024-02-07spi: drop gpf arg from __spi_split_transfer_maxsize()David Lechner1-14/+8
2024-02-05spi: move split xfers for CS_WORD emulationDavid Lechner1-32/+31
2024-01-26spi: avoid double validation in __spi_sync()David Lechner1-52/+6
2024-01-25spi: fix finalize message on error returnDavid Lechner1-0/+4
2024-01-24spi: consolidate setting message->spiDavid Lechner1-7/+2
2024-01-22spi: make spi_bus_type constGreg Kroah-Hartman1-1/+1
2023-12-07spi: Add support for stacked/parallel memoriesMark Brown1-42/+217
2023-12-07spi: Add multi-cs memories support in SPI coreAmit Kumar Mahapatra1-42/+217
2023-11-30spi: introduce SPI_TRANS_FAIL_IO for error reportingNam Cao1-0/+3
2023-11-10spi: Fix null dereference on suspendMark Hasemeyer1-17/+39
2023-10-16spi: Export acpi_spi_find_controller_by_adev()Hans de Goede1-3/+2
2023-09-18spi: Drop warning from spi_stop_queue()Uwe Kleine-König1-4/+0
2023-07-14spi: Use BITS_TO_BYTES()Andy Shevchenko1-3/+1
2023-07-14spi: Kill spi_add_device_locked()Andy Shevchenko1-10/+5
2023-07-14spi: Remove code duplication in spi_add_device*()Andy Shevchenko1-22/+10
2023-07-11spi: Fix spelling typos and acronyms capitalizationAndy Shevchenko1-26/+28
2023-07-11spi: Rename SPI_MASTER_GPIO_SS to SPI_CONTROLLER_GPIO_SSAndy Shevchenko1-2/+2
2023-07-10spi: Sort headers alphabeticallyAndy Shevchenko1-21/+21
2023-07-10spi: Use sysfs_emit() to instead of s*printf()Andy Shevchenko1-4/+3
2023-07-10spi: Replace if-else-if by bitops and multiplicationsAndy Shevchenko1-7/+1
2023-07-10spi: Drop duplicate IDR allocation code in spi_register_controller()Andy Shevchenko1-27/+23
2023-07-10spi: Remove unneeded OF node NULL checksAndy Shevchenko1-4/+1
2023-04-27Merge tag 'char-misc-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+2
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+0
2023-04-27Merge tag 'spi-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...Linus Torvalds1-26/+76
2023-04-13Merge tag 'devicetree-fixes-for-6.2-3' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+5
2023-04-11treewide: Fix probing of devices in DT overlaysGeert Uytterhoeven1-0/+5
2023-04-05of: Rename of_modalias_node()Miquel Raynal1-2/+2
2023-03-17drivers: remove struct module * setting from struct classGreg Kroah-Hartman1-2/+0
2023-03-16spi: core: add spi_split_transfers_maxwordsLeonard Göhrs1-0/+49
2023-03-07spi: Fix cocci warningsWilliam Zhang1-1/+1
2023-03-06spi: Propagate firmware nodeAndy Shevchenko1-2/+2
2023-03-05spi: Replace spi_pcpu_stats_totalize() macro by a C functionGeert Uytterhoeven1-23/+24
2023-02-24Merge tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2023-02-14spi: Reorder fields in 'struct spi_transfer'Christophe JAILLET1-1/+1
2023-02-10spi: spi-mem: Allow controller supporting mem_ops without exec_opWilliam Zhang1-7/+6
2023-02-10spi: export spi_transfer_cs_change_delay_exec functionWilliam Zhang1-0/+7
2023-02-01spi: Abstract access to chip selectsMark Brown1-23/+22
2023-02-01spi: Add APIs in spi core to set/get spi->chip_select and spi->cs_gpiodAmit Kumar Mahapatra1-23/+22
2023-01-27driver core: make struct bus_type.uevent() take a const *Greg Kroah-Hartman1-1/+1
2023-01-13spi: Parse hold/inactive CS delay values from the DTJanne Grunau1-0/+2
2023-01-13spi: Use a 32-bit DT property for spi-cs-setup-delay-nsJanne Grunau1-5/+18
2023-01-05spi: Rename spi-cs-setup-ns property to spi-cs-setup-delay-nsHector Martin1-1/+1
2022-11-18spi: Reintroduce spi_set_cs_timing()Tudor Ambarus1-0/+37
2022-11-18spi: Introduce spi-cs-setup-ns propertyTudor Ambarus1-0/+6
2022-11-01spi: introduce new helpers with using modern namingYang Yingliang1-0/+11
2022-10-26spi: Remove the obsolte u64_stats_fetch_*_irq() users.Thomas Gleixner1-2/+2
2022-10-21spi: Introduce spi_get_device_match_data() helperAndy Shevchenko1-0/+12
2022-10-04Merge tag 'spi-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...Linus Torvalds1-42/+115
2022-09-30Merge branch 'acpi-dev'Rafael J. Wysocki1-1/+1
2022-09-30spi: Ensure that sg_table won't be used after being freedMarek Szyprowski1-0/+2
2022-09-28spi: Split transfers larger than max sizeVincent Whitchurch1-0/+9
2022-09-28spi: Fix cache corruption due to DMA/PIO overlapVincent Whitchurch1-21/+88
2022-09-28spi: Save current RX and TX DMA devicesVincent Whitchurch1-15/+4
2022-09-08Merge tag 'spi-fix-v6.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+2
2022-09-07spi: Add capability to perform some transfer with chipselect offChristophe Leroy1-3/+9
2022-09-02spi: spi: Fix queue hang if previous transfer failedDavid Jander1-2/+1
2022-09-02spi: mux: Fix mux interaction with fast path optimisationsMark Brown1-1/+1
2022-08-24ACPI: Drop parent field from struct acpi_deviceRafael J. Wysocki1-1/+1
2022-08-19spi: move from strlcpy with unused retval to strscpyWolfram Sang1-3/+3
2022-08-16Merge tag 'spi-fix-v6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-7/+7
2022-08-15Merge remote-tracking branch 'spi/for-5.20' into spi-6.0Mark Brown1-7/+7
2022-08-05spi: spi.c: Add missing __percpu annotations in users of spi_statisticsDavid Jander1-7/+7
2022-08-04Merge tag 'driver-core-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-7/+2
2022-07-13spi: Fix simplification of devm_spi_register_controllerYang Yingliang1-5/+14
2022-07-11spi: remove duplicate parameters check in acpi_spi_add_resource()Andy Shevchenko1-3/+0
2022-07-11spi: propagate error code to the caller of acpi_spi_device_alloc()Andy Shevchenko1-1/+1
2022-07-11spi: Return deferred probe error when controller isn't yet availableAndy Shevchenko1-1/+1
2022-06-30spi: spi.c: Remove redundant else blockDavid Jander1-5/+5
2022-06-30spi: spi.c: Fix comment styleDavid Jander1-47/+47
2022-06-30spi: spi.c: White-space fix in __spi_pump_messages()David Jander1-1/+1
2022-06-27spi: opportunistically skip ctlr->cur_msg_completionDavid Jander1-2/+25
2022-06-27spi: Ensure the io_mutex is held until spi_finalize_current_message()David Jander1-18/+14
2022-06-27spi: Set ctlr->cur_msg also in the sync transfer caseDavid Jander1-0/+1
2022-06-27spi: Remove unneeded READ_ONCE for ctlr->busy flagDavid Jander1-1/+1
2022-06-27spi: Remove the now unused ctlr->idling flagDavid Jander1-2/+0
2022-06-27spi: Remove check for idling in __spi_pump_messages()David Jander1-7/+0
2022-06-27spi: Remove check for controller idling in spi sync pathDavid Jander1-4/+0
2022-06-27spi: __spi_pump_messages: Consolidate spin_unlocks to goto targetDavid Jander1-8/+3
2022-06-27spi: Lock controller idling transition inside the io_mutexDavid Jander1-6/+12
2022-06-27spi: Don't use the message queue if possible in spi_syncDavid Jander1-97/+149
2022-06-27spi: Move ctlr->cur_msg_prepared to struct spi_messageDavid Jander1-3/+4
2022-06-14spi: core: Fix error code in spi_register_controller()Dan Carpenter1-0/+1
2022-06-10spi: Use device_find_any_child() instead of custom approachAndy Shevchenko1-7/+2
2022-06-10spi: Fix per-cpu stats access on 32 bit systemsDavid Jander1-1/+4
2022-06-06spi: spi.c: Convert statistics to per-cpu u64_stats_tDavid Jander1-45/+98
2022-06-03Merge tag 'driver-core-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-22/+4
2022-06-01Merge tag 'spi-fix-v5.19-rc0' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+2
2022-05-26spi: core: Display return code when failing to transfer messageEddie James1-1/+2
2022-05-24Merge tag 'spi-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/brooni...Linus Torvalds1-11/+14
2022-04-22spi: Use helper for safer setting of driver_overrideKrzysztof Kozlowski1-22/+4
2022-04-19spi: using pm_runtime_resume_and_get instead of pm_runtime_get_syncMinghao Chi1-4/+2
2022-04-14spi: core: Initialize returned status in spi_setupPaul Kocialkowski1-1/+1
2022-04-13spi: Pull in Atmel fixMark Brown1-0/+4
2022-04-12spi: core: Only check bits_per_word validity when explicitly providedPaul Kocialkowski1-6/+11
2022-04-08Merge tag 'acpi-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ra...Linus Torvalds1-1/+2
2022-04-06spi: core: add dma_map_dev for __spi_unmap_msg()Vinod Koul1-0/+4
2022-04-05ACPI: bus: Eliminate acpi_bus_get_device()Rafael J. Wysocki1-1/+2
2022-03-17spi: Fix erroneous sgs value with min_t()Biju Das1-2/+2
2022-03-17spi: Get sgs size fix into branchMark Brown1-2/+2
2022-03-08spi: Fix invalid sgs valueBiju Das1-2/+2
2022-02-28spi: use specific last_cs instead of last_cs_enableYun Zhou1-2/+6
2022-02-18spi: use sysfs_emit() for printing statistics and add trailing newlineHeiner Kallweit1-1/+1
2022-02-14spi: Retire legacy GPIO handlingLinus Walleij1-97/+28
2022-02-09spi: make remove callback a void functionMark Brown1-9/+2
2022-02-09spi: make remove callback a void functionUwe Kleine-König1-9/+2
2022-02-02spi: Replace acpi_bus_get_device()Rafael J. Wysocki1-2/+2
2022-02-01spi: Add API to count spi acpi resourcesStefan Binding1-0/+40
2022-02-01spi: Support selection of the index of the ACPI Spi Resource before allocStefan Binding1-7/+44
2022-02-01spi: Create helper API to lookup ACPI info for spi deviceStefan Binding1-10/+36
2022-02-01spi: Make spi_alloc_device and spi_add_device public againStefan Binding1-2/+4
2022-01-07spi: don't include ptp_clock_kernel.h in spi.hJakub Kicinski1-0/+1
2021-12-13spi: Fix incorrect cs_setup delay handlingHector Martin1-7/+6
2021-11-24spi: Fix condition in the __spi_register_driver()Andy Shevchenko1-1/+1
2021-11-23spi: Fix multi-line comment styleAndy Shevchenko1-71/+89
2021-11-23spi: Replace memset() with __GFP_ZEROAndy Shevchenko1-2/+1
2021-11-22spi: deduplicate spi_match_id() in __spi_register_driver()Andy Shevchenko1-11/+6
2021-11-15Merge existing fixes from spi/for-5.16 into new branchMark Brown1-6/+6
2021-11-12spi: fix use-after-free of the add_lock mutexMichael Walle1-6/+6
2021-11-01Merge tag 'spi-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/brooni...Linus Torvalds1-142/+95
2021-10-18Merge tag 'v5.15-rc6' into regulator-5.16Mark Brown1-24/+11
2021-10-14Merge branch 'spi-5.15' into spi-5.16Mark Brown1-16/+11
2021-10-14spi-mux: Fix false-positive lockdep splatsUwe Kleine-König1-6/+6
2021-10-14spi: Fix deadlock when adding SPI controllers on SPI busesMark Brown1-11/+6
2021-10-07spi: Make several public functions private to spi.cUwe Kleine-König1-27/+14
2021-10-07spi: Reorder functions to simplify the next commitUwe Kleine-König1-86/+86
2021-10-07spi: Remove unused function spi_busnum_to_master()Uwe Kleine-König1-35/+0
2021-10-07spi: Move comment about chipselect check to the right placeUwe Kleine-König1-4/+5
2021-09-22spi: Check we have a spi_device_id for each DT compatibleMark Brown1-0/+41
2021-09-21spi: Revert modalias changesMark Brown1-8/+0
2021-09-01Merge tag 'driver-core-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-3/+1
2021-08-26Merge remote-tracking branch 'spi/for-5.15' into spi-nextMark Brown1-3/+3
2021-08-09Merge 5.14-rc5 into driver-core-nextGreg Kroah-Hartman1-0/+4
2021-08-06Merge tag 'spi-fix-v5.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+4
2021-08-05spi: move cs spi_delay to spi_deviceMason Zhang1-3/+3
2021-07-22spi: update modalias_show after of_device_uevent_modalias supportAndreas Schwab1-0/+4
2021-07-21bus: Make remove callback return voidUwe Kleine-König1-3/+1
2021-06-25Merge remote-tracking branch 'spi/for-5.14' into spi-nextMark Brown1-119/+148
2021-06-25Merge remote-tracking branch 'spi/for-5.12' into spi-linusMark Brown1-3/+5
2021-06-25spi: core: add dma_map_dev for dma deviceVinod Koul1-0/+4
2021-06-24spi: Fix self assignment issue with ancillary->modeColin Ian King1-1/+1
2021-06-22spi: add ancillary device supportSebastian Reichel1-31/+106
2021-06-15spi: add of_device_uevent_modalias supportMarco Felsch1-0/+4
2021-06-09spi: remove spi_set_cs_timing()Greg Kroah-Hartman1-73/+0
2021-06-01Merge branch 'for-5.13' of https://git.kernel.org/pub/scm/linux/kernel/git/br...Mark Brown1-9/+28
2021-05-26spi: Enable tracing of the SPI setup CS selectionAndy Shevchenko1-0/+4
2021-05-14spi: Don't have controller clean up spi device before driver unbindSaravana Kannan1-3/+3
2021-05-12spi: Assume GPIO CS active high in ACPI caseAndy Shevchenko1-4/+18
2021-05-11spi: Use SPI_MODE_X_MASKAndy Shevchenko1-2/+2
2021-05-11spi: Convert to use predefined time multipliersAndy Shevchenko1-13/+28
2021-05-10spi: take the SPI IO-mutex in the spi_set_cs_timing methodLeilk Liu1-2/+7
2021-04-28spi: Fix spi device unregister flowSaravana Kannan1-6/+12
2021-04-23spi: Rename enable1 to activate in spi_set_cs()Andy Shevchenko1-5/+4
2021-04-21spi: Make error handling of gpiod_count() call cleanerAndy Shevchenko1-6/+7
2021-04-21spi: Avoid undefined behaviour when counting unused native CSsAndy Shevchenko1-1/+1
2021-04-21spi: Allow to have all native CSs in use along with GPIOsAndy Shevchenko1-2/+3
2021-04-21spi: Make of_register_spi_device also set the fwnodeCharles Keepax1-0/+1
2021-04-19spi: Handle SPI device setup callback failure.Joe Burmeister1-1/+8
2021-04-19spi: sync up initial chipselect stateDavid Bauer1-8/+8
2021-04-15Merge branch 'for-5.12' of https://git.kernel.org/pub/scm/linux/kernel/git/br...Mark Brown1-7/+2
2021-04-09spi: simplify devm_spi_register_controllerTian Tao1-14/+5
2021-04-08spi: Fix use-after-free with devm_spi_alloc_*William A. Kennington III1-7/+2
2021-03-17spi: Fix spelling mistake "softwade" -> "software"Colin Ian King1-1/+1
2021-03-16Merge series "spi: Adding support for software nodes" from Heikki Krogerus <h...Mark Brown1-15/+6
2021-03-16spi: Remove support for dangling device propertiesHeikki Krogerus1-21/+3
2021-03-16spi: Add support for software nodesHeikki Krogerus1-2/+11
2021-03-12spi: core: remove 'delay_usecs' field from spi_transferAlexandru Ardelean1-1/+0
2021-02-22Merge tag 'spi-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/brooni...Linus Torvalds1-11/+48
2021-02-12Merge remote-tracking branch 'spi/for-5.12' into spi-nextMark Brown1-10/+47
2021-02-12spi: Skip zero-length transfers in spi_transfer_one_message()Nicolas Saenz Julienne1-1/+1
2021-02-08spi: support CS timing for HW & SW modeleilk.liu1-3/+6
2021-02-08spi: add power control when set_cs_timingleilk.liu1-3/+22
2021-01-27ACPI: Test for ACPI_SUCCESS rather than !ACPI_FAILUREBjorn Helgaas1-1/+1
2021-01-13Merge v5.11-rc3Mark Brown1-3/+8
2021-01-04spi: fix the divide by 0 error when calculating xfer waiting timeXu Yilun1-1/+5
2020-12-30spi: Fix the clamping of spi->max_speed_hzTudor Ambarus1-2/+3
2020-12-28spi: Add SPI_NO_TX/RX supportDragos Bogdan1-5/+20
2020-12-17Merge remote-tracking branch 'spi/for-5.10' into spi-5.11Mark Brown1-1/+2
2020-12-11Merge remote-tracking branch 'spi/for-5.11' into spi-nextMark Brown1-29/+38