From patchwork Thu Apr 29 21:16:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12231945 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C04CEC433B4 for ; Thu, 29 Apr 2021 21:19:00 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 39E146144E for ; Thu, 29 Apr 2021 21:19:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 39E146144E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=10eQIJO/BIWIzBIF29uknkuPi3+F6XEI6qRWCaks2JI=; b=pAW1+8+dTUq/k1KjXZncMTY53 ugcP/ID1dpvSTMpU+Zi2lLoFz3f5dACdFO3ziR+r1ru4zBpaSShA3sWcr3kwOtCfDBWFDs/AKBfA5 WRSgd0JPLjDEAZJdTStZy22Anug8BwGPQjAuaBiwubHlYDQ5FDwpT/Sh2VtDE5Bcif5u81QsELO54 BdRNi0alb0YQDyzFz4J3A1X4CgnX8VrLKOaWGPZDSInm+57pf/HclgyeIB9KEEjI2pZCQku3gxDw0 bk382J8ghCOHBqrhRZoK387WgxAiJNQmcHvgndZQaBq4EzbdrUgQKgoO4tr8E8JSo5G7VCRy2cvFh uW3jOm3xQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lcE2D-006XrB-8o; Thu, 29 Apr 2021 21:17:22 +0000 Received: from [2607:7c80:54:e::133] (helo=bombadil.infradead.org) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lcE1n-006Xoi-SE for linux-arm-kernel@desiato.infradead.org; Thu, 29 Apr 2021 21:16:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=vTK3mS4c8midbEPil3hRb/cf5O5Pz60GCjhUinVTKwQ=; b=oL1sKm+yQrGSNVqTP5CSF8rL2f FgpfdP80Cj20AZ9qNs1KrTfiGkYi9nW4+hjwa8WimONu80lvJFtvO0JKwCiAFTKMl3WPPvOXR4X+i BpEqbXtzR/eGCY0NUsnekTfCCB98rjaCXM0WO/7ZOtQ5b1oDiYhJwDTrjpXK/uJLetzeRP4vVZt4+ gwRsKHE08An9r0/Jfs7O0rR5dMyMoeFCPU7e4oAK33u7LkhPGIRcefAw6eX4m3acTtbGosDmuOkNu kfaf6yPLYV7fb46GGsC2Nmscj+Fzw5s47mp/r7uqKT2aqlOVeGOyQVYfYGrovM9Oj2PN+MEgTWeCY 2ebnDcQA==; Received: from mail-il1-x12b.google.com ([2607:f8b0:4864:20::12b]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lcE1h-000yce-Gb for linux-arm-kernel@lists.infradead.org; Thu, 29 Apr 2021 21:16:50 +0000 Received: by mail-il1-x12b.google.com with SMTP id r5so14843444ilb.2 for ; Thu, 29 Apr 2021 14:16:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vTK3mS4c8midbEPil3hRb/cf5O5Pz60GCjhUinVTKwQ=; b=c3Q3gxKti2doNidSQpOmnHW1AUzSAXcBtiQoHbM6MBIw7fVrygPICGD/8WC2S0KLtW 28NZbFHZ4cRXC0g3IL1+3OIPnSc4V67vDjcfvumkSax+7tRVPEz7DSTDcyRIt+GW8PGY AO+GId61ZtWFO4/BlXamDeX39RTN+Yn5bhPZSRM7OuFInxPYm2zl8smklzmi2Jaqyhu+ QV5P9pOcFf3vRkwDpWwZuYjabNq+0WJX+yhDAthQOgAWI8x/EEERS8a253Frct+sEbpz 8abZMa3aT4vaHZjp5CioKmZ+altmUTxas4wZfYtHtIlkrRho6pthS2wCwc7n0foDvTfF OiEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vTK3mS4c8midbEPil3hRb/cf5O5Pz60GCjhUinVTKwQ=; b=C9u6Lse2x0Eru5ydvtSIXPZuXVY399BDXfCE3Jl53XeoWFBG9Nqj3EKwYiMqXvvs2Z Glayw713eRasVmVMLwTUz0YP+61gv8H6BabtQ8k3/CBuXh177w+kLzx15ksZ5R6bewW5 cB3eJ/NNBXrZLzn2YinXRMbgbj2Jn4i+qBpftBvvAGImWpQJAi0K6yJQFCn/ZmKhlUyS 8rSQB36Nj5jcxIyT1P+IMqLdzSY/f+mrgd54Dza4ajs4lhLZVoiY/GONkoPDOs51Pbvm 9VUq47AUbqi/1ae0yxegziNmE3E2HONL84DedjC8baweGPaqW2Bis2S8NJLSLRDgR3vC Tmgw== X-Gm-Message-State: AOAM530NmRr9jM+PAYKVO/fqoTA38BKqsFopGlYV/r+IFXGpq9zhbEea N9LhPOBtESC1A9v7Xxj0c7ZZRY5es8VSFJQg X-Google-Smtp-Source: ABdhPJx2AZEYz94gbie7+hSs9P3oH1b/Hu2t/eXSV8750JBqXy8MpdLV8tFszyERP3pseT6Kg4j4YQ== X-Received: by 2002:a92:1a0a:: with SMTP id a10mr1400984ila.195.1619731008220; Thu, 29 Apr 2021 14:16:48 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:8a74:d2ad:27b:e619]) by smtp.gmail.com with ESMTPSA id q11sm1808076ile.56.2021.04.29.14.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 14:16:47 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: peng.fan@oss.nxp.com, marex@denx.de, frieder.schrempf@kontron.de, tharvey@gateworks.com, aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Andrey Smirnov , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V3 4/5] arm64: dts: imx8mn: Add power-domain reference in USB controller Date: Thu, 29 Apr 2021 16:16:23 -0500 Message-Id: <20210429211625.1835702-5-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210429211625.1835702-1-aford173@gmail.com> References: <20210429211625.1835702-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210429_141649_567159_C756AC98 X-CRM114-Status: GOOD ( 10.28 ) 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 The USB OTG controller cannot be used until the power-domain is enabled unless it was started in the bootloader. Adding the power-domain reference to the OTG node allows the OTG controller to operate. Signed-off-by: Adam Ford --- V3: Rebase on series starting https://lkml.org/lkml/2021/4/29/72 V2: No change diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 609294329c7b..a2ca25aa8eb6 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -1000,6 +1000,7 @@ usbotg1: usb@32e40000 { assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>; fsl,usbphy = <&usbphynop1>; fsl,usbmisc = <&usbmisc1 0>; + power-domains = <&pgc_otg1>; status = "disabled"; };