From patchwork Fri Mar 27 10:28:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1262710 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=C5JJ3Bnn; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48pdRQ5GTSz9sSQ for ; Fri, 27 Mar 2020 21:30:42 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 626F3818CA; Fri, 27 Mar 2020 11:29:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="C5JJ3Bnn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0B67E818A0; Fri, 27 Mar 2020 11:28:44 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0C95281888 for ; Fri, 27 Mar 2020 11:28:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@gmail.com Received: by mail-lf1-x141.google.com with SMTP id v4so7368664lfo.12 for ; Fri, 27 Mar 2020 03:28:38 -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; bh=M1He+0j0DFsdsnN5K2SjKMf0Ki+RhflHGG3ol8qPOZQ=; b=C5JJ3Bnnb3qWh3f16b+/35Ww2VNGo+oFgjs4dFKOyGC67INzcavntFpUFZJ79xvlOF j5Rulh/3VObIs+GX4PHXT/1jSvgMytor5TIC2K2EWtY3MfwcJXf2fzA0eMiiCaA93PpM esjPzlXhyuPTdrvdGRG56AiD9sBvfcFDdghbNtx4Tabk7zEOUt2pvr6HQ4KfrkqqMwA8 XvLEyfr9wr6ptPdYZJdyVUEnNudNU74ib5EQGoCbiVUAOT4xabEIN26xdS+mAU20dTvU 6le+M9vdzCfHlxaAELchxTSJO/bcDvzRBdK5bBDv6o7xmwxQmOhEgN6bGxWMhMoOqEEN XBJA== 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; bh=M1He+0j0DFsdsnN5K2SjKMf0Ki+RhflHGG3ol8qPOZQ=; b=JtrjcZ/udBBmO1Gf81g6dR7P4NrDTp7Hm3eoLqpeDooFB+TPmdPZKfshO/qbZyWtUQ hkExX8ibz/MKz07177+zBW8Zst1kr1y0PjkZg3UZ6IZHnMZ6ZnXBlt7G1ByuV6xh/vY1 SQuoT9fzFV9hxLHLg7pOEu4DaC+tqvMixtlQ56+SxK/RKghr3y5sZWsR4c4ldzSn8YdD j2EdJ3IaGTv2jKDWqfWPr6yPjH/6D6Zeql2I6szXQKW8XBl8SGuOoxWdWgovqQl1FlYP iRxUE00Uf8+P5bNa0wNraXJJPHskGWlQjjQzU4gf4juTIODCsrE11ub/QN3yDiPy6ZC4 ApZw== X-Gm-Message-State: ANhLgQ1Ibo2OYCpyoAJBJy11IzlgYVL7cI6CxPS4ZJUc6wX5mvAf/JYw Qz4CxyCP2xMhe3aoqW8RXtJ3UXHX8cA= X-Google-Smtp-Source: ADFU+vulXAXF40iZTqyg/upahiIRd3PzEhjSUU9pvnyDoUc6agN0bNnkFpGsIQosTBP8d8VmlDUJ4Q== X-Received: by 2002:a19:88d4:: with SMTP id k203mr8694249lfd.75.1585304917102; Fri, 27 Mar 2020 03:28:37 -0700 (PDT) Received: from localhost (host-176-37-176-139.la.net.ua. [176.37.176.139]) by smtp.gmail.com with ESMTPSA id 133sm2545007ljj.91.2020.03.27.03.28.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Mar 2020 03:28:36 -0700 (PDT) From: Igor Opaniuk To: u-boot@lists.denx.de Cc: Marcel Ziswiler , Stefano Babic , Oleksandr Suvorov , Max Krummenacher , Philippe Schenker , Igor Opaniuk , Fabio Estevam , "NXP i.MX U-Boot Team" Subject: [PATCH v2 04/13] ARM: dts: imx8qxp-colibri: dm-pre-proper for pd_dma nodes Date: Fri, 27 Mar 2020 12:28:16 +0200 Message-Id: <20200327102825.10230-5-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200327102825.10230-1-igor.opaniuk@gmail.com> References: <20200327102825.10230-1-igor.opaniuk@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean From: Igor Opaniuk pd_dma_* nodes should be accessible during pre-relocation stage of U-Boot proper for properly handling power domains. This fixes the issue with permanent failing of invocation of power_domain_get_by_index() in the common code of DM power domain uclass (drivers/power/domain/power-domain-uclass.c). Fixes: f0cc4eae9a ("core: device: use dev_power_domain_on") Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov --- arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi b/arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi index 87de9b5653..322429a98a 100644 --- a/arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi +++ b/arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi @@ -56,6 +56,18 @@ u-boot,dm-pre-proper; }; +&pd_dma { + u-boot,dm-pre-proper; +}; + +&pd_dma_lpuart0 { + u-boot,dm-pre-proper; +}; + +&pd_dma_lpuart3 { + u-boot,dm-pre-proper; +}; + &pd_conn { u-boot,dm-pre-proper; };