OSDN Git Service

HID: add driver for U2F Zero built-in LED and RNG
authorAndrej Shadura <andrew.shadura@collabora.co.uk>
Mon, 1 Apr 2019 12:42:00 +0000 (14:42 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 10 Apr 2019 11:59:39 +0000 (13:59 +0200)
commit42337b9d4d958daae266dc455a54e3b9f157862a
tree3d745883c473e971f5f42e999f3c9cb6b86d5621
parent8ed86627f715eacbd6db6862f9499d6d96ea4ad6
HID: add driver for U2F Zero built-in LED and RNG

U2F Zero supports custom commands for blinking the LED and getting data
from the internal hardware RNG. Expose the blinking function as a LED
device, and the internal hardware RNG as an HWRNG so that it can be used
to feed the enthropy pool.

Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-ids.h
drivers/hid/hid-u2fzero.c [new file with mode: 0644]