From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4114179978; Fri, 29 Mar 2024 12:41:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711716061; cv=none; b=n+chRQ5XNRN5W68XNuToiW5LgK143SxWiWBPsdNZe9TVny9UVF+XRUt4lWwAaA0BN99nWyzsfzmN7cJOa2KbIvVVxIu1p1PYXG3SwUyvZOM9fBxnbET1pPfVNViVqMa1BsoLcwhGUDfqtvzQZD9BM3Xm+L5y6K8qJ2dKdtshO8s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711716061; c=relaxed/simple; bh=gp+qQNDIXBTr3j2Cxv3o0dcbn3KSps6lPF3MT/eFmrI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Q5nTeWsubCEUHO18LB53ih3XHLINaVVZGvI9JG+EtVkhqsnve6WBXdH6mXJ/VL0zpQJaYzE7bDORm+eJANeWcBoH14XDVFp5Qtnp12u3fvv7OhzxGAut1mfxSZcbV90j/I9N1XFrYvvHfX2HE4b1g8+b6rEafaesUFRMs/On55U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=p9M5Myke; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="p9M5Myke" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3801FC433A6; Fri, 29 Mar 2024 12:41:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711716061; bh=gp+qQNDIXBTr3j2Cxv3o0dcbn3KSps6lPF3MT/eFmrI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p9M5MykeB8CxyrTj6xWESrZxaF+gOSqY00OgrD+T6kmdMx9aRo7J8q8zOeuYN64Q8 7ef8nHI0y+dJC8uflhYDc5RLwY/pAAh5esnfJAVWnt8JV/E+OpjTy+3vs9TboN6QIa 9g8LCE/5Ws9DwSmelDxmEqM6TAf2yp4Iz8sHE39/Qt9mM3TTglPfPCIoHaP+V/0GQF brWZj9lZwV1IiW1UM3yPV8SifIazyd8sQ+JBs1yGl+ZFqpygtV1lzSnpEIK03ltoAq aCjhzQQaL59G0XiW6hcmSUkuS3joK3Q/ssqYMQdEb2EAerFrjOqFQZazgakrvzZyWY croswna+uzE6g== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Bjorn Andersson , Dmitry Baryshkov , Luca Weiss , Konrad Dybcio , Bjorn Andersson , Sasha Levin , robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH AUTOSEL 6.8 33/98] arm64: dts: qcom: qcs6490-rb3gen2: Declare GCC clocks protected Date: Fri, 29 Mar 2024 08:37:04 -0400 Message-ID: <20240329123919.3087149-33-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240329123919.3087149-1-sashal@kernel.org> References: <20240329123919.3087149-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.8.2 Content-Transfer-Encoding: 8bit From: Bjorn Andersson [ Upstream commit 7c6bef576a8891abce08d448165b53328032aa5f ] The SC7280 GCC binding describes clocks which, due to the difference in security model, are not accessible on the RB3gen2 - in the same way seen on QCM6490. Mark these clocks as protected, to allow the board to boot. In contrast to the present QCM6490 boards GCC_EDP_CLKREF_EN is left out, as this does not need to be "protected" and is used on the RB3Gen2 board. Reviewed-by: Dmitry Baryshkov Reviewed-by: Luca Weiss Reviewed-by: Konrad Dybcio Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20240209-qcm6490-gcc-protected-clocks-v2-1-11cd5fc13bd0@quicinc.com Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts index 8bb7d13d85f66..ebbe2c1123f6e 100644 --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts @@ -413,6 +413,23 @@ vreg_bob_3p296: bob { }; }; +&gcc { + protected-clocks = , + , + , + , + , + , + , + , + , + , + , + , + , + ; +}; + &qupv3_id_0 { status = "okay"; }; -- 2.43.0