Merge "hwrng: Add QRNG driver snapshot for kona"

This commit is contained in:
qctecmdr 2019-12-20 12:22:28 -08:00 • committed by Gerrit - the friendly Code Review server
commit 567264c6cb
4 changed files with 512 additions and 0 deletions

13
include/uapi/linux/qrng.h Normal file
View file

@ -0,0 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
#ifndef _UAPI_QRNG_H_
#define _UAPI_QRNG_H_
#include <linux/types.h>
#include <linux/ioctl.h>
#define QRNG_IOC_MAGIC 0x100
#define QRNG_IOCTL_RESET_BUS_BANDWIDTH\
_IO(QRNG_IOC_MAGIC, 1)
#endif /* _UAPI_QRNG_H_ */