From patchwork Fri Nov 17 09:53:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 166068 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp414640vqn; Fri, 17 Nov 2023 01:53:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhm4dP+wn48SRm/PNsPSzD1gy++yUF7l6bfeiE2WRIxVWeubCNA+SUwcmMBSkiM33zBG5L X-Received: by 2002:a05:6a20:e113:b0:187:7761:6155 with SMTP id kr19-20020a056a20e11300b0018777616155mr8901559pzb.55.1700214837230; Fri, 17 Nov 2023 01:53:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700214837; cv=none; d=google.com; s=arc-20160816; b=OqNPb2shKsBhM0dVp4b1oYCkJkMJOmR6YkHbRf13Pjnkm4TfkGvDSTR6gm8D/SRdUg O+qAJQBsheoinwy6D8zLnjT1MPZCVhnd+9iLNTiO1sXjzWUv1vWrJXAQhquwH/u+twng aIYPuyZQJDC7JlbFq2S9wAbD9+d7+Ix2D9+GbRP8tH0FVyOPXLEYegpZQ1KgU0YZdliY LaIZwBqovl7jW2rN3pBpMRogvm4wTkduYEs6LFLgd1f8veTi75yz7NkfYSm2EeIY182t sAkFadTdSf0bVQLlz/qTeWETQ0rUQN+JmgYVIhiv8iq2H6IldnMoIsdUICrYuiJSFj7Y VPfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Ul/yzrkNRnLpxXNiKoDkuI7/X+xlLPbGoZ30gw8RXF0=; fh=MgmPbTFSTtO93Mh/B31ZLUS6TJBJOsTozPFfXbcbTD0=; b=ydCnt12QiqOS7AIBrlMGwKiBFa9a+Hd/weWpwk9OxLxC7nPcnre+ZMK32LoeZWhmUH D0zc6CvG/CDGCy+nT+zt94j51m/MbgkmM3CSaoL8WdUHgxprrB+LxDjb5dsk6BtPa8bf oRx+1FvJn87aQDw+bQRwf28M9De8NfausEuaiFIdHzdpshcBf5XtFL9aa80kI/lDgAg1 o+pEn3BNvt/CXwvvU9CCkIWgigg+wOFAvczIGu8Tc63UxwPDYZmtDQYdU3tKDYt5WRS8 Fy0YDBjbsuzuGRAYr+Ev2IrZMCswmgPSUwE4h+K9OJz5npYokral39lB4L5Vd44IA72B Fgtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UFyt82bj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id y20-20020a056a00191400b006c4b01d5f85si1669495pfi.16.2023.11.17.01.53.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 01:53:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UFyt82bj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5D246826C0F2; Fri, 17 Nov 2023 01:53:56 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345738AbjKQJxy (ORCPT + 30 others); Fri, 17 Nov 2023 04:53:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230105AbjKQJxx (ORCPT ); Fri, 17 Nov 2023 04:53:53 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D901AD; Fri, 17 Nov 2023 01:53:50 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AH5HVMf023435; Fri, 17 Nov 2023 09:53:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=Ul/yzrkNRnLpxXNiKoDkuI7/X+xlLPbGoZ30gw8RXF0=; b=UFyt82bjxQVYrbdLe/o7Di/MhbGd7NLhMX36LZKlT6flkZjjoxd6XhHGVHz1lxSSmBzV B1U6OfISQ1XBvuqESxfSScaWH6meT+Ftalx/+N+91JzNAPRAw3DacbVXz6iH1D/6k/xy tp2skOoehbGoLxzf9ajfHNXZ/HG+We4V3XwzoWQ8xvvh6jDpIbjzl1FvAb7ywR513szd KFThbbHghySGJn+ZOdZKCiwxbb7c0BOpa8dk2zAoJrSdm1wJnKqrqNE4pp6Xl75uBA1U UMj73K7kW8VX1+h86m9+dm6nO47A++5czM5OoUDEYQHbUGqNVytqmOyLF6gz/TR8ooiM xw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3udrvs1nys-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 09:53:46 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AH9rjh8025038 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 09:53:45 GMT Received: from blr-ubuntu-87.ap.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Fri, 17 Nov 2023 01:53:40 -0800 From: Sibi Sankar To: , , , CC: , , , , , , , , , Sibi Sankar Subject: [PATCH V2 1/2] dt-bindings: cache: qcom,llcc: Add X1E80100 compatible Date: Fri, 17 Nov 2023 15:23:14 +0530 Message-ID: <20231117095315.2087-2-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231117095315.2087-1-quic_sibis@quicinc.com> References: <20231117095315.2087-1-quic_sibis@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Uh1KYb83aJwIpWTndzWiyZ4ptv0Ic-tH X-Proofpoint-ORIG-GUID: Uh1KYb83aJwIpWTndzWiyZ4ptv0Ic-tH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-17_07,2023-11-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 priorityscore=1501 malwarescore=0 suspectscore=0 impostorscore=0 adultscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311170072 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 01:53:56 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782804472794725898 X-GMAIL-MSGID: 1782804472794725898 From: Rajendra Nayak Add the compatible for X1E80100 platforms. Signed-off-by: Rajendra Nayak Co-developed-by: Sibi Sankar Signed-off-by: Sibi Sankar Reviewed-by: Krzysztof Kozlowski --- v2: * Update the part number from sc8380xp to x1e80100. * Pickup Rbs. Documentation/devicetree/bindings/cache/qcom,llcc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml index 580f9a97ddf7..d82cb76509a0 100644 --- a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml +++ b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml @@ -33,6 +33,7 @@ properties: - qcom,sm8350-llcc - qcom,sm8450-llcc - qcom,sm8550-llcc + - qcom,x1e80100-llcc reg: minItems: 2 @@ -104,6 +105,7 @@ allOf: - qcom,qdu1000-llcc - qcom,sc8180x-llcc - qcom,sc8280xp-llcc + - qcom,x1e80100-llcc then: properties: reg: From patchwork Fri Nov 17 09:53:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 166069 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp414686vqn; Fri, 17 Nov 2023 01:54:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IGiC1LI4z8Lb7Qj4dBiRJbXAxE3cLVcbCIaILdoVfbZiigRtsKAEeUyM7eYDUvswMtCQ9F4 X-Received: by 2002:a05:6a00:10c8:b0:68f:ecb9:5fde with SMTP id d8-20020a056a0010c800b0068fecb95fdemr18280225pfu.34.1700214844559; Fri, 17 Nov 2023 01:54:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700214844; cv=none; d=google.com; s=arc-20160816; b=P39a2F1bgTz8YEWCV42phrkKL9HYyQpyoCLmb9slG0etUYvvPMarGps7G1k7cCn77q wpihePdfiJoSfvp1CYTb4IobdXZuqHkrIWA21YrwFg5InuLdR+yL1L+x+at4npLkCQq7 FEHvbE0tSnXhna1rbcGhLbfrgjHyHsCJio6f5wUehaWOO6G6TxG4m0T580BuThmez8du R98kkaO1zkTZWuR3vDP2LmCxZoLIIqph0TVVL2TzY7SKST/lBVp7R0mawBWxVJR/q9Hj rDgmEGmA96/k5tH0FNg/29Oj/yfa4s9r/gHBuvEgbZhm9eXlscj59H8ZcC+iImg8LK5e BMXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=2RBmfYe9752QvQFKGNFw82xPadoOTPvqkZQK867U7RQ=; fh=MgmPbTFSTtO93Mh/B31ZLUS6TJBJOsTozPFfXbcbTD0=; b=eltTu1UU1VKpeXqkkNhr4SjiL8Q/n+gr8E5wh7yTpUjeeeGa6jwhp15sx1NbaRs5xi oRWkt7owkt2mGjXBl0y6m8zTRCv01i1wqjhjEgTMtUSYfG6V63/RoUyS3Ly4Q9jfuIf1 dnVlMwiI9W+qj349pR5rxLTDqG5tKpeO4bUD7Q+DCnThhHHcKK+gWwd2OYAM2+JDw3N+ 8uXmM37myNhmKwUn2kvbVEWyKJuWH80JIjNI2/6/2kdRMw52gJiOxX8BXmRRhSYBhsz7 9hJNqS2tnc493Q3+HtoDE/VayoICc43rwKpGzj4hJ69mYeeNARvgnQ9j/Vul1KlOr1oG p9bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=bhVD9+yd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id j19-20020a056a00235300b00690fe11c9dbsi1654144pfj.97.2023.11.17.01.54.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 01:54:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=bhVD9+yd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 950A58270043; Fri, 17 Nov 2023 01:54:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345794AbjKQJyB (ORCPT + 30 others); Fri, 17 Nov 2023 04:54:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230105AbjKQJx7 (ORCPT ); Fri, 17 Nov 2023 04:53:59 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7F04A7; Fri, 17 Nov 2023 01:53:55 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AH9JwBu001772; Fri, 17 Nov 2023 09:53:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=2RBmfYe9752QvQFKGNFw82xPadoOTPvqkZQK867U7RQ=; b=bhVD9+ydVJFVBI7DZ+Bw4AL+E0vepM1Sxa6itc/CpQCu020yJc5fx5c4QNC0MSxOaCbm paZv1k0tvso917JB+dNcuPPwgzgTCWieNO2lI00tGZMyBmsBet0jPMQZ0t69xF9e0xB7 oOqhdQKNrquGem0nmv8Kts+OCp9PjvkeuybFn8um7aGsDaCxyJ9lXWKsGfkxIas7m0UM vjUM/xecK/B8dtcDOdiI5H7/crJQL439Z0nlbwHb9x/rCJj/oMyTqJJdKkjft27DHRcX ZZ0uhaddo+8S12eT4K2CQFySUTSJvhXMUPyyZaA/7CPhL//YmMTtVXd1JpBY7jJO/oI6 /w== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ue5exr24a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 09:53:52 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AH9roqt029711 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 09:53:50 GMT Received: from blr-ubuntu-87.ap.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Fri, 17 Nov 2023 01:53:45 -0800 From: Sibi Sankar To: , , , CC: , , , , , , , , , Sibi Sankar Subject: [PATCH V2 2/2] soc: qcom: llcc: Add configuration data for X1E80100 Date: Fri, 17 Nov 2023 15:23:15 +0530 Message-ID: <20231117095315.2087-3-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231117095315.2087-1-quic_sibis@quicinc.com> References: <20231117095315.2087-1-quic_sibis@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Z8ndNW82CwFzc241jl3xzlncZsb07qS5 X-Proofpoint-ORIG-GUID: Z8ndNW82CwFzc241jl3xzlncZsb07qS5 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-17_07,2023-11-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 impostorscore=0 bulkscore=0 phishscore=0 malwarescore=0 adultscore=0 priorityscore=1501 clxscore=1015 lowpriorityscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311170072 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 01:54:03 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782804480832734239 X-GMAIL-MSGID: 1782804480832734239 From: Rajendra Nayak Add LLCC configuration data for X1E80100 SoC. Signed-off-by: Rajendra Nayak Co-developed-by: Sibi Sankar Signed-off-by: Sibi Sankar Reviewed-by: Bryan O'Donoghue --- v2: * Update the part number from sc8380xp to x1e80100. * Pickup Rbs. drivers/soc/qcom/llcc-qcom.c | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c index 674abd0d6700..bc83cefae403 100644 --- a/drivers/soc/qcom/llcc-qcom.c +++ b/drivers/soc/qcom/llcc-qcom.c @@ -392,6 +392,29 @@ static const struct llcc_slice_config qdu1000_data_8ch[] = { { LLCC_WRCACHE, 31, 512, 1, 1, 0x3, 0x0, 0, 0, 0, 0, 1, 0, 0 }, }; +static const struct llcc_slice_config x1e80100_data[] = { + {LLCC_CPUSS, 1, 6144, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_VIDSC0, 2, 512, 3, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_AUDIO, 6, 3072, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_CMPT, 10, 6144, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_GPUHTW, 11, 1024, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_GPU, 9, 4096, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_MMUHWT, 18, 512, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_AUDHW, 22, 1024, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_CVP, 8, 512, 3, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_WRCACHE, 31, 512, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_CAMEXP1, 7, 3072, 2, 1, 0xFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_LCPDARE, 30, 512, 3, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_AENPU, 3, 3072, 1, 1, 0xFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_ISLAND1, 12, 512, 7, 1, 0x1, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_ISLAND2, 13, 512, 7, 1, 0x2, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_ISLAND3, 14, 512, 7, 1, 0x3, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_ISLAND4, 15, 512, 7, 1, 0x4, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_CAMEXP2, 19, 3072, 3, 1, 0xFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_CAMEXP3, 20, 3072, 3, 1, 0xFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + {LLCC_CAMEXP4, 21, 3072, 3, 1, 0xFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, +}; + static const struct llcc_edac_reg_offset llcc_v1_edac_reg_offset = { .trp_ecc_error_status0 = 0x20344, .trp_ecc_error_status1 = 0x20348, @@ -610,6 +633,16 @@ static const struct qcom_llcc_config sm8550_cfg[] = { }, }; +static const struct qcom_llcc_config x1e80100_cfg[] = { + { + .sct_data = x1e80100_data, + .size = ARRAY_SIZE(x1e80100_data), + .need_llcc_cfg = true, + .reg_offset = llcc_v2_1_reg_offset, + .edac_reg_offset = &llcc_v2_1_edac_reg_offset, + }, +}; + static const struct qcom_sct_config qdu1000_cfgs = { .llcc_config = qdu1000_cfg, .num_config = ARRAY_SIZE(qdu1000_cfg), @@ -675,6 +708,11 @@ static const struct qcom_sct_config sm8550_cfgs = { .num_config = ARRAY_SIZE(sm8550_cfg), }; +static const struct qcom_sct_config x1e80100_cfgs = { + .llcc_config = x1e80100_cfg, + .num_config = ARRAY_SIZE(x1e80100_cfg), +}; + static struct llcc_drv_data *drv_data = (void *) -EPROBE_DEFER; /** @@ -1249,6 +1287,7 @@ static const struct of_device_id qcom_llcc_of_match[] = { { .compatible = "qcom,sm8350-llcc", .data = &sm8350_cfgs }, { .compatible = "qcom,sm8450-llcc", .data = &sm8450_cfgs }, { .compatible = "qcom,sm8550-llcc", .data = &sm8550_cfgs }, + { .compatible = "qcom,x1e80100-llcc", .data = &x1e80100_cfgs }, { } }; MODULE_DEVICE_TABLE(of, qcom_llcc_of_match);