aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/stm32-usart.c
AgeCommit message (Expand)AuthorFilesLines
2025-03-20serial: stm32: do not deassert RS485 RTS GPIO prematurelyCheick Traore1-3/+1
2025-02-19serial: mctrl_gpio: split disable_ms into sync and no_sync APIsAlexis Lothoré1-1/+1
2024-12-23serial: stm32: use port lock wrappers for break controlBen Wolsieffer1-2/+2
2024-10-11serial: Switch back to struct platform_driver::remove()Uwe Kleine-König1-1/+1
2024-04-23Merge 6.9-rc5 into tty-nextGreg Kroah-Hartman1-2/+11
2024-04-17serial: stm32: Reset .throttled state in .startup()Uwe Kleine-König1-0/+1
2024-04-17serial: stm32: Return IRQ_NONE in the ISR if no handling happendUwe Kleine-König1-2/+10
2024-04-09tty: serial: switch from circ_buf to kfifoJiri Slaby (SUSE)1-32/+20
2024-02-27Merge 6.8-rc6 into tty-nextGreg Kroah-Hartman1-1/+3
2024-02-19serial: stm32: do not always set SER_RS485_RX_DURING_TX if RS485 is enabledLino Sanfilippo1-1/+3
2024-01-27serial: stm32: get FIFO size from hwcfg registerValentin Caron1-69/+89
2024-01-27serial: stm32: implement prescaler tuning to compute low baudrateValentin Caron1-21/+50
2024-01-04serial: Do not hold the port lock when setting rx-during-tx GPIOLino Sanfilippo1-6/+2
2023-11-23serial: stm32: Convert to platform remove callback returning voidUwe Kleine-König1-4/+2
2023-09-18serial: stm32: Use port lock wrappersThomas Gleixner1-19/+19
2023-09-18serial: stm32: add support for break controlErwan Le Ray1-1/+12
2023-08-22serial: stm32: synchronize RX DMA channel in shutdownAmelie Delaunay1-1/+3
2023-08-22serial: stm32: replace access to DMAR bit by dmaengine_pause/resumeValentin Caron1-94/+106
2023-08-22serial: stm32: group dma pause/resume error handling into single functionValentin Caron1-45/+82
2023-08-22serial: stm32: modify parameter and rename stm32_usart_rx_dma_enabledValentin Caron1-8/+8
2023-08-22serial: stm32: use DMAT as a configuration bitValentin Caron1-5/+3
2023-08-22serial: stm32: avoid clearing DMAT bit during transferValentin Caron1-32/+44
2023-07-25serial: drivers: switch ch and flag to u8Jiri Slaby1-3/+2
2023-05-13serial: stm32: Ignore return value of uart_remove_one_port() in .remove()Uwe Kleine-König1-4/+1
2023-03-09serial: stm32: Re-assert RTS/DE GPIO in RS485 mode only if more data are tran...Marek Vasut1-2/+3
2023-03-09serial: stm32: Remove unused struct stm32_port txdone elementMarek Vasut1-1/+0
2023-02-06Merge 6.2-rc7 into tty-nextGreg Kroah-Hartman1-28/+5
2023-01-31serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handlerMarek Vasut1-28/+5
2023-01-19serial: stm32: Add support for rs485 RX_DURING_TX output GPIOChristoph Niedermaier1-1/+5
2022-11-22serial: stm32: move dma_request_chan() before clk_prepare_enable()Valentin Caron1-24/+23
2022-11-03serial: stm32: Use uart_xmit_advance()Ilpo Järvinen1-4/+3
2022-09-30serial: stm32: Fix unused-variable warningRen Zhijie1-3/+3
2022-09-22serial: stm32: Deassert Transmit Enable on ->rs485_config()Lukas Wunner1-47/+53
2022-08-30serial: Make ->set_termios() old ktermios constIlpo Järvinen1-1/+1
2022-08-08Merge tag 'tty-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-1/+78
2022-07-28serial: stm32: make info structs static to avoid sparse warningsBen Dooks1-0/+69
2022-07-08serial: Embed rs485_supported to uart_portIlpo Järvinen1-1/+1
2022-06-30serial: stm32: Clear prev values before setting RTS delaysIlpo Järvinen1-0/+2
2022-06-27serial: take termios_rwsem for ->rs485_config() & pass termios as paramIlpo Järvinen1-1/+1
2022-06-10serial: stm32: Fill in rs485_supportedIlpo Järvinen1-0/+8
2022-05-19serial: stm32-usart: Correct CSIZE, bits, and parityIlpo Järvinen1-3/+12
2022-05-05serial: stm32: Use TC interrupt to deassert GPIO RTS in RS485 modeMarek Vasut1-2/+40
2022-05-05serial: stm32: Factor out GPIO RTS toggling into separate functionMarek Vasut1-21/+38
2022-04-22serial: stm32: add earlycon supportValentin Caron1-0/+51
2022-04-22serial: stm32: add KGDB supportValentin Caron1-2/+35
2022-04-22serial: stm32: remove infinite loop possibility in putchar functionValentin Caron1-3/+9
2022-04-15serial: stm32: remove redundant code in rs485_configLino Sanfilippo1-7/+2
2022-03-03serial: make uart_console_write->putchar()'s character an unsigned charJiri Slaby1-1/+1
2022-02-08serial: stm32: enable / disable wake irqs for mcrtl_gpio wakeup sourcesErwan Le Ray1-1/+2
2022-01-26serial: stm32: fix software flow control transferValentin Caron1-1/+1
2022-01-26serial: stm32: prevent TDR register overwrite when sending x_charValentin Caron1-0/+12
2022-01-06serial: stm32: correct loop for dma error handlingValentin Caron1-3/+2
2022-01-06serial: stm32: fix flow control transfer in DMA modeValentin Caron1-0/+3
2022-01-06serial: stm32: rework TX DMA state conditionValentin Caron1-18/+48
2022-01-06serial: stm32: move tx dma terminate DMA to shutdownValentin Caron1-1/+5
2021-10-26serial: stm32: push DMA RX data before suspendingErwan Le Ray1-27/+53
2021-10-26serial: stm32: terminate / restart DMA transfer at suspend / resumeErwan Le Ray1-43/+84
2021-10-26serial: stm32: rework RX dma initialization and releaseErwan Le Ray1-28/+41
2021-10-21serial: stm32: update throttle and unthrottle ops for dma modeErwan Le Ray1-4/+33
2021-10-21serial: stm32: rework RX over DMAErwan Le Ray1-48/+158
2021-10-21serial: stm32: re-introduce an irq flag condition in usart_receive_charsErwan Le Ray1-8/+13
2021-08-16serial: stm32: use devm_platform_get_and_ioremap_resource()Tang Bin1-2/+1
2021-08-16serial: stm32: use the defined variable to simplify codeTang Bin1-2/+2
2021-08-13serial: stm32: fix the conditional expression writingTang Bin1-2/+2
2021-06-15tty: make use of tty_get_{char,frame}_sizeJiri Slaby1-31/+1
2021-06-15serial: stm32: defer probe for dma devicesErwan Le Ray1-86/+77
2021-05-20serial: drop irq-flags initialisationsJohan Hovold1-1/+1
2021-04-22serial: stm32: add FIFO threshold configurationFabrice Gasnier1-6/+47
2021-04-22serial: stm32: defer sysrq processingJohan Hovold1-10/+6
2021-04-22serial: stm32: fix threaded interrupt handlingJohan Hovold1-10/+12
2021-04-05tty/serial: Add rx-tx-swap OF option to stm32-usartMartin Devera1-1/+10
2021-03-23serial: stm32: update wakeup IRQ managementAlexandre Torgue1-21/+11
2021-03-23serial: stm32: clean wakeup handling in serial_suspendErwan Le Ray1-2/+0
2021-03-23serial: stm32: rework wakeup managementErwan Le Ray1-3/+3
2021-03-10serial: stm32: add support for "flush_buffer" opsErwan Le Ray1-0/+14
2021-03-10serial: stm32: fix tx_empty conditionErwan Le Ray1-1/+4
2021-03-10serial: stm32: add FIFO flush when port is closedErwan Le Ray1-0/+5
2021-03-10serial: stm32: fix FIFO flush in startup and set_termiosErwan Le Ray1-3/+3
2021-03-10serial: stm32: call stm32_transmit_chars lockedErwan Le Ray1-0/+3
2021-03-10serial: stm32: fix tx dma completion, release channelErwan Le Ray1-0/+1
2021-03-10serial: stm32: fix a deadlock in set_termiosErwan Le Ray1-6/+6
2021-03-10serial: stm32: fix wake-up flag handlingErwan Le Ray1-13/+19
2021-03-10serial: stm32: fix a deadlock condition with wakeup eventErwan Le Ray1-12/+15
2021-03-10serial: stm32: fix TX and RX FIFO thresholdsErwan Le Ray1-14/+9
2021-03-10serial: stm32: fix incorrect characters on consoleErwan Le Ray1-1/+11
2021-03-10serial: stm32: fix startup by enabling usart for receptionErwan Le Ray1-1/+2
2021-03-10serial: stm32: fix probe and remove order for dmaErwan Le Ray1-13/+44
2021-02-22Merge tag 'devicetree-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-37/+34
2021-01-26serial: stm32: improve platform_get_irq condition handling in init_portErwan Le Ray1-5/+5
2021-01-26serial: stm32: Use of_device_get_match_data()Stephen Boyd1-37/+34
2021-01-07serial: stm32: update transmission complete error message in shutdownErwan Le Ray1-1/+2
2021-01-07serial: stm32: clean probe and remove port deinitErwan Le Ray1-2/+7
2021-01-07serial: stm32: update conflicting RTS/CTS config commentErwan Le Ray1-1/+4
2021-01-07serial: stm32: add authorErwan Le Ray1-1/+2
2021-01-07serial: stm32: add "_usart" prefix in functions nameErwan Le Ray1-171/+177
2021-01-07serial: stm32: fix code cleaning warnings and checksErwan Le Ray1-18/+15
2021-01-07serial: stm32: fix DMA initialization error handlingErwan Le Ray1-7/+17
2020-11-06tty: serial: stm32-usart: Remove set but unused 'cookie' variablesLee Jones1-4/+2
2020-09-04serial: stm32: Add RS485 RTS GPIO control againMarek Vasut1-8/+25
2020-08-18serial: stm32: avoid kernel warning on absence of optional IRQHolger Assmann1-1/+1
2020-07-30serial: stm32: Add RS485 RTS GPIO controlMarek Vasut1-0/+8
2020-07-01serial: stm32: Use generic DT binding for announcing RTS/CTS linesErwan Le Ray1-2/+3
2020-05-19serial: stm32: add no_console_suspend supportErwan Le Ray1-1/+12
2020-05-15serial: Allow uart_get_rs485_mode() to return errnoLukas Wunner1-4/+4
2020-05-15tty: serial: Add modem control gpio support for STM32 UARTManivannan Sadhasivam1-2/+51
2019-12-18tty/serial: Migrate stm32-usart to use has_sysrqDmitry Safonov1-4/+1
2019-11-21serial: stm32: fix clearing interrupt error flagsFabrice Gasnier1-3/+3
2019-09-04tty: Remove dev_err() usage after platform_get_irq()Stephen Boyd1-13/+4
2019-09-04serial: stm32: Use __maybe_unused instead of #if CONFIG_PM_SLEEPErwan Le Ray1-5/+4
2019-09-04serial: stm32: add pm_runtime supportErwan Le Ray1-3/+38
2019-09-04serial: stm32: select pinctrl state in each suspend/resume functionErwan Le Ray1-0/+5
2019-06-21serial: stm32: add RX and TX FIFO flushErwan Le Ray1-5/+15
2019-06-21serial: stm32: add support of RX FIFO thresholdErwan Le Ray1-2/+19
2019-06-21serial: stm32: add support of TX FIFO thresholdErwan Le Ray1-9/+42
2019-06-21serial: stm32: update PIO transmissionErwan Le Ray1-14/+13
2019-06-21serial: stm32: add support of timeout interrupt for RXErwan Le Ray1-6/+25
2019-06-13Revert "serial: stm32: select pinctrl state in each suspend/resume function"Greg Kroah-Hartman1-4/+0
2019-06-10serial: stm32: fix a recursive locking in stm32_config_rs485Borut Seljak1-3/+0
2019-06-10serial: stm32: Make stm32_get_databits staticYueHaibing1-1/+1
2019-06-10serial: stm32: select pinctrl state in each suspend/resume functionBich Hemon1-0/+4
2019-05-24serial: stm32: fix the get_irq error caseErwan Le Ray1-8/+26
2019-05-24serial: stm32: fix wakeup source initializationErwan Le Ray1-13/+15
2019-05-24serial: stm32: Add support of TC bit status checkErwan Le Ray1-17/+15
2019-05-24serial: stm32: fix transmit_chars when tx is stoppedErwan Le Ray1-8/+3
2019-05-24serial: stm32: fix rx data length when parity enabledErwan Le Ray1-4/+8
2019-05-24serial: stm32: fix rx error handlingErwan Le Ray1-19/+35
2019-05-24serial: stm32: fix word length configurationErwan Le Ray1-7/+49
2018-03-15serial: stm32: fix initialization of RS485 modeBich HEMON1-0/+4
2018-03-14serial: stm32: add support for RS485 hardware control modeBich HEMON1-1/+129
2017-11-08tty: serial: Remove redundant license textGreg Kroah-Hartman1-1/+0
2017-11-08tty: add SPDX identifiers to all remaining files in drivers/tty/Greg Kroah-Hartman1-0/+1
2017-10-04Arm: dts: stm32: remove extra compatible string from DT & driverVikas Manocha1-3/+0
2017-08-28serial: stm32-usart: Avoid using irq_wake flagAndy Shevchenko1-1/+1
2017-08-28serial: stm32: fix pio transmit timeoutGerald Baeza1-1/+1
2017-07-30serial: stm32: add fifo supportGerald Baeza1-0/+7
2017-07-30serial: stm32: add wakeup mechanismFabrice Gasnier1-1/+89
2017-07-30serial: stm32: fix error handling in probeFabrice Gasnier1-2/+9
2017-07-30serial: stm32: add RTS supportBich HEMON1-1/+1
2017-07-30serial: stm32: fix multi-ports managementGerald Baeza1-5/+7
2017-07-30serial: stm32: fix copyrightBich HEMON1-0/+1
2016-09-27serial: stm32: mark symbols static where possibleBaoyou Xie1-3/+4
2016-09-27serial: stm32: use mapbase instead of membase for DMAArnd Bergmann1-2/+2
2016-09-22serial: stm32: fix uart enable managementAlexandre TORGUE1-1/+5
2016-09-22serial: stm32: fix spin_lock managementAlexandre TORGUE1-0/+4
2016-09-22serial: stm32: adding dma supportAlexandre TORGUE1-25/+364
2016-09-22serial: stm32: clock disabling managementAlexandre TORGUE1-2/+3
2016-09-22serial: stm32: correct flow control property spellingAlexandre TORGUE1-1/+1
2016-09-22serial: stm32: disable tx and rx during shutdownAlexandre TORGUE1-1/+1
2016-09-22serial: stm32: header file creationAlexandre TORGUE1-208/+1
2016-09-22serial: stm32: adding support for stm32f7Alexandre TORGUE1-50/+219
2015-10-04tty/serial: st-asc: drop the use of IRQF_NO_SUSPENDSudeep Holla1-2/+1
2015-07-23serial: stm32-usart: Fix SysRq supportMaxime Coquelin1-1/+1
2015-06-10serial: stm32-usart: Add STM32 USART DriverMaxime Coquelin1-0/+739