Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp636320rwb; Thu, 11 Aug 2022 07:32:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR4/y7m9SUBjxksz9OocXVuLITJBThK8le37M2D7tdfSo7bsjW/inXPkX4EaiEBtsZeHbcDW X-Received: by 2002:a63:1751:0:b0:41c:daad:4ad5 with SMTP id 17-20020a631751000000b0041cdaad4ad5mr26586631pgx.226.1660228335196; Thu, 11 Aug 2022 07:32:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660228335; cv=none; d=google.com; s=arc-20160816; b=dbJL1Z+MqotbpCpgsgEpDWL9nr6Bx1uOkVZb0n5kZsEjT+rJnQxuPbxoRwVaeh1vcW wXWt7Oj7F1D8QRxSDPafzNlHFaJv89UuapgM3cQBLjJHScsI8wNifZNkW/I57YmqP0OS AzsLDNMQg5d/AYZzFVoszHGnbAqFmQI6BrvnCFBE/JEZLYZoQpWWQFXdq6E5SyK+EXUF OsAuLDu7gdLalNm3MFCnDke4eQqZyHvSvAB26z/il7K9u8WzvyQBrOMAJEbDQje6U+w9 0MwQdwIDcjwjDpJQU319//LCps63tJYsXaiaFtDzRC2w3t7BECL/+nmQxYu+MKfUn49+ lKsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=gAHa1JvpukjEUcQTyqkBqSXiSIX5UyoqGWa4KIF0etw=; b=xjt63btN+vFBy5L9DeSqIiETJzsg1kD4dL/EYn+owl/DoToftHHu21AvU7EhhRzIUb wKVHrruoevwj5xGZSs/xHB6iK8QRS2l5s0Qkeu04QlhQrioRlfFFtMxNMv5a9sT1f5rM ASeMkGxNErhGEFc+SlzDzKt4lxKG8CAGEWSmYOFkNB3SwZe3YY9VVz/8EY8LaDvS82tc r6rAmT6/QgznkVYxXe3cIdtGNJNsgnxytteNOj3+CK/hhBEVVuu2Ye1ktNJVNMfIrZuX q3T4VpUh/hvMECxdkk4hj/O7+34E5/tNKjMYGlrpV08x5q7cJpQ77bxPNWqd+4wxsXst r56g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=XYaPGgux; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7-20020a636b07000000b004218caaa6aesi257855pgc.345.2022.08.11.07.31.52; Thu, 11 Aug 2022 07:32:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=XYaPGgux; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234731AbiHKOIN (ORCPT + 99 others); Thu, 11 Aug 2022 10:08:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234000AbiHKOIJ (ORCPT ); Thu, 11 Aug 2022 10:08:09 -0400 Received: from smtp-190b.mail.infomaniak.ch (smtp-190b.mail.infomaniak.ch [IPv6:2001:1600:3:17::190b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F256A8D3D6 for ; Thu, 11 Aug 2022 07:08:06 -0700 (PDT) Received: from smtp-3-0001.mail.infomaniak.ch (unknown [10.4.36.108]) by smtp-2-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4M3TD421tWzMqd6N; Thu, 11 Aug 2022 16:08:04 +0200 (CEST) Received: from philippe-pc.toradex.int (unknown [31.10.206.125]) by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4M3TD33qzwzlnSCp; Thu, 11 Aug 2022 16:08:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1660226884; bh=4P5wFVHP/eifLMBuIeuCofL/rr2vQY8FapKBSxxQcyg=; h=From:To:Cc:Subject:Date:From; b=XYaPGguxH+lQL1/6W4Ph0J7UjMEKkgfqsM9TjrbrUCxamCHTrmtUTdXbFRsgMCqTX efm06gZ3YdCrMnKGI3D7y/FQk+cOBYDGpCFBuEFSzbHQcWtKDk+WACqldIsQ1ssjIS YnGSskjl/3mDE36/Ti9Ki4dgKzhLtDUHeWL3FqNw= From: Philippe Schenker To: Shawn Guo Cc: Frieder Schrempf , Peter Chen , Philippe Schenker , Fabio Estevam , Krzysztof Kozlowski , Marcel Ziswiler , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: verdin-imx8mm: add otg2 pd to usbphy Date: Thu, 11 Aug 2022 16:07:38 +0200 Message-Id: <20220811140738.96348-1-dev@pschenker.ch> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Philippe Schenker 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 --- Changes in v2: - Changed word VBUS to USB-ID, as from mailinglist discussions I obviously mixed that up before. 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 d1b4582f44c4..34808aa36c2b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi @@ -745,6 +745,7 @@ &usbphynop1 { }; &usbphynop2 { + power-domains = <&pgc_otg2>; vcc-supply = <®_vdd_3v3>; }; -- 2.37.1