[PATCH v6 1/1] USB: core: let USB device know device node
arnd at arndb.de
Fri Feb 19 02:15:06 PST 2016
On Friday 19 February 2016 17:26:15 Peter Chen wrote:
> From: Peter Chen <peter.chen at freescale.com>
> Although most of USB devices are hot-plug's, there are still some devices
> are hard wired on the board, eg, for HSIC and SSIC interface USB devices.
> If these kinds of USB devices are multiple functions, and they can supply
> other interfaces like i2c, gpios for other devices, we may need to
> describe these at device tree.
> In this commit, it uses "reg" in dts as physical port number to match
> the phyiscal port number decided by USB core, if they are the same,
> then the device node is for the device we are creating for USB core.
> Signed-off-by: Peter Chen <peter.chen at freescale.com>
> Acked-by: Philipp Zabel <p.zabel at pengutronix.de>
> Acked-by: Alan Stern <stern at rowland.harvard.edu>
> Acked-by: Rob Herring <robh at kernel.org>
Acked-by: Arnd Bergmann <arnd at arndb.de>
More information about the linux-arm-kernel