From patchwork Wed Feb 19 13:04:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1240712 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=fMhN3Rpk; 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 48MydG3pPzz9sPk for ; Thu, 20 Feb 2020 00:05:37 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DCBF281022; Wed, 19 Feb 2020 14:05:34 +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="fMhN3Rpk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C4F528100F; Wed, 19 Feb 2020 14:05:09 +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-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (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 BB9C180592 for ; Wed, 19 Feb 2020 14:05:01 +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-wm1-x343.google.com with SMTP id a9so576355wmj.3 for ; Wed, 19 Feb 2020 05:05:01 -0800 (PST) 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=MPEMRmrHeiIOuE2PzNWaG2LIJmcx5nICfcmD7IrIm0o=; b=fMhN3RpksbvPmIDP/evTG8/qltJ7Py/XwtHpl2ucgwqVEUF4PDtVuBPwt3kh6FiKc/ qLP/7v3fzRy/tz7izaIF5DixKflilImevlNlcDBtNe3l27tVUvtSBE0by2fouDwjMOoD dvOZj50hxNd3x9xTev9/PNG7pDURdDgBCIk8ZxxOHq6r1CJpqg/Fxn5e//Wad1/rjgld brciRYSnp04xFJIRO4YwX05/V7u8QbEWE1J6fGexFV3V8/k8sSY2aTb/Gp2QMfVDXGm6 QZKsNNmEhj+iSZN/vb+RhCQXODTsKE9fTvHdnD6WyZBgwSnjpG0Q0sE5N43bPJzgXszV 9uQA== 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=MPEMRmrHeiIOuE2PzNWaG2LIJmcx5nICfcmD7IrIm0o=; b=cC5ynbZla5H+0OW1dPUiMN8Z2iibz1NmPoWky7nXBCZKiw1JAPKL6ADp2RrHJaVvXx qUlUxlRMlaVZN1RppAyrwHrs9j0PFRFyxjHbQLvRPYJ4wddRrbE7y9sE8zKsT/wvObmk bsUgITYLR/UU7T+itE7kA8witYG4EqGFRXW6wEQW9EW0eB6BBW/hYuSpBtIoPLuNInzk +nnhx7/AvhK01pz0dlsmr1WmM+Kcu7GqSjgAg4LPpQstjhSg8I++zd8iWBNC4ZMRVU/R vScPVu0YNV5BsR8eerkwR5rLZk3Ru8zINcTkXtv1rgdfCk17G3AWfcLYhf+BbMTtVElY wvNQ== X-Gm-Message-State: APjAAAW0+XBK+0qllVKVsGphfwn2lsKdkXBM/xwG7bdl7KNVGKc0QikF jRHnJzJ6zQ/Syc0E9OJxaV5a4l6YavM= X-Google-Smtp-Source: APXvYqwIKq51IYjCq5+qcHg27c2hZH8MK8q7GeOwYPdPuEq0awiAyl/pcPHrmBGYc/mbAN4c47jDkA== X-Received: by 2002:a1c:f003:: with SMTP id a3mr10330284wmb.41.1582117501029; Wed, 19 Feb 2020 05:05:01 -0800 (PST) Received: from localhost ([194.105.145.90]) by smtp.gmail.com with ESMTPSA id z8sm2817415wrq.22.2020.02.19.05.05.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Feb 2020 05:05:00 -0800 (PST) From: Igor Opaniuk To: u-boot@lists.denx.de Cc: Peng Fan , Fabio Estevam , Philippe Schenker , Oleksandr Suvorov , Marcel Ziswiler , Max Krummenacher , Igor Opaniuk , "NXP i.MX U-Boot Team" , Stefano Babic Subject: [PATCH v1 4/4] ARM: dts: imx8qxp-colibri: dm-pre-proper for pd_dma nodes Date: Wed, 19 Feb 2020 15:04:52 +0200 Message-Id: <20200219130452.8895-4-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200219130452.8895-1-igor.opaniuk@gmail.com> References: <20200219130452.8895-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; };