aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sh-sci.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-10serial: sh-sci: simplify locking when re-issuing RXDMA failsWolfram Sang1-3/+1
2024-05-10serial: sh-sci: let timeout timer only run when DMA is scheduledWolfram Sang1-2/+5
2024-05-10serial: sh-sci: describe locking requirements for invalidating RXDMAWolfram Sang1-0/+1
2024-05-10serial: sh-sci: protect invalidating RXDMA on shutdownWolfram Sang1-0/+5
2024-04-09tty: serial: switch from circ_buf to kfifoJiri Slaby (SUSE)1-26/+25
2024-03-05serial: sh-sci: Call sci_serial_{in,out}() directlyGeert Uytterhoeven1-126/+119
2023-11-23serial: sh-sci: convert not to use dma_request_slave_channel()Christophe JAILLET1-4/+3
2023-11-23serial: sh-sci: Convert to platform remove callback returning voidUwe Kleine-König1-4/+2
2023-09-18serial: sh-sci: Use port lock wrappersThomas Gleixner1-34/+34
2023-07-31Merge 6.5-rc4 into tty-nextGreg Kroah-Hartman1-1/+1
2023-07-25tty: serial: sh-sci: Fix sleeping in atomic contextBiju Das1-1/+1
2023-07-25tty: Explicitly include correct DT includesRob Herring1-1/+0
2023-04-20tty: serial: sh-sci: Fix end of transmission on SCIBiju Das1-0/+5
2023-04-20tty: serial: sh-sci: Add support for tx end interrupt handlingBiju Das1-3/+28
2023-04-20tty: serial: sh-sci: Fix TE setting on SCI IPBiju Das1-2/+17
2023-04-20tty: serial: sh-sci: Add RZ/G2L SCIFA DMA rx supportBiju Das1-7/+19
2023-04-20tty: serial: sh-sci: Add RZ/G2L SCIFA DMA tx supportBiju Das1-2/+13
2023-04-10Merge 6.3-rc6 into tty-nextGreg Kroah-Hartman1-1/+9
2023-03-29tty: serial: sh-sci: Fix Rx on RZ/G2L SCIBiju Das1-1/+1
2023-03-29tty: serial: sh-sci: Fix transmit end interrupt handlerBiju Das1-0/+8
2023-03-29tty: serial: sh-sci: Remove setting {src,dst}_{addr,addr_width} based on DMA ...Biju Das1-9/+6
2023-03-16serial: sh-sci: mark OF related data as maybe unusedKrzysztof Kozlowski1-1/+1
2023-03-16serial: Use of_property_present() for testing DT property presenceRob Herring1-1/+1
2022-12-16Merge tag 'tty-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-4/+1
2022-12-02tty: serial: sh-sci: use setup() callback for early consoleJohn Ogness1-4/+16
2022-11-03serial: sh-sci: Use uart_xmit_advance()Ilpo Järvinen1-4/+1
2022-08-30serial: sh-sci: tail is already on valid rangeIlpo Järvinen1-1/+1
2022-08-30serial: sh-sci: CIRC_CNT_TO_END() is enoughIlpo Järvinen1-3/+1
2022-08-30serial: Make ->set_termios() old ktermios constIlpo Järvinen1-1/+1
2022-05-19serial: sh-sci: Don't allow CS5-6Ilpo Järvinen1-1/+5
2022-03-03serial: make uart_console_write->putchar()'s character an unsigned charJiri Slaby1-1/+1
2022-02-21serial: sh-sci: Simplify multiplication/shift logicGeert Uytterhoeven1-1/+1
2021-12-20serial: sh-sci: Remove BREAK/FRAME/PARITY/OVERRUN printoutsMagnus Damm1-12/+0
2021-12-17serial: sh-sci: Use devm_clk_get_optional()Geert Uytterhoeven1-8/+7
2021-12-17serial: sh-sci: Use dev_err_probe()Geert Uytterhoeven1-7/+4
2021-12-17serial: sh-sci: Drop support for "sci_ick" clockGeert Uytterhoeven1-11/+0
2021-12-17tty: serial: sh-sci: Add support for R-Car Gen4Yoshihiro Shimoda1-0/+3
2021-11-25serial: sh-sci: Add support to deassert/assert reset lineLad Prabhakar1-7/+32
2021-08-16serial: sh-sci: fix break handling for sysrqUlrich Hecht1-1/+6
2021-06-15tty: make use of tty_get_{char,frame}_sizeJiri Slaby1-19/+1
2021-06-15serial: sh-sci: Stop dmaengine transfer in sci_stop_tx()Yoshihiro Shimoda1-0/+8
2021-06-09serial: sh-sci: Remove unused STEPFN() macroGeert Uytterhoeven1-3/+0
2021-06-04serial: sh-sci: Add support for RZ/G2L SoCBiju Das1-1/+11
2021-05-13serial: sh-sci: Fix off-by-one error in FIFO threshold register settingGeert Uytterhoeven1-2/+2
2021-04-15serial: sh-sci: remove obsolete latency workaroundUlrich Hecht1-12/+1
2021-03-23drivers: tty: serial: sh-sci: fix spelling typo of 'wheter'Wang Qing1-1/+1
2020-07-21Revert "serial: sh-sci: Initialize spinlock for uart console"Andy Shevchenko1-3/+0
2020-07-03serial: sh-sci: Initialize spinlock for uart consoleLad Prabhakar1-0/+3
2020-04-16serial: sh-sci: Make sure status register SCxSR is read in correct sequenceKazuhiro Fujita1-3/+10
2020-01-29Merge tag 'tty-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-8/+2
2020-01-06remove ioremap_nocache and devm_ioremap_nocacheChristoph Hellwig1-1/+1
2019-12-18tty/serial: Migrate sh-sci to use has_sysrqDmitry Safonov1-8/+2
2019-10-27Merge 5.4-rc5 into driver-core-nextGreg Kroah-Hartman1-2/+6
2019-10-07sh: add the sh_ prefix to early platform symbolsBartosz Golaszewski1-2/+2
2019-10-07drivers: move the early platform device support to arch/shBartosz Golaszewski1-1/+6
2019-10-04serial: sh-sci: Use platform_get_irq_optional() for optional interruptsGeert Uytterhoeven1-2/+6
2019-09-04serial: sh-sci: Don't check for mctrl_gpio_to_gpiod() returning errorGeert Uytterhoeven1-7/+5
2019-09-04serial: sh-sci: Don't check for mctrl_gpio_init() returning -ENOSYSFrieder Schrempf1-1/+1
2019-09-04serial: sh-sci: Use DEVICE_ATTR_RW() for rx_fifo_triggerGeert Uytterhoeven1-8/+6
2019-09-04serial: sh-sci: use driver core functions, not sysfs ones.Greg Kroah-Hartman1-14/+8
2019-07-03serial: sh-sci: Terminate TX DMA during buffer flushingGeert Uytterhoeven1-2/+9
2019-07-03serial: sh-sci: Fix TX DMA buffer flushing and workqueue racesGeert Uytterhoeven1-7/+15
2019-05-21serial: sh-sci: disable DMA for uart_consoleGeorge G. Davis1-0/+7
2019-04-16serial: sh-sci: Fix HSCIF RX sampling point adjustmentGeert Uytterhoeven1-1/+1
2019-04-16serial: sh-sci: Fix HSCIF RX sampling point calculationGeert Uytterhoeven1-1/+3
2019-03-19serial: sh-sci: Fix setting SCSCR_TIE while transferring dataHoan Nguyen An1-11/+1
2019-02-11Merge 5.0-rc6 into tty-nextGreg Kroah-Hartman1-1/+8
2019-01-30serial: sh-sci: Do not free irqs that have already been freedChris Brandt1-1/+8
2019-01-08serial: sh-sci: Make RX/TX DMA function names consistentGeert Uytterhoeven1-12/+12
2019-01-08serial: sh-sci: Fix fallback to PIO in sci_dma_rx_complete()Geert Uytterhoeven1-2/+3
2019-01-08serial: sh-sci: Extract sci_dma_rx_reenable_irq()Geert Uytterhoeven1-8/+15
2019-01-08serial: sh-sci: Extract sci_dma_rx_chan_invalidate()Geert Uytterhoeven1-6/+13
2018-12-17serial: sh-sci: Resume PIO in sci_rx_interrupt() on DMA failureGeert Uytterhoeven1-3/+8
2018-12-17serial: sh-sci: Fix crash in rx_timer_fn() on PIO fallbackGeert Uytterhoeven1-1/+1
2018-12-17serial: sh-sci: Fix locking in sci_submit_rx()Geert Uytterhoeven1-7/+9
2018-11-11Merge 4.20-rc2 into tty-nextGreg Kroah-Hartman1-4/+4
2018-11-10Merge tag 'tty-4.20-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-4/+4
2018-11-09serial: sh-sci: Fix could not remove dev_attr_rx_fifo_timeoutYoshihiro Shimoda1-2/+2
2018-11-09serial: sh-sci: Improve type-safety calling sci_receive_chars()Geert Uytterhoeven1-2/+2
2018-10-15serial: sh-sci: Fix receive on SCIFA/SCIFB variants with DMAGeert Uytterhoeven1-2/+2
2018-10-15serial: sh-sci: do not warn if DMA transfers are not supportedUlrich Hecht1-1/+1
2018-10-02Revert "serial: sh-sci: Allow for compressed SCIF address"Geert Uytterhoeven1-15/+10
2018-10-02Revert "serial: sh-sci: Remove SCIx_RZ_SCIFA_REGTYPE"Geert Uytterhoeven1-0/+31
2018-09-18serial: sh-sci: Add earlycon for R7S9210Chris Brandt1-0/+7
2018-09-18Revert "serial: sh-sci: Allow for compressed SCIF address"Geert Uytterhoeven1-15/+10
2018-09-18Revert "serial: sh-sci: Remove SCIx_RZ_SCIFA_REGTYPE"Geert Uytterhoeven1-0/+31
2018-08-02serial: sh-sci: Improve support for separate TEI and DRI interruptsChris Brandt1-51/+40
2018-08-02serial: sh-sci: Remove SCIx_RZ_SCIFA_REGTYPEChris Brandt1-31/+0
2018-08-02serial: sh-sci: Allow for compressed SCIF addressChris Brandt1-10/+15
2018-07-21serial: sh-sci: Drop superfluous assignment in sci_request_dma()Geert Uytterhoeven1-1/+0
2018-07-21serial: sh-sci: Fix use-after-free on subsequent port startupGeert Uytterhoeven1-0/+1
2018-07-16serial: sh-sci: Add support for R7S9210Chris Brandt1-2/+75
2018-07-06serial: sh-sci: Stop using deprecated dmaengine_terminate_all()Geert Uytterhoeven1-4/+4
2018-07-06serial: sh-sci: Stop TX DMA workqueue during port shutdownGeert Uytterhoeven1-2/+2
2018-07-06serial: sh-sci: Postpone DMA release when falling back to PIOGeert Uytterhoeven1-42/+41
2018-07-06serial: sh-sci: Stop RX FIFO timer during port shutdownGeert Uytterhoeven1-0/+2
2018-06-06Merge tag 'printk-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+2
2018-06-05serial: sh-sci: Stop using printk format %pCrGeert Uytterhoeven1-2/+2
2018-05-14serial: sh-sci: Use spin_{try}lock_irqsave instead of open coding versionDaniel Wagner1-5/+3
2018-04-23serial: sh-sci: Support for HSCIF RX sampling point adjustmentUlrich Hecht1-23/+42
2018-04-23serial: sh-sci: Add support for dynamic instancesGeert Uytterhoeven1-0/+8
2018-03-20Merge 4.16-rc6 into tty-nextGreg Kroah-Hartman1-0/+2
2018-02-28serial: sh-sci: Fix out-of-bounds access through DT aliasGeert Uytterhoeven1-0/+4
2018-02-28serial: sh-sci: prevent lockup on full TTY buffersUlrich Hecht1-0/+2
2018-02-28serial: sh-sci: use hrtimer for receive timeoutUlrich Hecht1-17/+30
2018-01-09treewide: Use DEVICE_ATTR_RWJoe Perches1-1/+1
2017-11-21treewide: setup_timer() -> timer_setup()Kees Cook1-9/+7
2017-11-08tty: serial: Remove redundant license textGreg Kroah-Hartman1-4/+0
2017-11-08tty: add SPDX identifiers to all remaining files in drivers/tty/Greg Kroah-Hartman1-0/+1
2017-11-04serial: sh-sci: Fix unlocked access to SCSCR registerTakatoshi Akiyama1-9/+16
2017-10-20serial: sh-sci: Fix init data attribute for struct 'port_cfg'Matthias Kaehlcke1-1/+1
2017-10-20serial: sh-sci: Use of_device_get_match_data() helperGeert Uytterhoeven1-6/+5
2017-10-04serial: sh-sci: suppress warning for ports without dma channelsAndy Lowe1-0/+8
2017-10-03serial: sh-sci: Support for variable HSCIF hardware RX timeoutUlrich Hecht1-15/+37
2017-08-28serial: sh-sci: use of_property_read_bool()Sergei Shtylyov1-2/+1
2017-07-17serial: sh-sci: Uninitialized variables in sysfs filesDan Carpenter1-4/+8
2017-05-24serial: sh-sci: Update warning message in sci_request_dma_chan()Geert Uytterhoeven1-2/+1
2017-05-18serial: sh-sci: Move uart_register_driver call to device probeSjoerd Simons1-11/+15
2017-05-18serial: sh-sci: Fix race condition causing garbage during shutdownGeert Uytterhoeven1-2/+14
2017-03-31serial: sh-sci: Fix (AUTO)RTS in sci_init_pins()Geert Uytterhoeven1-6/+19
2017-03-31serial: sh-sci: Fix late enablement of AUTORTSGeert Uytterhoeven1-0/+4
2017-03-31serial: sh-sci: Fix hang in sci_reset()Geert Uytterhoeven1-4/+0
2017-03-14serial: sh-sci: Fix panic when serial console and DMA are enabledTakatoshi Akiyama1-4/+6
2017-02-10serial: sh-sci: fix hardware RX trigger level settingUlrich Hecht1-2/+9
2017-02-06serial: sh-sci: make RX FIFO parameters tunable via sysfsUlrich Hecht1-0/+87
2017-02-06serial: sh-sci: SCIFA/B RX FIFO software timeoutUlrich Hecht1-33/+68
2017-02-06serial: sh-sci: increase RX FIFO trigger defaults for (H)SCIFUlrich Hecht1-1/+28
2017-02-03serial: sh-sci: implement FIFO threshold register settingUlrich Hecht1-0/+59
2017-02-03serial: sh-sci: add FIFO trigger bitsUlrich Hecht1-0/+2
2017-01-27serial: sh-sci: Reformat sci_parse_dt() for git diffGeert Uytterhoeven1-2/+2
2017-01-19serial: sh-sci: Compute the regshift value for SCI portsLaurent Pinchart1-1/+7
2017-01-19serial: sh-sci: Remove unused platform data capabilities fieldLaurent Pinchart1-4/+7
2017-01-19serial: sh-sci: Remove manual break debouncingLaurent Pinchart1-117/+7
2017-01-19serial: sh-sci: Remove the platform data dma slave rx/tx channel IDsLaurent Pinchart1-17/+6
2017-01-19serial: sh-sci: Extend sci_port_params with more port parametersLaurent Pinchart1-81/+100
2017-01-19serial: sh-sci: Constify platform dataLaurent Pinchart1-48/+49
2017-01-19serial: sh-sci: Replace regmap array with port parametersLaurent Pinchart1-123/+155
2017-01-19serial: sh-sci: Remove initialization of zero fields in sci_port_paramsLaurent Pinchart1-94/+0
2017-01-19serial: sh-sci: Fix register offsets for the IRDA serial portLaurent Pinchart1-9/+8
2017-01-19serial: sh-sci: Don't rely on platform data flags when not neededLaurent Pinchart1-4/+3
2017-01-19serial: sh-sci: Set the SCSCR TE and RE bits in the driverLaurent Pinchart1-6/+7
2017-01-12tty: serial: sh-sci: set error code when kasprintf failsPan Bian1-1/+3
2016-11-10serial: sh-sci: Fix deadlock caused by serial output requestTakatoshi Akiyama1-15/+5
2016-09-02tty: serial: constify uart_ops structuresJulia Lawall1-1/+1
2016-06-26serial: sh-sci: Stop transfers in sci_shutdown()Geert Uytterhoeven1-0/+4
2016-06-25serial: sh-sci: Clear (H)SCIF timeout and overrun during resetGeert Uytterhoeven1-0/+5
2016-06-25serial: sh-sci: Clear RX, error, and break flags during resetGeert Uytterhoeven1-0/+4
2016-06-25serial: sh-sci: Do not start transfers from sci_startup()Geert Uytterhoeven1-6/+0
2016-06-25serial: sh-sci: Add DT support for dedicated RTS/CTSGeert Uytterhoeven1-0/+3
2016-06-25serial: sh-sci: Fix support for hardware-assisted RTS/CTSGeert Uytterhoeven1-7/+83
2016-06-25serial: sh-sci: Add pin initialization for SCIFA/SCIFBGeert Uytterhoeven1-1/+15
2016-06-25serial: sh-sci: Correct pin initialization on (H)SCIFGeert Uytterhoeven1-15/+8
2016-06-25serial: sh-sci: Do not open-code sci_getreg()Geert Uytterhoeven1-5/+2
2016-06-25serial: sh-sci: Add support for GPIO-controlled modem linesGeert Uytterhoeven1-1/+45
2016-06-25serial: sh-sci: Always set TIOCM_CTS in .get_mctrl() callbackGeert Uytterhoeven1-2/+2
2016-03-07serial: sh-sci: Remove redundant instances of EARLYCON_DECLARE()Geert Uytterhoeven1-5/+0
2016-02-06serial: sh-sci: Add support for SCIFA/SCIFB variable sampling ratesGeert Uytterhoeven1-2/+27
2016-02-06serial: sh-sci: Use a bitmask to indicate supported sampling ratesGeert Uytterhoeven1-39/+27
2016-02-06serial: sh-sci: Use premultiplier to handle half sampling rateGeert Uytterhoeven1-6/+10
2016-02-06serial: sh-sci: Preserve SCIFA/SCIFB bit rate config for serial consoleGeert Uytterhoeven1-1/+2
2016-02-06serial: sh-sci: Add more Serial Mode Register documentationGeert Uytterhoeven1-1/+1
2016-02-06serial: sh-sci: Add CONFIG_SERIAL_EARLYCON supportYoshinori Sato1-5/+72
2016-01-07serial: sh-sci: Remove cpufreq notifier to fix crash/deadlockGeert Uytterhoeven1-42/+0
2016-01-07Merge branch 'scif-clk-sck-brg-for-v4.5' of git://git.kernel.org/pub/scm/linu...Greg Kroah-Hartman1-152/+403
2015-12-17serial: sh-sci: Drop the sci_fck clock fallbackLaurent Pinchart1-5/+0
2015-12-17serial: sh-sci: Add support for optional BRG on (H)SCIFGeert Uytterhoeven1-5/+80
2015-12-17serial: sh-sci: Add support for optional external (H)SCK inputGeert Uytterhoeven1-3/+66
2015-12-17serial: sh-sci: Prepare for multiple sampling clock sourcesGeert Uytterhoeven1-60/+134
2015-12-17serial: sh-sci: Correct SCIF type on R-Car for BRGGeert Uytterhoeven1-0/+11
2015-12-17serial: sh-sci: Correct SCIF type on RZ/A1HGeert Uytterhoeven1-0/+6
2015-12-17serial: sh-sci: Replace struct sci_port_info by type/regtype encodingGeert Uytterhoeven1-29/+11
2015-12-17serial: sh-sci: Add BRG register definitionsGeert Uytterhoeven1-0/+46
2015-12-17serial: sh-sci: Take into account sampling rate for max baud rateGeert Uytterhoeven1-1/+4
2015-12-17serial: sh-sci: Merge sci_scbrr_calc() and sci_baud_calc_hscif()Geert Uytterhoeven1-23/+19
2015-12-17serial: sh-sci: Avoid calculating the receive margin for HSCIFGeert Uytterhoeven1-27/+24
2015-12-17serial: sh-sci: Improve bit rate error calculation for HSCIFGeert Uytterhoeven1-13/+8
2015-12-17serial: sh-sci: Avoid overflow in sci_baud_calc_hscif()Geert Uytterhoeven1-6/+19
2015-12-17serial: sh-sci: Make unsigned values in sci_baud_calc_hscif() unsignedGeert Uytterhoeven1-5/+6
2015-12-17serial: sh-sci: Convert from clk_get() to devm_clk_get()Geert Uytterhoeven1-6/+4
2015-12-17serial: sh-sci: Don't overwrite clock selection in serial_console_write()Geert Uytterhoeven1-3/+5
2015-12-17serial: sh-sci: Drop unused frame_len parameter for sci_baud_calc_hscif()Geert Uytterhoeven1-21/+3
2015-12-17serial: sh-sci: Use existing local variable in sci_parse_dt()Geert Uytterhoeven1-1/+1
2015-12-17serial: sh-sci: Grammar s/Get ... for/Get ... from/Geert Uytterhoeven1-1/+1
2015-12-17serial: sh-sci: Drop useless check for zero sampling_rateGeert Uytterhoeven1-7/+1
2015-12-17serial: sh-sci: Drop the interface clockLaurent Pinchart1-23/+41
2015-12-12serial: sh-sci: Fix length of scatterlistYoshihiro Shimoda1-1/+1
2015-10-04serial: sh-sci: Add DT support to DMA setupGeert Uytterhoeven1-31/+47
2015-10-04serial: sh-sci: Pause DMA engine and get DMA status againMuhammad Hamza Farooq1-0/+16
2015-10-04serial: sh-sci: Do not terminate DMA engine when race condition occursMuhammad Hamza Farooq1-1/+6
2015-10-04serial: sh-sci: Call dma_async_issue_pending when transaction completesMuhammad Hamza Farooq1-0/+3
2015-10-04serial: sh-sci: Redirect port interrupts to CPU _only_ when DMA stopsMuhammad Hamza Farooq1-8/+10
2015-10-04serial: sh-sci: Remove timer on shutdown of portAleksandar Mitev1-0/+8
2015-10-04serial: sh-sci: Stop calling sci_start_rx() from sci_request_dma()Geert Uytterhoeven1-1/+0
2015-10-04serial: sh-sci: Submit RX DMA from RX interrupt on (H)SCIFGeert Uytterhoeven1-2/+5
2015-10-04serial: sh-sci: Get rid of the workqueue to handle receive DMA requestsGeert Uytterhoeven1-74/+61
2015-10-04serial: sh-sci: Shuffle functions aroundGeert Uytterhoeven1-456/+449
2015-10-04serial: sh-sci: Don't call sci_dma_rx_push() if no data has arrivedGeert Uytterhoeven1-4/+5
2015-10-04serial: sh-sci: Don't kick tx in sci_er_interrupt() when using DMAYoshihiro Shimoda1-1/+2
2015-10-04serial: sh-sci: Don't call sci_rx_interrupt() on error when using DMAGeert Uytterhoeven1-1/+3
2015-10-04serial: sh-sci: Fix NULL pointer dereference if HIGHMEM is enabledYoshihiro Shimoda1-9/+9