From patchwork Thu Oct 3 15:51:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 175153 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp574084ill; Thu, 3 Oct 2019 09:43:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbi9PxU2iGty6TkWlG/vPF80MnvSGYQBpfCoaoSunWFbQPnOW9jQTxbiK7mqDd/SpXy91Y X-Received: by 2002:a17:906:c282:: with SMTP id r2mr8124040ejz.207.1570121023299; Thu, 03 Oct 2019 09:43:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570121023; cv=none; d=google.com; s=arc-20160816; b=ZNyKIsbf6/QzaL3CLy7KRPElP5axMJtDIy6W9iag0KTuY49SIuRQLnBtxd/745Sf6h C5vl9mOwduRHub2v7DX89HHS+eJA7MsjKAeIHJ2KFfwtvsXbwFfgaYmHci+juBp69min 55N+s10z0dIap6GXbPpysuy+wXpVGQZfgqRW2eXz60WgfB7FE5GB2TC8HcECOlJjfFBi dQM4Z4zePgqv+ToOP2ILZhy6D+VBdPP0tKrBLedpTKvDM0uvra9N1DKNPNxdCfwAviQ6 BSf4lPgG5WwDOO1j/Fca2IPzXUmUAePdOQZ5hMeUY0ZGaMnPhvfDLBqYoqiKpxyYZojH dqfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Q61foPR9T12GswBFWRUubUr475fb3uvVzJcifOvVvoY=; b=a/pXOOJZ7oBjO/7OMVf444EE/I8V5OaeP80eMWZzc18Qo8BumoWGdFLRArJajwuhe1 ZOpJIQF4ZSJLI0OSU8VQvwlLtjzIB14gH2PSgtfbMYAV7aSfqO/7mfxGa+1Uo/e6Bpxu AFze+x80NeOaBimvbcyu4JuBqnnH3PZm048oj/mhbxwo81mPCwZqArS5nJGO0WNEbf3z OxMUFCrJBz7SiV9xntNlA4LOmnmqp402FOdRpuohIsPfVnYygZW1g18chGu2Gvb+71d0 eB+ObOD8WJaK/jWKYcVlFa/4MqJ92R8OeELGI3hd95bEGbujv12HrEHerX3At7cHsQNd PgSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=StMOLy3X; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f14si1732366edt.92.2019.10.03.09.43.43; Thu, 03 Oct 2019 09:43:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-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=@kernel.org header.s=default header.b=StMOLy3X; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392721AbfJCQnl (ORCPT + 14 others); Thu, 3 Oct 2019 12:43:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:55214 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392151AbfJCQnk (ORCPT ); Thu, 3 Oct 2019 12:43:40 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5BEC92070B; Thu, 3 Oct 2019 16:43:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570121019; bh=laBXdjhEBj/+X/JVTuEkEsHnRzQeu89qrZqIqosxvkg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=StMOLy3XeTNfDattvj9vO7G6iX2S+8GXSbSQD5SS5IK98DmD0S9/5eesLSX4U/mcP smHpZwC195gY2Z1GS7l0tf58lKAHKyWsUxR0wUWSrV/luYHQDGV1lUREUvlnzZdMO2 30FoH2Zl2fIk0uzshgtI0lw4aeXzz5fdCPKbEdwc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Niklas Cassel , Mark Brown , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.3 124/344] arm64: dts: qcom: qcs404-evb: Mark WCSS clocks protected Date: Thu, 3 Oct 2019 17:51:29 +0200 Message-Id: <20191003154552.443445773@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191003154540.062170222@linuxfoundation.org> References: <20191003154540.062170222@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Bjorn Andersson [ Upstream commit 54d895bea43c94f31304d59f82d755b7f4b59e7c ] '7d0c76bdf227 ("clk: qcom: Add WCSS gcc clock control for QCS404")' introduces two new clocks to gcc. These are not used before clk_disable_unused() and as such the clock framework tries to disable them. But on the EVB these registers are only accessible through TrustZone, so these clocks must be marked as "protected" to prevent the clock code from touching them. Numerical values are used as the constants are not yet available in a common tree. Reviewed-by: Niklas Cassel Reported-by: Mark Brown Reported-by: Niklas Cassel Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index 11c0a7137823d..db6df76e97a1a 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -61,7 +61,9 @@ protected-clocks = , , , - ; + , + <141>, /* GCC_WCSS_Q6_AHB_CLK */ + <142>; /* GCC_WCSS_Q6_AXIM_CLK */ }; &pms405_spmi_regulators {