From patchwork Fri Mar 27 10:28:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1262702 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=h57Kqkbv; 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 48pdPs4mgdz9sSM for ; Fri, 27 Mar 2020 21:29:21 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA5EB818B7; Fri, 27 Mar 2020 11:28:56 +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="h57Kqkbv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3668B818AA; Fri, 27 Mar 2020 11:28:42 +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-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) (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 8F97D813B5 for ; Fri, 27 Mar 2020 11:28:36 +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-lj1-x243.google.com with SMTP id p14so9591816lji.11 for ; Fri, 27 Mar 2020 03:28:36 -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=EGFAW4xejdNBal95tusuGGn4hpGwqSIIR5jLYC3dR/g=; b=h57KqkbvtKmHGmxP72kPCd/M55HBMMQ/zWroezGWxrsFsHqo9d8GNAON2dgiHOM311 kdRK8AJM28FakqViW9dxITIG5a/0dolNOqf8GBqfYmj3B0XOwzWvWNMbyTQJctRhtRql 5obZABeMchLsAThv3xiJpY6r/nARKMk0nfjnTClPCmnmhZ8iLXPVUKb0jf0Lm01X8EiI KkJyeIX5HMp3wiJr+kMHt6WanDbtnh+iCri5xlaOXbxEOyNF8ezyOewlzcNtj1UE1jKT Gux+ZNAxDc8flyI48hcFUJ9OUZ6cQLaTe2FwApLv1e7nVN+50ZELI060Fc/YwJRSj6BS xECg== 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=EGFAW4xejdNBal95tusuGGn4hpGwqSIIR5jLYC3dR/g=; b=AqwBgUGXhEJMyVU0Bwspco2p7pWXbNwKpaSCia9sGwONjB0+AMcn9RXH1RmaxP5IS4 0SttWBCwUE+OqHzXQpyfE41jl6AqLbqtuhe4nLb8Ym8oHKlRNk0EYnGx2Akz2U1P/4H2 s5K3AYXz+6qG4ybPOsH1nEi970EDEQtbcbSWkeNHe11PI4s14mm+QEb4+qOMQewUI1X8 NJ+AuIXBa6NDu8sPVLpUU5b9aUz4/eh/WD8wGaqBlSv6FD9uQgFJUnhVj9vNinRvGqMl z2RDG9HWwNZUwy+hcJozKnSTf7mSGFIeaOouyXQCVGDvop7IAUP/Pkz3vRuHY6BdDeqZ +xJw== X-Gm-Message-State: AGi0PuZ8yy2Dc+y0VCcFHe70m+cIOdCNgRPqwaHFV3DMckEDNDZ8vfhT yj9Gfm+W9IzWYyL7TJ8td+rUcALs/Rw= X-Google-Smtp-Source: APiQypL0lN4jgU0UkNTDpXyx31F4eH3MHe8Y5SENJ8A1zXwAyvFlvrI03qRNgFU8ZEOX2k0U8Wl0Qg== X-Received: by 2002:a2e:b521:: with SMTP id z1mr8244685ljm.19.1585304915660; Fri, 27 Mar 2020 03:28:35 -0700 (PDT) Received: from localhost (host-176-37-176-139.la.net.ua. [176.37.176.139]) by smtp.gmail.com with ESMTPSA id d6sm3103112lfn.72.2020.03.27.03.28.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Mar 2020 03:28:35 -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 03/13] ARM: dts: imx8qm-apalis: dm-pre-proper for pd_dma nodes Date: Fri, 27 Mar 2020 12:28:15 +0200 Message-Id: <20200327102825.10230-4-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-imx8qm-apalis-u-boot.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi b/arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi index 6cdf58c8ad..956d724979 100644 --- a/arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi +++ b/arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi @@ -51,6 +51,14 @@ u-boot,dm-pre-proper; }; +&pd_dma { + u-boot,dm-pre-proper; +}; + +&pd_dma_lpuart1 { + u-boot,dm-pre-proper; +}; + &pd_conn { u-boot,dm-pre-proper; };