From: l.stach@pengutronix.de (Lucas Stach) Date: Tue, 06 Jan 2015 15:03:09 +0100 Subject: [PATCH] ARM: dts: imx51-babbage: Fix ULPI PHY reset modelling In-Reply-To: References: <1420478348-2754-1-git-send-email-fabio.estevam@freescale.com> <20150106124343.GM24511@dragon> <1420551365.2333.15.camel@pengutronix.de> <1420552459.2333.18.camel@pengutronix.de> Message-ID: <1420552989.2333.20.camel@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Am Dienstag, den 06.01.2015, 11:59 -0200 schrieb Fabio Estevam: > On Tue, Jan 6, 2015 at 11:54 AM, Lucas Stach wrote: > > >> Actually the ULPI PHY reset is properly handled now. What is missing > >> is the USB Hub reset to be properly handled. > >> > > No it is not. A regulator isn't the proper abstraction for a reset at > > all. Even if you (ab)use the regulator drivers ability to toggle a reset > > GPIO. > > A ULPI PHY reset needs to be modeled as a GPIO reset attached to USB > > controller node. There is no other way to describe the hardware > > accurately. > > The ULPI PHY is modelled as a GPIO reset via reset-gpios property. > This is documented at > Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt: > > - reset-gpios: Should specify the GPIO for reset. > > This is the property we use right now for resetting the ULPI PHY. Right. I misread that part of the patch. Sorry about that. Regards, Lucas -- Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ |