From patchwork Mon Jul 24 08:41:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Komal Bajaj X-Patchwork-Id: 124721 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp1675073vqg; Mon, 24 Jul 2023 02:21:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlEA1XCmOMQKM1kqA9/rW7fhac8X+7nKaebrM+p+TF1459kJS0rm/sy3Nh+wrCftAayDOftz X-Received: by 2002:a05:6402:2c5:b0:519:6a6a:7659 with SMTP id b5-20020a05640202c500b005196a6a7659mr8024279edx.18.1690190470756; Mon, 24 Jul 2023 02:21:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690190470; cv=none; d=google.com; s=arc-20160816; b=o9SJvaDZYuHTbTa6wBvItqE2+JlDpZCv+GWf1evY/Zgd35kGgg+Uv0u7Kj7GyEkHPf WKk132Qv6O0NtmnDY+ZWd7M/yCw+O0Plc+opd7cqpmYhAAp1jwV0jaTRMUJTAuULxtAS oAitYjQDWYRPCFFMOweh8MsKm+sFG8KZUhNdYibJ6/zlUx66m8ZJ1+Mt+BfqZSMfc815 0gs5bbFlGcJM2JyKbtZv15bBgCW8K4duF/a2nIIfwIJaBu823OeiOfBo6uovv3TpmkXO jw4eBXmxBM4ZKHqhaNqoRMx2jWH34g06a3W7R00STqH/MOA6lnyK0nGEcbDTS/8qaTX6 CMxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ugRLhabOmnLFTlxGgK0rZ6408xvQm1SG1U+94Z5pKh8=; fh=+vUcU9Ka/zutQtgnWdg0fu+fF6W3G4xdx8y/5nL/YjU=; b=KozqHAvbw6Tup6DqE0rdkkHilvxfdi6oXJy79jp0LNq7KaD77U22RRWA5MENfCWNRg +Jix+zLw+osRjR/2bVZBwmmMj1NhR9WoxEHZsdu43MGJNLygM7eUOqsgcNHTpU+/lt8n Xh0pMYqqIQHvmw7rHVfyQPXUoxJmCpQNskwmVl8uwOK4J43umwnnsKHpb+GgidO7MlbB INgzNVbzioyhLIvuNPLOUMXCis0FFY6sKPvcKRTOVQQq8zjndCss+dRs5GdfIX55ddDD MwR+6ua2KXx6ktgRjIZu/KwD/1WrClhFVjbcCulyoe21drRceZPQZjfjzzKK4h6QLkvG 48Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CvVCK+RD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d17-20020aa7c1d1000000b0051e031046a1si6298092edp.444.2023.07.24.02.20.45; Mon, 24 Jul 2023 02:21:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CvVCK+RD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230403AbjGXImm (ORCPT + 99 others); Mon, 24 Jul 2023 04:42:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230383AbjGXImf (ORCPT ); Mon, 24 Jul 2023 04:42:35 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6DA3137; Mon, 24 Jul 2023 01:42:32 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36O60oap012621; Mon, 24 Jul 2023 08:42:29 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-transfer-encoding : content-type; s=qcppdkim1; bh=ugRLhabOmnLFTlxGgK0rZ6408xvQm1SG1U+94Z5pKh8=; b=CvVCK+RDzL2ImAdVtgswIKWyeoMpYk6HE1OlUU3MZoqWwVXyIYKXUEfuUY1WrPYAQ1Qy qm//WZKShuisvPZ127s15x77qWBiH6aMEBWw6sNrX1VcBCfyChYelBedqRldRybklCWH ywF82zKrQHGDrWmu/4eBiOj5v8d3Z9DVxAe7rWaCU8r29CbiA8YZj7NoP/Irrb6DhtXo vHMQDNE1MCDZpTDUWPnM5IZqUgnTwW/+OmI78EBZxmdwuSQ6fxKAP5W24siGZM8+iyIG UdqEzG5VGk+ZtsCMC6613nozptpxM77pnSG80EV1Tfkfg13fLwDGganZKqjdmXqgHL4o Aw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s07b8aspt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jul 2023 08:42:29 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36O8gTNQ006388 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jul 2023 08:42:29 GMT Received: from hu-kbajaj-hyd.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Mon, 24 Jul 2023 01:42:25 -0700 From: Komal Bajaj To: , , , , , , CC: , , , Komal Bajaj Subject: [PATCH v5 1/6] dt-bindings: cache: qcom,llcc: Add LLCC compatible for QDU1000/QRU1000 Date: Mon, 24 Jul 2023 14:11:50 +0530 Message-ID: <20230724084155.8682-2-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230724084155.8682-1-quic_kbajaj@quicinc.com> References: <20230724084155.8682-1-quic_kbajaj@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 1I-IKYaJEx5RXl00ECvLhKp-lhwpRZSA X-Proofpoint-ORIG-GUID: 1I-IKYaJEx5RXl00ECvLhKp-lhwpRZSA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-24_06,2023-07-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 suspectscore=0 mlxscore=0 adultscore=0 mlxlogscore=814 impostorscore=0 spamscore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307240077 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772293163325872362 X-GMAIL-MSGID: 1772293163325872362 Add LLCC compatible for QDU1000/QRU1000 SoCs and add optional nvmem-cells and nvmem-cell-names properties to support multiple configurations for multi channel DDR. Signed-off-by: Komal Bajaj Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/cache/qcom,llcc.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml index 44892aa589fd..580f9a97ddf7 100644 --- a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml +++ b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml @@ -20,6 +20,7 @@ description: | properties: compatible: enum: + - qcom,qdu1000-llcc - qcom,sc7180-llcc - qcom,sc7280-llcc - qcom,sc8180x-llcc @@ -44,6 +45,14 @@ properties: interrupts: maxItems: 1 + nvmem-cells: + items: + - description: Reference to an nvmem node for multi channel DDR + + nvmem-cell-names: + items: + - const: multi-chan-ddr + required: - compatible - reg @@ -92,6 +101,7 @@ allOf: compatible: contains: enum: + - qcom,qdu1000-llcc - qcom,sc8180x-llcc - qcom,sc8280xp-llcc then: