From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Tue, 13 Oct 2015 21:18:28 +0800 Subject: [U-Boot] [PATCH v6 1/2] dm: implement a Miscellaneous uclass In-Reply-To: <1444468025-17992-1-git-send-email-thomas@wytron.com.tw> References: <1443511438-18625-1-git-send-email-thomas@wytron.com.tw> <1444468025-17992-1-git-send-email-thomas@wytron.com.tw> Message-ID: <561D04A4.20006@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/10/2015 05:07 PM, Thomas Chou 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 > Acked-by: Simon Glass > --- > v2 > add missing misc.h. > v3 > no change. > v4 > add ioctl and comments as Simon suggested. > v5 > no change. > v6 > replace DM_MISC to MISC. > > drivers/misc/Kconfig | 9 ++++++ > drivers/misc/Makefile | 1 + > drivers/misc/misc-uclass.c | 51 ++++++++++++++++++++++++++++++ > include/dm/uclass-id.h | 1 + > include/misc.h | 79 ++++++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 141 insertions(+) > create mode 100644 drivers/misc/misc-uclass.c > create mode 100644 include/misc.h > Applied to u-boot-nios.