
7 Oct
2015
7 Oct
'15
12:49 a.m.
On 5 October 2015 at 03:18, Thomas Chou thomas@wytron.com.tw wrote:
Implement a Miscellaneous uclass with generic read or write operations. This class is used only for those do not fit other more general classes.
Signed-off-by: Thomas Chou thomas@wytron.com.tw
v2 add missing misc.h. v3 no change. v4 add ioctl and comments as Simon suggested.
drivers/misc/Kconfig | 9 ++++++ drivers/misc/Makefile | 1 + drivers/misc/misc-uclass.c | 52 ++++++++++++++++++++++++++++++ include/dm/uclass-id.h | 1 + include/misc.h | 79 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 142 insertions(+) create mode 100644 drivers/misc/misc-uclass.c create mode 100644 include/misc.h
Acked-by: Simon Glass sjg@chromium.org