From patchwork Fri Apr 20 19:39:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramon Fried X-Patchwork-Id: 133919 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp658200ljf; Fri, 20 Apr 2018 12:40:10 -0700 (PDT) X-Google-Smtp-Source: AIpwx489JlhBq9CFec/eVkLSjGGXGTRd4q11FR9O3lRifBJCJmOTOuw8FLtd2T+zPGGkRbFd3bDD X-Received: by 10.80.128.5 with SMTP id 5mr15668342eda.130.1524253210412; Fri, 20 Apr 2018 12:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524253210; cv=none; d=google.com; s=arc-20160816; b=hGia+4B6ncOn1MUX0gMC86NAahoanC8x6zeFqxUhJpdKrDPvU26gO8WZ+ktar9nw0S ttn1ZjgAniEAQpqk4CGQYCwJmdBWaWiqKbntgdIOKDptru9oCV2EDV0Am3bn7v7wkBAs rjdFLuq5h/6iK+eCQOakITfXDZSeskAVizckV0IMDQTkRFg2UL8LartegJjYwYunwuhi hlNiuUjOmz7hSIaTkesVZQuNAEKWwkzRccr6jlPjVmpW1RxsEc+vZJsIlvFJz/htsyAc uzLrZD9OO3yn99plnVK5c2cY40DFE2PrOOTLI+/4YKW/m04RQ1J3VJdh4W7vNAiFw33U BGFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=a3ymV3ZQJRMQOyXZ3yhtIcqbmRaEeVvJbhjH+offqNw=; b=Svvdr5pwXapqf1sKZbtiNZ+ovObtN4DhyGBKcj55bgpkhdvZQqs+vFCOcBWw/2Mv7m n/lHOgX9enevpNpeQK5GXsBOplBlXHLW6yexImylJvFr+8esbqUUb7hiVui1isEtXejq FP/wxDg+5rUxEEOz++agwla6tykQpiw8ZRv3/IyimpzofDtKMv48AsPio9d7znQ4af+o aQueeEPjNY8MO/fGoMntKG/gpC0DHv9z6QOl4+rm+y7A2PCiFz5YFHZITMF4WgeBhtno j6QWQpj0lbSKVmT2qQVR3NF6SyYbIhFEO7t3SSUT0PrG12J5OI7iI5pLvwcd3KbGu4KP 1Ifg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=iaFJsO5n; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id 24si280630edv.308.2018.04.20.12.40.10; Fri, 20 Apr 2018 12:40:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=iaFJsO5n; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id BFE16C21DCA; Fri, 20 Apr 2018 19:40:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 47FEBC21C2F; Fri, 20 Apr 2018 19:40:03 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 077C1C21C2F; Fri, 20 Apr 2018 19:40:00 +0000 (UTC) Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by lists.denx.de (Postfix) with ESMTPS id 99244C21C3F for ; Fri, 20 Apr 2018 19:40:00 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id d1-v6so25705122wrj.13 for ; Fri, 20 Apr 2018 12:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=tPmgWCQGIb4LOjswybAHrkrCg2+4Z92B1PlQDVjsVpI=; b=iaFJsO5nyC0CcaQjsxX4izzEaaqkywDlF1cEHQzGaHyy/S6Uk9LXgcbgbBYVF9guMJ XsGrZWVTYtIj6eC8K4nhXTVTA8E7QqNGwjCKS2jnvnL29u2wa93QCZD+Mz87haS3kAzg aW69/jenTFBpjO/O76M6JvdaNzcaPtvLJdXqk= 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; bh=tPmgWCQGIb4LOjswybAHrkrCg2+4Z92B1PlQDVjsVpI=; b=tsN9HqgUhReeZun2yf8dNiYae0xA4Ty+3CDhPqEnhNUc9t9QO1RPGpGWYvzHAlMbxY 7+/Fw28uOIIVVLMZC+Cvh/VfBPusVdiAhJT2pkNB7HbiiJPyOpkm/xELZ0zlU+Gr/OQN Lv2J7AGslYEbx71l0FKrj/v8acEXYXaEv5Dz4oEhluMG0j76c/lbpGdRjI3A8XP6+W4p rvBMtITHMInFsZ1kivsBvqyjHkzhak+WATNJCFNriDHO/s+brQgE20BeX/21vfNwQaGY CVxKwBdZYSwujkWSANPqz3VxPGwD528FGRhr65vRHJZnFqtKww4CdJi2V4JZAv7ZSp0b 3sMw== X-Gm-Message-State: ALQs6tBsNkS4/fTBUUgmymxZimeM7q1Cqt2jUxUPBeMdKzHrhzVLYaSv 0LJlin6a9C+WmVitUAU2rR8z+Q== X-Received: by 2002:adf:8b44:: with SMTP id v4-v6mr8391789wra.99.1524253200294; Fri, 20 Apr 2018 12:40:00 -0700 (PDT) Received: from localhost.localdomain ([141.226.166.38]) by smtp.gmail.com with ESMTPSA id v75-v6sm12569332wrc.65.2018.04.20.12.39.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Apr 2018 12:39:59 -0700 (PDT) From: Ramon Fried To: albert.u.boot@aribaud.net, robdclark@gmail.com, pbrobinson@gmail.com, jramirez@baylibre.com Date: Fri, 20 Apr 2018 22:39:50 +0300 Message-Id: <20180420193950.25712-1-ramon.fried@linaro.org> X-Mailer: git-send-email 2.14.1 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v3] db410c: set clk node to be probed before relocation X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The clock node is used by the serial driver and it's needed before relocation. This patch ensures that the msm-serial driver can actually use the clock node. Signed-off-by: Ramon Fried --- v2: Moved the u-boot,dm-pre-reloc attribute to the -uboot.dtsi file v3: Moved the forgotten u-boot,dm-pre-reloc also to -uboot.dtsi file arch/arm/dts/dragonboard410c-uboot.dtsi | 12 ++++++++++++ arch/arm/dts/dragonboard410c.dts | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/dragonboard410c-uboot.dtsi b/arch/arm/dts/dragonboard410c-uboot.dtsi index c3475c4227..1de1419edc 100644 --- a/arch/arm/dts/dragonboard410c-uboot.dtsi +++ b/arch/arm/dts/dragonboard410c-uboot.dtsi @@ -10,6 +10,18 @@ config { u-boot,mmc-env-partition = "boot"; }; + + soc { + u-boot,dm-pre-reloc; + + qcom,gcc@1800000 { + u-boot,dm-pre-reloc; + }; + + serial@78b0000 { + u-boot,dm-pre-reloc; + }; + }; }; diff --git a/arch/arm/dts/dragonboard410c.dts b/arch/arm/dts/dragonboard410c.dts index 5ccfe7f8c8..aa9b0a138b 100644 --- a/arch/arm/dts/dragonboard410c.dts +++ b/arch/arm/dts/dragonboard410c.dts @@ -49,7 +49,6 @@ serial@78b0000 { compatible = "qcom,msm-uartdm-v1.4"; reg = <0x78b0000 0x200>; - u-boot,dm-pre-reloc; clock = <&clkc 4>; };