From patchwork Fri May 10 04:34:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 163829 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:142:0:0:0:0 with SMTP id j2csp1875155ilr; Thu, 9 May 2019 21:34:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxidQ7h12qLj9dqC4Yf6EggYSs3ctruppKHm1Fcd8HdN9Kf4H45e/X/fnyM3z85lmUOGiJs X-Received: by 2002:a63:5166:: with SMTP id r38mr11213130pgl.429.1557462897298; Thu, 09 May 2019 21:34:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557462897; cv=none; d=google.com; s=arc-20160816; b=rS/R0hkoDYshNg8MrTrQ7wAdWjAEL3AOxb2haYraHrWwNrjHsCVhyiNtrkPAqvQatA 2jMXGf+atHz8pZoEx5iEoNUeC3JWYINDvzsnx1ETlCRCaFP+CCw4acXIsv42HT4rsXkc /cXBMIEI7gDaF0pAocFhz3XOMebWtbrX8rIlrBiVH1ayr6E61dc1FWjguAqWZxQrhHjR wkHA1fRWMGsLL2Uw7Y3fO5DW+ti00JZVKFd7m6cbWnGHKCOPKMnzn+NrmytXU8e23NFj v92TfxLz6vVzaO1V6NlljEY55Ont7BKOrL4VbpoIpQI9QrK2uWJ0uUNxx/B8TM5fqBrt WHLw== 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; bh=I9XJT6/tH1dITtwqwwLksUn/i2UuLzClmRgZy8rDTNU=; b=HG/sZNuvte2ogt42h2HGnzCRVy5RtAwxMXidpjzEPrm7YLeXIg5MVadBRwXGbe3/3F h1LPUEAijeKmNBR7H/qKxpEpvKLlB4R4zsEoGCwNMmBj0X2epJqABXN1UJKuU1eYQzGc V8vTmKo7j7JDFM+rxLtazaj/tzURMM34wNFCOi6oBEXakVaz0SmXM16SL6R/PbDRtcvy EjUKwtwdzkzZyqo1aR9IkF/MyZKfyHptN+aGZRFZq5bsMLHP0/RTfcSQjtjbN1cNfchR sWZQ8hHrAoWnCSxZ/fuzZ+fMDX2opKM67Efi4UFsPcRMzm/CbK5e+P2dnJuxwcqFm16r 3iGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bDwrUyGi; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (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 m6si6179523pgd.78.2019.05.09.21.34.57; Thu, 09 May 2019 21:34:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bDwrUyGi; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727001AbfEJEe4 (ORCPT + 7 others); Fri, 10 May 2019 00:34:56 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46847 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727075AbfEJEe3 (ORCPT ); Fri, 10 May 2019 00:34:29 -0400 Received: by mail-pg1-f196.google.com with SMTP id t187so2337796pgb.13 for ; Thu, 09 May 2019 21:34:28 -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=I9XJT6/tH1dITtwqwwLksUn/i2UuLzClmRgZy8rDTNU=; b=bDwrUyGicRP9fSW6fbUR34sFHt4e3afbYdrtDoiQet4eIfjmlw0QLI1eIaUKuswFbM LbIGKBZjCQBX9EQrW8nigwlmLJedEWzM/PkucoGO2ywGW3gBRwQ7HBmzjKdKHqyhbVHh dG1F5LvMkdI93G0Nyy+/detIg+eJOVf+CuruHZvqA/xp2DfZvgaSt24ceJa1PjHGODEe Fe/M56z8UEHzKh35wPl7s6NNN4aQfOv9eCLCJMtHaSg6ZhozOBi1iVzyHS1DSh5QETJL 9qAwPqE8+4jIuejFfheUw6nXcspOCSbO1W9/mtM3IJB3iZD+M2AofBxGuFNZs+Gz2Ccl XTbg== 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=I9XJT6/tH1dITtwqwwLksUn/i2UuLzClmRgZy8rDTNU=; b=ioqHrRW2FLQQppcNO0RZfiq5sZnfnEASyT3RkW8zgsmqS1TZuk8kmZMbdw2ax1yDjI i/jHTzLKZu7hTW+7eUlX7C4TrM7oAWE3Qc/wnEZCc1tHzAJa0VMeXWdfZ3eAtSyIRJb0 zCKF3V1gSunA2MImW5IuoG0Bb1aW5kUEYkNb21xy83plOQ+Mk4boV1c88tyTPrzzHeIx jt9RlGEg1TY2gct3uHe/ZB4+5d1pEkfbumXmNedrCXHLxeGdBzfyiJ3WHIEy5K7W0USl t0jiwJ+qHbo6RPHSUjCwi/IAB194+iRprISGnB+HjLMP3VYX38CpxLIDFh60W+98JwTa 8oxQ== X-Gm-Message-State: APjAAAU34tJ7glhmgWhXc2HyFyZPEdSlEjzabGjpKuCwb8W6xRLpthlz 6FvqrT6fX9C6WcMXdvNqJihSxg== X-Received: by 2002:a63:5d44:: with SMTP id o4mr10993170pgm.15.1557462868338; Thu, 09 May 2019 21:34:28 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id s17sm4785317pfm.149.2019.05.09.21.34.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 May 2019 21:34:27 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Ohad Ben-Cohen , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/8] arm64: dts: qcom: qcs404-evb: Mark CDSP clocks protected Date: Thu, 9 May 2019 21:34:16 -0700 Message-Id: <20190510043421.31393-4-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190510043421.31393-1-bjorn.andersson@linaro.org> References: <20190510043421.31393-1-bjorn.andersson@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org With the Trustzone based CDSP remoteproc driver these clocks are controlled elsewhere and as they are not enabled by anything in Linux the clock framework will turn them off during lateinit. This results in issues either to later start the CDSP, using the Trustzone interface, or if the CDSP is already running it will crash. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.18.0 diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index 2c3127167e3c..dc1d7d5d21a4 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -56,6 +56,13 @@ qcom,controlled-remotely; }; +&gcc { + protected-clocks = , + , + , + ; +}; + &pms405_spmi_regulators { vdd_s3-supply = <&pms405_s3>;