Received: by 2002:ab2:855:0:b0:1ef:b27b:cc29 with SMTP id 21csp1721281lqy; Fri, 29 Mar 2024 06:48:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU8z9eP36Sl4sieBNyIF88ACaPZYJiNQ9gzuoRgGkwxMBOCb0nE9KIxIaDh93iulwgHGefCuGblyMcH8ECML/U0AMDjwEV99gip6EniYg== X-Google-Smtp-Source: AGHT+IFkcNMi5+SnScuMXCzDueqMWi7h7FyEMxCDpMrvz1L+WCOCgzkFhUDKuLYttlwR9JthGZ01 X-Received: by 2002:a17:906:cb9a:b0:a49:452d:e722 with SMTP id mf26-20020a170906cb9a00b00a49452de722mr1699229ejb.29.1711720085722; Fri, 29 Mar 2024 06:48:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711720085; cv=pass; d=google.com; s=arc-20160816; b=HJQ8hdEUDy4YYark1tWyRiDTxRhzXnEi5cq4j9NP8NMwHIQ4nhuBh7DY8Vt7X7ZgI1 RvE3YhBKikIgryNBL61qirqq4E0dquSs3l+4aR+aomIeuQMwKuyNRgjRea2pkh1DYxbA TyhmbeKFr8eRNvGMWUR0UIF5x8pec/o2GpQR3Pgw59lEhAc8IhprvumNvlzUZcVs6yH6 2zNwOcpc/frazJH23iilyMwE6qXOsrG1kYjcHuE95PmOBf3G78Vz4fgoTrcM6A69Ayb3 P0qTpMKME7wfMbFNzVXMekMdoui+RMsQOMBCLbhFW7hjM8j9wHoHJsAr+gQY92fEbQt5 zRfg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=XO72bIzr5Slzw5oaKJ6E9gDL+nFhwccddChefIwakCc=; fh=jnohbVL4YxcztHzYGRB/hetSCrq46CQPRyYPojClstA=; b=fles0Ovk0fq5ybRKu/huIKGnUIigdU8ZhNOk0Q1JlvjlEmsPfEHyviKWpSpaZCKx7P ekfSCtHjYIz73/oslWOIr8/pY98fETDgksByjbYzgnopcaNMzLFMRoap112aOpeIzBNc OHyWbTA1Q+zqZn4hCvDMehOzqtVVCOoDT6/ITsXIx/bhHK6apRSEuo2DznDhqS4H0DyL ilVj8U4N7tSyegvT49BdHQrRNjQAt5fP3Zn1Idhg5xsfbARx4f9jEC9XzGHALg8X1nh1 BOrPMRnvfyiB9QwB+kC5cB/63dTvFUduUK6NWNZjgcu5zXTCKEXuZp2slQ2uxyUa9us9 RDKg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p9M5Myke; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124742-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o2-20020a1709061d4200b00a4e2541005bsi1576169ejh.454.2024.03.29.06.48.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 06:48:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p9M5Myke; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124742-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4D6541F2A454 for ; Fri, 29 Mar 2024 13:39:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F98817A90F; Fri, 29 Mar 2024 12:41:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="p9M5Myke" 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 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: linux-kernel@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