[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250924153740.806444-1-hugo@hugovil.com>
Date: Wed, 24 Sep 2025 11:37:25 -0400
From: Hugo Villeneuve <hugo@...ovil.com>
To: gregkh@...uxfoundation.org,
jirislaby@...nel.org,
fvallee@...rea.fr
Cc: linux-kernel@...r.kernel.org,
linux-serial@...r.kernel.org,
hugo@...ovil.com,
Hugo Villeneuve <hvilleneuve@...onoff.com>
Subject: [PATCH 00/15] serial: sc16is7xx: register access fixes and improvements
From: Hugo Villeneuve <hvilleneuve@...onoff.com>
Hello,
this patch series brings some fixes and improvements to the register
accesses for the sc16is7xx driver.
It also adds some minor improvements, and cleanups to uniformize code
style accross the driver.
I have tested the changes on a custom board with two SC16IS752 DUART over
a SPI interface using a Variscite IMX8MN NANO SOM. The four UARTs are
configured in RS-485 mode.
I did not test the change on a SC16is7xx using I2C interface, as my custom
board is only using SPI.
Thank you.
Hugo Villeneuve (15):
serial: sc16is7xx: remove useless enable of enhanced features
serial: sc16is7xx: rename LCR macros to better reflect usage
serial: sc16is7xx: rename EFR mutex with generic name
serial: sc16is7xx: define common register access function
serial: sc16is7xx: use guards for simple mutex locks
serial: sc16is7xx: use dev_err_probe() instead of dev_err()
serial: sc16is7xx: declare SPR/TLR/XOFF2 register as volatile
serial: sc16is7xx: move port/channel init to separate function
serial: sc16is7xx: Kconfig: allow building with COMPILE_TEST
serial: sc16is7xx: use KBUILD_MODNAME
serial: sc16is7xx: remove empty line
serial: sc16is7xx: add missing space between macro args (checkpatch)
serial: sc16is7xx: change incorrect indentation
serial: sc16is7xx: reformat comments
serial: sc16is7xx: add/improve comments
drivers/tty/serial/Kconfig | 2 +-
drivers/tty/serial/sc16is7xx.c | 275 ++++++++++++++---------------
drivers/tty/serial/sc16is7xx.h | 1 -
drivers/tty/serial/sc16is7xx_i2c.c | 4 +-
drivers/tty/serial/sc16is7xx_spi.c | 4 +-
5 files changed, 139 insertions(+), 147 deletions(-)
base-commit: f4abab350840d58d69814c6993736f03ac27df83
--
2.39.5
Powered by blists - more mailing lists