]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: imx51-babbage: Fix ULPI PHY reset modelling
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 5 Jan 2015 17:19:08 +0000 (15:19 -0200)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 6 Jan 2015 12:25:58 +0000 (20:25 +0800)
commit16e8c4a60f139dea19955c56216c32a8a0c8e6e6
treed2823be0f617ac88bf06fdd5373d275d6a0b7157
parentfbbfbe81f62e7b47fbdacec5414461231c437446
ARM: dts: imx51-babbage: Fix ULPI PHY reset modelling

GPIO2_5 is the reset GPIO for the USB3317 ULPI PHY. Instead of modelling it as
a regulator, the correct approach is to use the 'reset_gpios' property of the
"usb-nop-xceiv" node.

GPIO1_7 is the reset GPIO for the USB2517 USB hub. As we currently don't have
dt bindings to describe a HUB reset, let's keep using the regulator approach.

Rename the regulator to 'reg_hub_reset' to better describe its function and bind
it with the USB host1 port instead.

USB host support has been introduced by commit e7dbb3ac7ec0f9 ("ARM: dts:
imx51-babbage: Add USB Host1 support"), which landed in 3.16 and it seems that
USB has only been functional due to previous bootloader initialization.

With this patch applied we can get USB host to work without relying on the
bootloader.

Cc: <stable@vger.kernel.org> # 3.16+
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx51-babbage.dts