From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 8 Sep 2015 20:33:25 +0200 Subject: [U-Boot] [PATCH 4/5] dm: usb: Add support for USB keyboards with driver model In-Reply-To: <1441732512-727-5-git-send-email-sjg@chromium.org> References: <1441732512-727-1-git-send-email-sjg@chromium.org> <1441732512-727-5-git-send-email-sjg@chromium.org> Message-ID: <201509082033.25963.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday, September 08, 2015 at 07:15:11 PM, Simon Glass wrote: > Switch USB keyboards over to use driver model instead of scanning with the > horrible usb_get_dev_index() function. This involves creating a new uclass > for keyboards, although so far there is no API. Hi, Why don't you create an UCLASS for generic input device instead ? But in general, looks pretty standard/OK. Best regards, Marek Vasut