OSDN Git Service

bcm-vk: add bcm_vk UAPI
authorScott Branden <scott.branden@broadcom.com>
Wed, 20 Jan 2021 17:58:15 +0000 (09:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jan 2021 17:44:44 +0000 (18:44 +0100)
commit882227626459ce7a24191f13c6d9749a00992059
treea07a91f8d53e9bcc7bfecc4f421795678cbd10a1
parent66afbe4d633a0fc74f409a051296c3db22bea0b1
bcm-vk: add bcm_vk UAPI

Add user space api for bcm-vk driver.

Provide ioctl api to load images and issue reset command to card.
FW status registers in PCI BAR space also defined as part
of API so that user space is able to interpret these memory locations
as needed via direct PCIe access.

Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Link: https://lore.kernel.org/r/20210120175827.14820-2-scott.branden@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/misc/bcm_vk.h [new file with mode: 0644]