aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-imx.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-30spi: imx: use 'time_left' variable with wait_for_completion_timeout()Wolfram Sang1-10/+10
2024-03-18spi: spi-imx: fix off-by-one in mx51 CPU mode burst lengthAdam Butcher1-2/+2
2024-02-05spi: imx: fix the burst length at DMA mode and CPU modeCarlos Song1-4/+5
2024-01-23spi: spi-imx: Use dev_err_probe for failed DMA channel requestsAlexander Stein1-2/+2
2023-12-10spi: spi-imx: correctly configure burst length when using dmaBenjamin Bigler1-4/+11
2023-09-18spi: imx: Take in account bits per word instead of assuming 8-bitsStefan Moring1-1/+1
2023-08-14spi: imx: switch to use modern nameYang Yingliang1-57/+57
2023-07-14spi: Explicitly include correct DT includesRob Herring1-1/+0
2023-07-12spi: Header and core clean up and refactoringMark Brown1-1/+1
2023-07-11spi: Rename SPI_MASTER_GPIO_SS to SPI_CONTROLLER_GPIO_SSAndy Shevchenko1-1/+1
2023-07-09spi: Increase imx51 ecspi burst length based on transfer lengthStefan Moring1-3/+8
2023-06-02spi: spi-imx: fix mixing of native and gpio chipselects for imx51/imx53/imx6 ...Rasmus Villemoes1-13/+22
2023-05-30spi: spi-imx: add support for SPI_MOSI_IDLE_LOW mode bitBoerge Struempfel1-1/+8
2023-05-23spi: spi-imx: set max_native_cs for imx51/imx53/imx6 variantsRasmus Villemoes1-0/+5
2023-05-23spi: spi-imx: use "controller" variable consistently in spi_imx_probe()Rasmus Villemoes1-10/+10
2023-04-04spi: imx: Use devm_platform_get_and_ioremap_resource()Yang Li1-2/+1
2023-04-04spi: spi-imx: fix MX51_ECSPI_* macros when cs > 3Kevin Groeneveld1-6/+18
2023-03-20spi: imx: Convert to platform remove callback returning voidUwe Kleine-König1-4/+2
2023-03-20spi: imx: Don't skip cleanup in remove's error pathUwe Kleine-König1-7/+5
2023-03-11spi: Replace all spi->chip_select and spi->cs_gpiod references with function ...Amit Kumar Mahapatra via Alsa-devel1-15/+15
2022-12-13Merge tag 'spi-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...Linus Torvalds1-8/+0
2022-11-18spi: spi-imx: spi_imx_transfer_one(): check for DMA transfer firstMarc Kleine-Budde1-3/+7
2022-11-16spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clockFrieder Schrempf1-2/+1
2022-10-21spi: spi-imx: remove unused struct spi_imx_devtype_data::disable_dma callbackMarc Kleine-Budde1-8/+0
2022-05-25Merge tag 'sound-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-1/+1
2022-05-09spi: spi-imx: mx51_ecspi_prepare_message(): skip writing MX51_ECSPI_CONFIG re...Marc Kleine-Budde1-0/+4
2022-05-09spi: spi-imx: add PIO polling supportMarc Kleine-Budde1-0/+66
2022-05-09spi: spi-imx: replace struct spi_imx_data::bitbang by pointer to struct spi_c...Marc Kleine-Budde1-29/+29
2022-05-09spi: spi-imx: complete conversion from master -> controllerMarc Kleine-Budde1-81/+81
2022-05-09spi: spi-imx: spi_imx_buf_rx_swap_u32(): replace open coded swahw32s()Marc Kleine-Budde1-5/+4
2022-05-09spi: spi-imx: spi_imx_buf_rx_swap_u32(): fix sparse warning: use swab32s() in...Marc Kleine-Budde1-2/+2
2022-05-09spi: spi-imx: mx51_ecspi_intctrl(): prefer 'unsigned int' to bare use of 'uns...Marc Kleine-Budde1-1/+1
2022-05-09spi: spi-imx: avoid unnecessary line continuationsMarc Kleine-Budde1-2/+1
2022-05-09spi: spi-imx: fix sparse warning: add identifier name to function definitionMarc Kleine-Budde1-11/+11
2022-04-25spi: spi-imx: using pm_runtime_resume_and_get instead of pm_runtime_get_syncMinghao Chi1-4/+2
2022-04-19spi: spi-imx: add support for SPI_RX_CPHA_FLIPBaruch Siach1-5/+27
2022-04-19dmaengine: imx: Move header to include/dma/Sascha Hauer1-1/+1
2021-09-01Merge tag 'drivers-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc...Linus Torvalds1-6/+35
2021-08-26Merge remote-tracking branch 'spi/for-5.15' into spi-nextMark Brown1-8/+13
2021-08-12Merge tag 'imx-ecspi-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/s...Arnd Bergmann1-6/+35
2021-08-03spi: imx: Implement support for CS_WORDUwe Kleine-König1-0/+10
2021-07-28spi: imx: mx51-ecspi: Fix CONFIGREG delay commentMarek Vasut1-1/+1
2021-07-26spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculationMarek Vasut1-1/+15
2021-07-23spi: imx: remove ERR009165 workaround on i.mx6ulRobin Gong1-3/+36
2021-07-23spi: imx: fix ERR009165Robin Gong1-7/+3
2021-07-19spi: imx: Simplify logic in spi_imx_push()Uwe Kleine-König1-8/+3
2021-07-07spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delayMarek Vasut1-19/+19
2021-04-30Merge tag 'sound-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-3/+2
2021-04-09spi: imx: add a check for speed_hz before calculating the clockClark Wang1-16/+21
2021-03-25spi: imx: Use of_device_get_match_data() helperTian Tao1-3/+2
2021-03-17spi: imx: Improve driver descriptionFabio Estevam1-1/+1
2021-01-19spi: imx: Don't print error on -EPROBEDEFERGuido Günther1-1/+1
2020-11-27Merge branch 'for-5.10' of https://git.kernel.org/pub/scm/linux/kernel/git/br...Mark Brown1-0/+1
2020-11-24spi: imx: fix the unbalanced spi runtime pm managementClark Wang1-0/+1
2020-11-17spi: imx: Remove unused .id_table supportFabio Estevam1-30/+1
2020-11-10spi: imx: fix reference leak in two imx operationsZhang Qilong1-0/+2
2020-10-28Merge tag 'v5.10-rc1' into spi-5.10Mark Brown1-1/+4
2020-10-26Merge existing fixes from spi/for-5.10Mark Brown1-8/+15
2020-10-23spi: imx: fix runtime pm support for !CONFIG_PMSascha Hauer1-8/+15
2020-10-09Merge remote-tracking branch 'spi/for-5.10' into spi-nextMark Brown1-3/+3
2020-10-05spi: imx: Fix freeing of DMA channels if spi_bitbang_start() failsMarek Vasut1-1/+4
2020-09-23spi: spi-imx: spi_imx_transfer(): add support for effective_speed_hzMarc Kleine-Budde1-0/+2
2020-08-20spi: imx: Remove unneeded probe messageFabio Estevam1-2/+0
2020-08-19spi: imx: Do not print an error when PIO is usedFabio Estevam1-1/+1
2020-07-27spi: imx: enable runtime pm supportClark Wang1-33/+88
2020-07-13spi: imx/fsl-lpspi: Convert to GPIO descriptorsLinus Walleij1-76/+16
2020-06-23spi: imx: add fallback featureRobin Gong1-21/+14
2020-05-28spi: imx: fallback to PIO if dma setup failureRobin Gong1-4/+27
2019-12-25spi: imx: use true,false for bool variablezhengbin1-2/+2
2019-11-15spi: imx: Use dma_request_chan() directly for channel requestPeter Ujfalusi1-2/+2
2019-03-15Merge branch 'spi-5.1' into spi-5.2 for stm32Mark Brown1-1/+1
2019-03-13spi: imx: stop buffer overflow in RX FIFO flushTrent Piepho1-1/+1
2019-03-11spi: imx: add module parameter to control DMA useTrent Piepho1-0/+7
2018-12-11spi: imx: drop useless member speed_hz from driver data structUwe Kleine-König1-7/+5
2018-12-11spi: imx: rename config callback and add useful parametersUwe Kleine-König1-17/+22
2018-12-11spi: imx: style fixesUwe Kleine-König1-7/+9
2018-12-11spi: imx: mx51-ecspi: Move some initialisation to prepare_message hook.Uwe Kleine-König1-27/+40
2018-12-11spi: imx: add a device specific prepare_message callbackUwe Kleine-König1-1/+39
2018-10-12spi: imx: use PIO mode if size is smallRobin Gong1-0/+3
2018-10-12spi: imx: correct wml as the last sg lengthRobin Gong1-10/+19
2018-10-12spi: imx: move wml setting to later than setup_transferRobin Gong1-9/+14
2018-07-24spi: imx: Use the longuest possible burst size when in dynamic_burstMaxime Chevallier1-37/+85
2018-07-24spi: imx: remove unnecessary check in spi_imx_can_dmaMaxime Chevallier1-3/+0
2018-07-24spi: imx: Use correct number of bytes per wordsMaxime Chevallier1-4/+6
2018-07-24spi: imx: Use dynamic bursts only when bits_per_word is 8, 16 or 32Maxime Chevallier1-14/+9
2018-07-24spi: imx: Remove duplicate variable assignmentsMaxime Chevallier1-2/+0
2018-06-12treewide: devm_kzalloc() -> devm_kcalloc()Kees Cook1-2/+3
2018-05-03spi: imx: Switch to SPDX identifierFabio Estevam1-19/+3
2018-04-13spi: imx: Update MODULE_DESCRIPTION to "SPI Controller driver"wangbo1-1/+1
2018-01-26Merge remote-tracking branches 'spi/topic/fsl-dspi', 'spi/topic/imx', 'spi/to...Mark Brown1-6/+5
2018-01-08spi: imx: do not access registers while clocks disabledStefan Agner1-2/+13
2017-11-10spi: imx: Don't require platform data chipselect arrayTrent Piepho1-7/+9
2017-11-10spi: imx: Fix failure path leak on GPIO request errorTrent Piepho1-1/+3
2017-11-10spi: imx: GPIO based chip selects should not be requiredTrent Piepho1-8/+10
2017-11-07spi: imx: Fix failure path leak on GPIO request error correctlyTrent Piepho1-7/+8
2017-10-31spi: imx: Fix failure path leak on GPIO request errorTrent Piepho1-5/+6
2017-09-19spi: imx: Add support for SPI Slave modejiada wang1-31/+196
2017-08-29spi: imx: fix use of native chip-selects with devicetreeGreg Ungerer1-4/+4
2017-08-23spi: imx: fix little-endian buildArnd Bergmann1-0/+4
2017-08-17spi: imx: dynamic burst length adjust for PIO modejiada wang1-9/+141
2017-07-26spi: imx: add SPI_NO_CS supportOleksij Rempel1-1/+8
2017-07-17spi: imx: add selection for iMX53 and iMX6 controllerjiada wang1-2/+24
2017-07-17spi: imx: introduce fifo_size and has_dmamode in spi_imx_devtype_datajiada wang1-9/+18
2017-06-21spi: imx: Check for allocation failure earlierFabio Estevam1-3/+3
2017-06-06spi: imx: rename 'bpw' variablesSascha Hauer1-6/+6
2017-06-06spi: imx: remove bytes_per_word from private driver structSascha Hauer1-11/+4
2017-06-06spi: imx: drop bogus unnecessary dma configSascha Hauer1-2/+0
2017-06-06spi: imx: put struct spi_imx_config members into driver private structSascha Hauer1-27/+23
2017-06-06spi: imx: Drop unnecessary checkSascha Hauer1-7/+0
2017-06-06spi: imx: Nothing to do in setupxfer when transfer is NULLSascha Hauer1-5/+5
2017-05-23spi: imx: Revert "spi: imx: dynamic burst length adjust for PIO mode"Sascha Hauer1-155/+8
2017-05-19spi: imx: fix issue when tx_buf or rx_buf is NULLJiada Wang1-0/+6
2017-05-14spi: imx: dynamic burst length adjust for PIO modeJiada Wang1-8/+149
2017-04-25spi-imx: Implements handling of the SPI_READY mode flag.Leif Middelschulte1-2/+18
2017-01-06spi: imx: adjust watermark level according to transfer lengthJiada Wang1-8/+8
2016-11-02spi: imx: set spi_bus_clk for mx21 and mx27Robert Baldyga1-5/+9
2016-10-24spi: imx: support DMA for imx35Martin Kaiser1-3/+18
2016-09-28spi: imx: fix error return code in spi_imx_probe()Wei Yongjun1-0/+1
2016-09-26spi: imx: Gracefully handle NULL master->cs_gpiosMarek Vasut1-0/+5
2016-09-14spi: imx: support loopback mode on imx35Martin Kaiser1-1/+11
2016-09-14spi: imx: set spi_bus_clk for mx1, mx31 and mx35Martin Kaiser1-5/+12
2016-06-21spi: imx: wait_for_completion_timeout(..) for PIO transfersChristian Gmeiner1-1/+11
2016-06-14spi: imx: Remove "maybe_unused" attributesAlexander Shiyan1-24/+21
2016-06-14spi: imx: Remove unnecessary field "mode" from struct spi_imx_configAlexander Shiyan1-14/+12
2016-06-14spi: imx: Using existing properties for chipselectsAlexander Shiyan1-66/+58
2016-03-17spi: imx: Fix possible NULL pointer derefSascha Hauer1-1/+5
2016-03-17spi: imx: only do necessary changes to ECSPIx_CONFIGREGKnut Wohlrab1-1/+9
2016-02-26spi: imx: drop bogus tests for rx/tx bufs in DMA transferSascha Hauer1-48/+34
2016-02-26spi: imx: set MX51_ECSPI_CTRL_SMC bit in setup functionSascha Hauer1-15/+6
2016-02-26spi: imx: make some register defines simplerSascha Hauer1-9/+6
2016-02-26spi: imx: remove unnecessary bit clearing in mx51_ecspi_configSascha Hauer1-7/+0
2016-02-26spi: imx: add support for all SPI word width for DMAAnton Bondarenko1-27/+91
2016-02-26spi: imx: drop unncessary dma_is_inited variableSascha Hauer1-5/+1
2016-02-26spi: imx: drop unnecessary read/modify/writeSascha Hauer1-21/+10
2016-02-26spi: imx: initialize usedma earlierSascha Hauer1-7/+8
2016-02-24spi: imx: drop fallback to PIOSascha Hauer1-13/+6
2016-02-20spi: imx: replace fixed timeout with calculatedAnton Bondarenko1-3/+21
2016-02-20Merge remote-tracking branch 'spi/fix/imx' into spi-imxMark Brown1-15/+2
2016-02-18Merge tag 'spi-fix-v4.5-rc4' into spi-imxMark Brown1-3/+5
2016-02-17spi: imx: use proper dev_* functions for driver messagesSascha Hauer1-15/+12
2016-02-17spi: imx: allow only WML aligned transfers to use DMAAnton Bondarenko1-15/+2
2016-01-22spi: imx: fix spi resource leak with dma transferGao Pan1-3/+5
2015-12-15spi: imx: defer spi initialization, if DMA engine isAnton Bondarenko1-0/+3
2015-12-15spi: imx: return error from dma channel requestAnton Bondarenko1-11/+16
2015-12-15spi: imx: enable loopback only for ECSPI controller familyAnton Bondarenko1-5/+6
2015-12-15spi: imx: fix loopback mode setup after controller resetAnton Bondarenko1-1/+3
2015-12-07spi: imx: add function to check for IMX51 family controllerAnton Bondarenko1-3/+8
2015-12-07spi: imx: replace multiple watermarks with single for RX, TX and RXTAnton Bondarenko1-16/+13
2015-12-07spi: imx: reorder HW operations enable order to avoid possible RX data lossAnton Bondarenko1-2/+10
2015-12-07spi: imx: terminate RX DMA transaction in case of TX DMA timeoutAnton Bondarenko1-0/+1
2015-12-04spi: imx: Add loopback mode supportFabio Estevam1-2/+13
2015-10-23spi: imx: fix ecspi mode setupAndrew Y. Kuksov1-0/+7
2015-07-24spi: imx: Fix small DMA transfersSascha Hauer1-2/+3
2015-05-01spi: imx: Constify platform_device_idKrzysztof Kozlowski1-1/+1
2015-04-11Merge remote-tracking branches 'spi/topic/fsl-cspi', 'spi/topic/fsl-dspi', 's...Mark Brown1-2/+2
2015-04-01spi: imx: read back the RX/TX watermark levels earlierLucas Stach1-2/+2
2015-03-03spi: spi-imx: use correct enumeration typeStefan Agner1-2/+2
2015-02-08Merge remote-tracking branches 'spi/topic/img-spfi', 'spi/topic/imx', 'spi/to...Mark Brown1-14/+14
2015-02-04spi: spi-imx: cleanup wait_for_completion handlingNicholas Mc Guire1-7/+8
2015-02-03spi: imx: use pio mode for i.mx6dlRobin Gong1-0/+4
2014-12-30spi: spi-imx: Do not store the irq number in the private structureFabio Estevam1-7/+6
2014-10-20spi: drop owner assignment from platform_driversWolfram Sang1-1/+0
2014-09-17spi: spi-imx: add DMA supportRobin Gong1-6/+280
2014-03-30Merge remote-tracking branches 'spi/topic/imx', 'spi/topic/init', 'spi/topic/...Mark Brown1-3/+2
2014-03-30Merge remote-tracking branches 'spi/topic/bus-num', 'spi/topic/cleanup', 'spi...Mark Brown1-1/+1
2014-02-28spi: spi-imx: spi_imx_remove: do not disable disabled clocksPhilippe De Muyter1-2/+2
2014-02-23spi/imx: Use dev_name() for request_irq() to distinguish SPIsAlexander Shiyan1-1/+1
2014-02-14spi: spi-imx: Propagate the real error code on platform_get_irq() failureFabio Estevam1-1/+1
2014-02-10spi: Use reinit_completion at appropriate placesAxel Lin1-1/+1
2014-02-03spi: delete non-required instances of include <linux/init.h>Paul Gortmaker1-1/+0
2013-12-20spi: spi-imx: Fix out-of-order CS/SCLK operation at low speedsMarek Vasut1-2/+25
2013-10-25Merge remote-tracking branch 'spi/topic/imx' into spi-nextMark Brown1-0/+33
2013-10-23spi: spi-imx: only enable the clocks when we start to transfer a messageHuang Shijie1-0/+33
2013-09-17spi: bitbang: Let spi_bitbang_start() take a reference to masterAxel Lin1-1/+1
2013-07-29spi/imx: expose module alias for loading from device-treeNiels de Vos1-0/+1
2013-07-15spi: spi-imx: Check the return value from clk_prepare_enable()Fabio Estevam1-4/+10
2013-07-15spi: spi-imx: Use devm functionsFabio Estevam1-46/+15
2013-06-26Merge remote-tracking branch 'spi/topic/imx' into spi-nextMark Brown1-8/+0
2013-06-26Merge remote-tracking branch 'spi/topic/core' into spi-nextMark Brown1-3/+0
2013-05-30spi: spi-imx: Fix compilation errorSachin Kamat1-1/+1
2013-05-29spi: convert drivers to use bits_per_word_maskStephen Warren1-3/+3
2013-05-13spi: spi-imx: Let device core handle pinctrlFabio Estevam1-8/+0
2013-05-13spi: remove unnecessary platform_set_drvdata()Jingoo Han1-3/+0
2013-02-05spi/imx: Add MODULE_ALIAS()Fabio Estevam1-0/+1
2012-12-07spi: Remove HOTPLUG section attributesGrant Likely1-3/+3
2012-10-02Merge tag 'spi-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/...Linus Torvalds1-2/+4
2012-10-01Merge tag 'multiplatform' of git://git.kernel.org/pub/scm/linux/kernel/git/ar...Linus Torvalds1-1/+1
2012-09-28spi/imx: set the inactive state of the clock according to the clock polarityKnut Wohlrab1-2/+4
2012-09-14ARM: imx: move platform_data definitionsArnd Bergmann1-1/+1
2012-08-03spi/imx: make spi_imx_data.devtype_data member point to const dataUwe Kleine-König1-1/+1
2012-07-13spi/imx: use gpio_is_valid to determine if a gpio is validHui Wang1-6/+6
2012-07-13spi/imx: remove redundant config.speed_hz settingHui Wang1-2/+0
2012-05-14Merge branch 'imx/pinctrl' into imx/clockArnd Bergmann1-0/+8
2012-05-12spi/imx: adopt pinctrl supportShawn Guo1-0/+8
2012-04-25spi i.MX: do not depend on grouped clocksSascha Hauer1-11/+19
2012-04-10spi/imx: prevent NULL pointer dereference in spi_imx_probe()Lothar Waßmann1-3/+7
2012-03-30spi/imx: mark base member in spi_imx_data as __iomemUwe Kleine-König1-1/+1
2012-03-09spi/imx: simplify error handling to free gpiosAxel Lin1-8/+3
2011-10-25drivercore: Add helper macro for platform_driver boilerplateGrant Likely1-13/+1
2011-09-15spi/imx: Fix spi-imx when the hardware SPI chipselects are usedFabio Estevam1-1/+3