From patchwork Tue May 10 05:46:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 12844548 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A01FAC433EF for ; Tue, 10 May 2022 05:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HfqKjUjerlnFLPPGJRD/Vd5iOZVgJgEKTHO7Z/ubFv0=; b=qpewAQazSLF2te JOLYS30MTF0zA7ucdoikRW77gM5cSI2zGHnn97DYEu+fSj9NkQyVgEvN3nX/A9avv6t4VW8TAerg3 UM8GKqhNr2JfgZBXX/RQEXRVNbHmk88XPF76gWTdkKDum6kFI6dC5AUbgTSOjFVlezoWXpKnMokkK 83IWZvmGmkLzuCfRDdItWQ5tJa9xaeVPVBfERhBTTjiKEVQSvfOjpKJ2+VphZLDxPYbK0BlBtbqqm 3k9h4j+OfoxXgrahvwh55Un4QXwaZQjywQ+KLNBd0GKFT6Ou3jZ294NM7H9UF2RmkCJ3Vku/5GU5I eXSgX1mssKLDsvkQiUfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noIhW-0003KO-Jo; Tue, 10 May 2022 05:46:26 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noIhS-0003Hw-VL for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 05:46:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1652161583; x=1683697583; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=1dvaSBK4nCvk1E14r7yHVwjYZUrsU7FupqvfUkqnX3Q=; b=GbWo7vTDP9eDNTF949TwaSDIVlwFTaMqHt9/mh9hGJkWQR84bsGpcXpq WCswMTSUMgEcDIPLjkbwH1sMHbY9kmb0huOFk2gXqi1z0XyPp/WICqWZU dpQpW3OVt0MA2vFMPMm4eRj2fddKHmitwgme9s5pwuaL95kIRCVntI+J6 5m63CrCEU18nhBMmSXV1B4bO9JEcF13DeyErgQ0lGl86pp+meNaxQQkT1 zYrDsN7TeCM1DxLkBRJajfD2RUpag/nVLLAcRKLOJXamqpW8yUXbjfCpF Yp1p9vCrLENJEexwCaG8livMQPO14aF5+k1DvMabKUFjKO14z6L/popIH g==; X-IronPort-AV: E=Sophos;i="5.91,213,1647298800"; d="scan'208";a="23767313" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 10 May 2022 07:46:19 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 10 May 2022 07:46:19 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 10 May 2022 07:46:19 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1652161579; x=1683697579; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=1dvaSBK4nCvk1E14r7yHVwjYZUrsU7FupqvfUkqnX3Q=; b=IF87Kon6ekcWsJk0xQz66sGC5v2KKImoMkS3jTfTTVoLYFkf/6tLRR5v LAR52I3QlhotbQCp9RmmAekHglCUiAWr/5rqODhPY/gWkC39X4pizEcQ5 4FOuF4t6n6gOPZUB9tjeZRQxhXBANGEROEnF2y6K5Y0Ajnz1U1F8hPWdY OMhVFKmkRkDwh6s+VSow8s95+WxFO37QVRS/3M31afas23NRLlttMrrA1 R9hr5NxYwa4aE4M85SzSJ7CaMMP/chgEfRqpnpQnyuVrHYoiSaJrYfipd 598CMzrqEQmagWwZmGbf0FngnbzvehwdICF7WfiG2Finwibatc6p1bYp2 A==; X-IronPort-AV: E=Sophos;i="5.91,213,1647298800"; d="scan'208";a="23767312" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 May 2022 07:46:19 +0200 Received: from steina-w.tq-net.de (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 57A43280070; Tue, 10 May 2022 07:46:19 +0200 (CEST) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jun Li Subject: [PATCH v2 1/1] ARM: dts: imx7: Move hsic_phy power domain to HSIC PHY node Date: Tue, 10 May 2022 07:46:12 +0200 Message-Id: <20220510054612.2389595-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_224623_444803_EF3CAC30 X-CRM114-Status: GOOD ( 14.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Move the power domain to its actual user. This keeps the power domain enabled even when the USB host is runtime suspended. This is necessary to detect any downstream events, like device attach. Fixes: 02f8eb40ef7b ("ARM: dts: imx7s: Add power domain for imx7d HSIC") Suggested-by: Jun Li Signed-off-by: Alexander Stein Reviewed-by: Fabio Estevam --- This patch superseeds the initial patch from [1]. [1] https://lore.kernel.org/linux-arm-kernel/5566202.DvuYhMxLoT@steina-w/T/ Changes in v2: * Added Fixes tag arch/arm/boot/dts/imx7s.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 008e3da460f1..039eed79d2e7 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -120,6 +120,7 @@ usbphynop3: usbphynop3 { compatible = "usb-nop-xceiv"; clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>; clock-names = "main_clk"; + power-domains = <&pgc_hsic_phy>; #phy-cells = <0>; }; @@ -1153,7 +1154,6 @@ usbh: usb@30b30000 { compatible = "fsl,imx7d-usb", "fsl,imx27-usb"; reg = <0x30b30000 0x200>; interrupts = ; - power-domains = <&pgc_hsic_phy>; clocks = <&clks IMX7D_USB_CTRL_CLK>; fsl,usbphy = <&usbphynop3>; fsl,usbmisc = <&usbmisc3 0>;