]> git.baikalelectronics.ru Git - kernel.git/commit
misc: bcm-vk: add ttyVK support
authorScott Branden <scott.branden@broadcom.com>
Wed, 20 Jan 2021 17:58:27 +0000 (09:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jan 2021 17:44:45 +0000 (18:44 +0100)
commit11c370bc3b2f5f662925987d9812dfff783271ad
tree15b736d239a23a46b00937a27138b6efad114520
parent06c24a891587b227f42b7caa0d81320b0e91bedd
misc: bcm-vk: add ttyVK support

Add ttyVK support to driver to allow console access to VK card from host.

Device node will be in the follow form /dev/bcm-vk.x_ttyVKy where:
x is the instance of the VK card
y is the tty device number on the VK card

Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Link: https://lore.kernel.org/r/20210120175827.14820-14-scott.branden@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/bcm-vk/Makefile
drivers/misc/bcm-vk/bcm_vk.h
drivers/misc/bcm-vk/bcm_vk_dev.c
drivers/misc/bcm-vk/bcm_vk_tty.c [new file with mode: 0644]