From patchwork Sun Nov 28 13:18:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12693855 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 9006FC433F5 for ; Sun, 28 Nov 2021 13:24:21 +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:References:In-Reply-To: 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: List-Owner; bh=ookxrnZMBMuWoJlunCZmlG13tuhkHS6Z44hQHBXWpnw=; b=2+MUZA3+fDkiC0 /3U/WlwJ9hfZM2S1eTCq/vbb6GOQs2wldTckfu1hrIREoIQGLTOWxV7bpYFwIQVtYhA3qA2l+jiS7 bysAU3rOcPKPzxx2oMWJs6W6hq8HzLGpkP8/YQaEOborMkVYESzxhkLaX3nOo23M5ogwKQJ2AnuKB d4nfz1LwL57HXm2mGNJmnxDkQ/2neXUIaZrDdFdvkRI/QstSWZtYXeUghd6QYKLgztpDZmrsjv9JC O/MWo01MS8r6LK+kWypuCKtMLrKDTe9oD4fhdCulotcjEJLRmD8xMpRLMLmiPDCGgy+ByL99MfcMK wGv3o3dEh6QcePOw2Blw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrK7j-00Fnph-NB; Sun, 28 Nov 2021 13:21:44 +0000 Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrK5a-00Fmwm-3D for linux-arm-kernel@lists.infradead.org; Sun, 28 Nov 2021 13:19:31 +0000 Received: by mail-il1-x134.google.com with SMTP id e8so14075790ilu.9 for ; Sun, 28 Nov 2021 05:19:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fVqTSYrJM1goRfJXek0SWHYdIHEW/tVUJHkNkTLcnhY=; b=pnJMEqOhAhwE7YQ0cmi+JUA83cY+1rctJICirfRdROTF8+rTYGdkNqReO1olHpNAey ESLUYH+fwMhs6w6XYOOeL3XHlWEdBsj3KlKJx29JDQikzILfZxN8RgNUbvdC/MTOZpnS JARsYTDbEFiV/q3HQgL4Us/0akbxI1ako7mVAz9XYidqDo4oBjci4OO1FDVphIbXorsU g0ClVgzBANPvBKx2hinzao+EpeisYo+jH9oYw9/VrsmEh05sk2OLdmeKC9wvOyXgoLwC nw3KofzsfnbAx5yc+B6sXl+vlrvLPQQjBeLkVaQa1NN8KGH3xRlNhIYqgZMtM9KzeaYh MzZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fVqTSYrJM1goRfJXek0SWHYdIHEW/tVUJHkNkTLcnhY=; b=Fg7pjqN6dqIbtRvp6fHtnT8Si4y4BqJmpzNuvFg+wiyigQuMwtw5Tbrt5BHT6MiMkP njQDRJMhQfhSUkph7m4bfM8odo4+RlsHRCb/PO067I4k4XZ5Un4+DJ/3ZJO3EwzMN6cP Y6sjJ9+YvK0TFkNdzVGyWREl5AZlf7ZDzl9lTCXoRZe9pIUOTTRBlpHyavRJ+oE+WXqQ U+BpCM7uCHWtZAKSjFc6DvjiA46MV/fESrQswErTarLAklsP8i9/69oqBgTekN6TYQPm IQCVANGOpCgz/JqFHLXRwyXxz4HvEMEXMFLk2KdtoWN1RSUUYHQ4WLL2tnkm9wZ2p06u dK9g== X-Gm-Message-State: AOAM532uEb3obD6NUsQ39XJEr9nUEIJ1MHqA1wu9p0FJGkeU5x2d1XQ3 gVNLJuFYqrwdiaD2R5rouMwAgl7XBml98Q== X-Google-Smtp-Source: ABdhPJzxvRJBnMM1KQP9E/SEzKC+NMSJi7gIKSCf5tviihotiveMGVbE7PIJmSMK9wRAb9HU2Rl5pg== X-Received: by 2002:a92:7d11:: with SMTP id y17mr41594638ilc.223.1638105568826; Sun, 28 Nov 2021 05:19:28 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:2a06:17d2:47df:6c8e]) by smtp.gmail.com with ESMTPSA id q12sm6990413ile.77.2021.11.28.05.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Nov 2021 05:19:28 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, tharvey@gateworks.com, Adam Ford , Lucas Stach , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V4 7/9] arm64: dts: imx8mn: put USB controller into power-domains Date: Sun, 28 Nov 2021 07:18:50 -0600 Message-Id: <20211128131853.15125-8-aford173@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211128131853.15125-1-aford173@gmail.com> References: <20211128131853.15125-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211128_051930_183106_D7894900 X-CRM114-Status: GOOD ( 11.22 ) 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 Now that we have support for the power domain controller on the i.MX8MN, we can put the USB controller in the respective power domain to allow it to power down the PHY when possible. Signed-off-by: Adam Ford Reviewed-by: Lucas Stach --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 1 + 1 file changed, 1 insertion(+) -- 2.32.0 diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index ef1699a9cd7d..902d5725dc55 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -1049,6 +1049,7 @@ usbotg1: usb@32e40000 { assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>; phys = <&usbphynop1>; fsl,usbmisc = <&usbmisc1 0>; + power-domains = <&pgc_otg1>; status = "disabled"; };