From nobody Fri Dec 19 07:48:06 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2AFCBC6FA8B for ; Tue, 13 Sep 2022 14:18:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233248AbiIMOS1 (ORCPT ); Tue, 13 Sep 2022 10:18:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233153AbiIMORk (ORCPT ); Tue, 13 Sep 2022 10:17:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89A18642C2; Tue, 13 Sep 2022 07:12:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 08E4CB80F52; Tue, 13 Sep 2022 14:12:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AD2EC433D6; Tue, 13 Sep 2022 14:12:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663078353; bh=43QRoDufEtRK3DtXzxScgeaezUW3pXwLMALlVhWIUGk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lt5sgrBGZI4PXHhuC4BqKKGmEkugMNNlkPJBuuFKOaPDY+XlIBqt7vujMa0sInnz/ hQpfo/k3QuI4EgCUhUTlsaWA8EfVTxeJrCUY5gZz09f9FD7OuFChpDT+CjNH2TwiY1 Af2ubd3JIb4x92JJCNT2+6mVx0Ws7dwceLSsz36s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Philippe Schenker , Shawn Guo , Sasha Levin Subject: [PATCH 5.19 080/192] arm64: dts: verdin-imx8mm: add otg2 pd to usbphy Date: Tue, 13 Sep 2022 16:03:06 +0200 Message-Id: <20220913140413.948772334@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220913140410.043243217@linuxfoundation.org> References: <20220913140410.043243217@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Philippe Schenker [ Upstream commit 2fa24aa721ebb3a83dd2093814ba9a5dcdaa3183 ] The Verdin iMX8M Mini System on Module does not have USB-ID 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 Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- 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 6491e745b3fa8..d6d31094be0af 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi @@ -737,6 +737,7 @@ }; =20 &usbphynop2 { + power-domains =3D <&pgc_otg2>; vcc-supply =3D <®_vdd_3v3>; }; =20 --=20 2.35.1