From patchwork Mon May 9 11:07:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 12843344 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 3ECF2C433EF for ; Mon, 9 May 2022 11:08:34 +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=gNp211QAeUPMrgZfLz9y+ug+wn7BaO2fKQSnM0zlwoM=; b=0Ndqsb6WdGRtiU 4u5TPQTB9odWe9KRK0tmXYVzS3iLU1+zIuyQ478lT9mVer12yQG1GU1KEPH2tVHiCCcB0TX69dZq6 EdrdLmHGfzI55yUGxmb+F4d1mt61HPJA2+6Z9fQDIriJoOugScbhXe4RsVL/y4D2JfADF+yqWKPiq 43j8IlvMxM8DupL3O3GrpLvDLQc4fYxrdcDxX8AlbyJwd5FCaFDRJeuuDoaxnonHi81PJXY3JecrL 16Y4NO8whqJfl+S6g1C9GsJSQUbM2LyEFRQnXRj1uXENfozML6k5Gy25345gpKcCTuJsjkR+hEPJ0 wBQuPL2i91kyEo4dtEMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1no1Ea-00DzLu-BT; Mon, 09 May 2022 11:07:25 +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 1no1ET-00DzJ6-9i for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 11:07:19 +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=1652094437; x=1683630437; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Q4uOG2F8w1lAvLkDtMnP2jzgd4wA+OkMvW8BNsAVYBQ=; b=BBMeBqMzKkcjDlo59QvSOC2IAjEVhnOR++TXqkGq4dM2mDYtZDqgHL// dOuwqrukH17T8sauIgpIm7e8hdOeAKTFmGaKIifTQMBoQk2e259cBkcPa sWnS2maat3MnrpnN9dZEmsG2sKoDh/QsxfkPlicHVBynbwvqnkSbfHipa pxVK2kLWsOIDeFVHJp6ucH7XpKg0rGG+jsMVlzsvZyTxwgUXIQU9sOR0A ALISenJWgO8wWF+++5ylGt8JAkhFozhRetTSzOweQI1X9Pv18bvd0iIXO 2V/ego8yDH8y0J+c1uKTZN31PCwCQM2LIAdVJyg0jXjg7MdKN/uGqJPBq A==; X-IronPort-AV: E=Sophos;i="5.91,211,1647298800"; d="scan'208";a="23751986" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 09 May 2022 13:07:14 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Mon, 09 May 2022 13:07:14 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Mon, 09 May 2022 13:07:14 +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=1652094434; x=1683630434; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Q4uOG2F8w1lAvLkDtMnP2jzgd4wA+OkMvW8BNsAVYBQ=; b=dDG1stgwQ2ehgRV8X4NqRvJEFf18aR+g8Swhb2yQ3fy4DEKlHo2kjm41 KJhyEeCALoy3R+PAFTb7Op/uxZsnKBisEh0YBHtA5VMQoGfcFb6ZF4Eh5 QfcRrDbvei+TyKBFXfScth6B6HQ115vAJfHENAzCEm+jDQGJVZurfkmZo ZZBljqMaV1mYbL6f5Iu2nJBFwLDMVDxMs3wXOebO/N++m9b3E2E19DhoW M4sgCwLCt8CSKtKKdi2CNnLtbbCFAG7hryNobG+fj2mphh45dtaA/Ij+u 2mVn0/EG+ZISLxYqMapjygTag6/Wgp3mXoJoC05CkocYXOIDo0QE9Oj5d g==; X-IronPort-AV: E=Sophos;i="5.91,211,1647298800"; d="scan'208";a="23751985" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 09 May 2022 13:07:14 +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 8B8E8280070; Mon, 9 May 2022 13:07:14 +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 1/1] ARM: dts: imx7: Move hsic_phy power domain to HSIC PHY node Date: Mon, 9 May 2022 13:07:08 +0200 Message-Id: <20220509110708.2190558-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_040717_802224_8CAE6A5D X-CRM114-Status: GOOD ( 14.48 ) 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. Suggested-by: Jun Li Signed-off-by: Alexander Stein --- This patch superseeds the initial patch from [1]. [1] https://lore.kernel.org/linux-arm-kernel/5566202.DvuYhMxLoT@steina-w/T/ 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>;