[PATCH v7 2/2] Add generic serial MIDI driver using serial bus API

Rob Herring robh at kernel.org
Wed May 11 16:28:01 CEST 2022


On Mon, May 09, 2022 at 09:59:33AM -0500, Daniel Kaehn wrote:
> Generic serial MIDI driver adding support for using serial devices
> compatible with the serial bus as raw MIDI devices, allowing using
> additional serial devices not compatible with the existing
> serial-u16550 driver. Supports only setting standard serial baudrates on
> the underlying serial device; however, the underlying serial device can
> be configured so that a requested 38.4 kBaud is actually the standard MIDI
> 31.25 kBaud. Supports DeviceTree configuration.
> 
> Signed-off-by: Daniel Kaehn <kaehndan at gmail.com>
> ---
>  sound/drivers/Kconfig          |  18 ++
>  sound/drivers/Makefile         |   2 +
>  sound/drivers/serial-generic.c | 374 +++++++++++++++++++++++++++++++++
>  3 files changed, 394 insertions(+)
>  create mode 100644 sound/drivers/serial-generic.c

Reviewed-by: Rob Herring <robh at kernel.org>


More information about the Alsa-devel mailing list