[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8f3b069dbca1a4f9b22ea6ca15f630fb4a6bf0cf.camel@toradex.com>
Date: Fri, 22 Jul 2022 08:32:28 +0000
From: Marcel Ziswiler <marcel.ziswiler@...adex.com>
To: "dev@...henker.ch" <dev@...henker.ch>,
"shawnguo@...nel.org" <shawnguo@...nel.org>
CC: "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-imx@....com" <linux-imx@....com>,
"peter.chen@...nel.org" <peter.chen@...nel.org>,
Philippe Schenker <philippe.schenker@...adex.com>,
"kernel@...gutronix.de" <kernel@...gutronix.de>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Andrejs Cainikovs <andrejs.cainikovs@...adex.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"festevam@...il.com" <festevam@...il.com>,
"krzysztof.kozlowski+dt@...aro.org"
<krzysztof.kozlowski+dt@...aro.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"s.hauer@...gutronix.de" <s.hauer@...gutronix.de>
Subject: Re: [PATCH] arm64: dts: verdin-imx8mm: add otg2 pd to usbphy
On Fri, 2022-07-22 at 09:55 +0200, Philippe Schenker wrote:
> From: Philippe Schenker <philippe.schenker@...adex.com>
>
> The Verdin iMX8M Mini System on Module does not have VBUS signal
> connected on Verdin USB_2 (usbotg2). On Verdin Development board this is
> no problem, as we have connected a USB-Hub that is always connected.
>
> However, if Verdin USB_2 is desired to be used as a single USB-Host port
> the chipidea driver does not detect if a USB device is plugged into this
> port, due to runtime pm shutting down the PHY.
>
> Add the power-domain &pgc_otg2 to &usbphynop2 in order to detect
> plugging events and enumerate the usb device.
>
> Fixes: 6a57f224f734 ("arm64: dts: freescale: add initial support for verdin imx8m mini")
> Signed-off-by: Philippe Schenker <philippe.schenker@...adex.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@...adex.com> # Gumstix Verdin EdgeAi
> ---
>
> arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-
> verdin.dtsi
> index eafa88d980b3..197da74837ca 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
> @@ -737,6 +737,7 @@ &usbphynop1 {
> };
>
> &usbphynop2 {
> + power-domains = <&pgc_otg2>;
> vcc-supply = <®_vdd_3v3>;
> };
Powered by blists - more mailing lists