MIPS: JZ4740: Probe OHCI platform device via DT
authorMaarten ter Huurne <maarten@treewalker.org>
Mon, 18 Apr 2016 18:58:52 +0000 (20:58 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 17:09:24 +0000 (19:09 +0200)
commit9d1e7875fafc45dbcbe3d816b022aa1f17219f32
tree44807da199e9ba3dc6f2a317d8b37627f94c61dc
parent46d6ccdbf384f3659e204824d3bce40c1fa989de
MIPS: JZ4740: Probe OHCI platform device via DT

The DT fragment will select the ohci-platform driver, since that can
handle the JZ4740 OHCI just fine. While I don't have a JZ4740-based
board with anything connected to the USB host controller, I did test
the generic OHCI driver successfully on a JZ4770-based board.

The device is disabled by default; boards that want to use it can
override the "status" property. The mass-production Qi LB60 boards
don't use the USB host controller.

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13104/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/boot/dts/ingenic/jz4740.dtsi
arch/mips/include/asm/mach-jz4740/platform.h
arch/mips/jz4740/platform.c