Message ID | 20200710154935.697190-1-philippe.schenker@toradex.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [1/3] dt-bindings: usb: ci-hdrc-usb2: add property disable-runtime-pm | expand |
Hi Philippe, On Fri, Jul 10, 2020 at 12:51 PM Philippe Schenker <philippe.schenker@toradex.com> wrote: > > Chipidea depends on some hardware signals to be there in order I think this description is too vague. Could you please provide more details so that a user can know if their hardware falls into this category? It is not clear from seeing this series what is the hardware details that would require this property to be used.
On Fri, 2020-07-10 at 12:56 -0300, Fabio Estevam wrote: > Hi Philippe, > > On Fri, Jul 10, 2020 at 12:51 PM Philippe Schenker > <philippe.schenker@toradex.com> wrote: > > Chipidea depends on some hardware signals to be there in order > > I think this description is too vague. > > Could you please provide more details so that a user can know if their > hardware falls into this category? > > It is not clear from seeing this series what is the hardware details > that would require this property to be used. Hi Fabio, Peter, I tried to keep the description for this patch somewhat general. But as Peter suggested I will add Toradex's use-case for this. The problem with Colibri iMX6ULL is that we are stuck with a legacy module standard that does only include one USB host/device switching signal. Plus on that specific module we have no 5V available hence left the connection of VBUS signal away. This works normally pretty well but for our "dual-role OTG" port I could not make it work with runtime-pm running and proper extcon configuration. The problem was, when plugging in something in device or host mode gets not enumerated and detected. That are the reasons why I believe the PHY or something else in Chipidea needs a signal that it does not have on that module that would wake the whole thing from runtime-suspend. I will think about a better description and send a v2 Thanks Philippe
diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt index 51376cbe5f3d..67a31df13e69 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt @@ -90,6 +90,7 @@ Optional properties: case, the "idle" state needs to pull down the data and strobe pin and the "active" state needs to pull up the strobe pin. - pinctrl-n: alternate pin modes +- disable-runtime-pm: This disables the runtime power management. i.mx specific properties - fsl,usbmisc: phandler of non-core register device, with one
Chipidea depends on some hardware signals to be there in order for runtime-pm to work well. Add the possibility to disable runtime power management that is necessary for certain boards. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> --- Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 1 + 1 file changed, 1 insertion(+)