From patchwork Sat May 27 06:33:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 100590 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp574202qge; Fri, 26 May 2017 23:33:39 -0700 (PDT) X-Received: by 10.84.195.1 with SMTP id i1mr62031431pld.120.1495866818997; Fri, 26 May 2017 23:33:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495866818; cv=none; d=google.com; s=arc-20160816; b=HrmYe4F+abHzzEqz/nYRoHz5SnDtlMYTvL97/kXqtRcQYdR1RvUWK4zbIhB57Ikewh r441AiERaZUtr9wm3XZAGJ0PUiqccARxsirYTpCHxk9bpPGTSJLyLuxXR9jwC42pX2yj Jc9RWrn1y0G2czhhnrIs+A8UU/njq8fZLpaFgDMniP7kjcB4MyqOR1YNJie0++p2RzH/ XrWkRzrYbmemlSyhqtVJvYIIAHSedjalftwoDGmrbtQO7MHhiSED4iPt+1S/m4RqHz9B 7lSyVgJjxqQhdTwJbtJF4bsZ0GoJTHKdb09MWkHtOxLLsc9nRwIFtCdgm03U7uThjrVp ECJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=I/kL13kK+qQ53Wvhb4DC6pDy4qSEUhmoMOTPSAtVqcI=; b=YJ1XqzLIE8z0jMz/tgM8tUEpY6PM8QTsu0tyG7xWwXLsUs50rn2f6VN/IBqXfiG94P 1XSTs0h5UndaR0vwN7x9ybh2UwmAT8Efg6a49G0anl4/wY3ssf6v+fiaTM704KnXRv96 NlIFe3mZ/Ah38Wwuuu6rLduGQPTEENVsD6QLx1WCnXUTUH1nVpyj8dwrtA+ZduxOq9uZ 3AeJ+KqqXThmDbHjW8ZcT9Y11k15E/epS1uiFNe35pXPKRhaXilFItAwX7eTXfFJuHGT jRPDlluBdBdmBnFsCzsYzaiFyxTfFeWpHyuY7YwkCZNw98MQ9qkWmoTLmVsMJZ5FLcNB WXwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7si33975312plt.90.2017.05.26.23.33.38; Fri, 26 May 2017 23:33:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752828AbdE0Gde (ORCPT + 10 others); Sat, 27 May 2017 02:33:34 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:36107 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752858AbdE0GdR (ORCPT ); Sat, 27 May 2017 02:33:17 -0400 Received: by mail-pf0-f170.google.com with SMTP id m17so26263371pfg.3 for ; Fri, 26 May 2017 23:33:17 -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:in-reply-to:references; bh=Ge761m0mSr0Z1izGsWJH0p5jwEgTekH2ciDXMY7QPXA=; b=QzpcYucPjt6zuvO5KqY8F0WfYvyY7jRaUFb/AW+hL+OvH1H/aGdrWPlTk9G34Nrx/7 T7E7oa4GKFADVIDFBilaEBHAqvRDiKEzYoeOu9cyD2E/tThq8B/P77B9H4rsXPqnv6eD SgSRI1XYajI9Uz3RcjnZqiWL2Fyfg+k3nG6O8= 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=Ge761m0mSr0Z1izGsWJH0p5jwEgTekH2ciDXMY7QPXA=; b=HbtVrlvDiu4Z6ZwoP5vHTaiKw2dl9tSrIXKOAQkDPZ37kukFI2LGKkDgdpGIe0h4pY f2OyZKe+Zy7WyeHoajcMXyigvhgKf/aLHIJyUbgCRgh1oB+0d7P73PpKx0hBseOaBRDt 7968pXql4t+XSbGwcL4q3eqNFPIZWFNINbYjRbHBjcxvKXxQeYO3DTONHaYxRdHnLL9E 2hpw5m2RYAmAzs2uzvyWP8qtKAgIF3EwMT8ME3nurmtOexAvoXtUE2WeSmXJ2+m/dnqr umZ+Yb8pq4YXvp7Gx2hZVfhYvN/+TPMBvuFYBjLpQF1wBmmxetE+/00Weq1LNf0JkyE2 d11Q== X-Gm-Message-State: AODbwcAhUKhxD5azy8/QBDy0KTK24NHjTAjI2ZJk8ESVRunJ/QLqP0jN wScqkq+mn/WFxmNp X-Received: by 10.99.127.89 with SMTP id p25mr6933015pgn.92.1495866796615; Fri, 26 May 2017 23:33:16 -0700 (PDT) Received: from localhost.localdomain (ip68-111-223-48.sd.sd.cox.net. [68.111.223.48]) by smtp.gmail.com with ESMTPSA id g27sm5243346pfg.63.2017.05.26.23.33.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 May 2017 23:33:15 -0700 (PDT) From: Bjorn Andersson To: Andy Gross Cc: Stephen Boyd , Rob Herring , Mark Rutland , David Brown , Srinivas Kandagatla , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 3/3] arm64: dts: qcom: Specify dload address for msm8916 and msm8996 Date: Fri, 26 May 2017 23:33:08 -0700 Message-Id: <20170527063308.10483-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170527063308.10483-1-bjorn.andersson@linaro.org> References: <20170527063308.10483-1-bjorn.andersson@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On msm8916 and msm8996 boards a secure io-write is used to write the magic for selecting "download mode", specify this address in the DeviceTree. Note that qcom_scm.download_mode=1 must be specified on the kernel command line for the kernel to attempt selecting download mode. Signed-off-by: Bjorn Andersson --- Changes since v1: - Add msm8916 to the patch arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 ++ arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 ++ 2 files changed, 4 insertions(+) -- 2.12.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index ab3093995ded..33013835639d 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -241,6 +241,8 @@ clocks = <&gcc GCC_CRYPTO_CLK>, <&gcc GCC_CRYPTO_AXI_CLK>, <&gcc GCC_CRYPTO_AHB_CLK>; clock-names = "core", "bus", "iface"; #reset-cells = <1>; + + qcom,dload-mode-addr = <0x0 0x193d100>; }; }; diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 9bc9c857a000..7e64884ab7c7 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -261,6 +261,8 @@ firmware { scm { compatible = "qcom,scm-msm8996"; + + qcom,dload-mode-addr = <0x0 0x7b3000>; }; };