Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10203746rwr; Fri, 12 May 2023 05:23:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6EpMIvqN6mbvnYiK/JqZGf3FyNI+hBFIWXy3StNQTVYlWjR/EdwPYgbMuh4SRFmM+jsKkb X-Received: by 2002:a17:90a:734b:b0:24e:5a5a:1050 with SMTP id j11-20020a17090a734b00b0024e5a5a1050mr25824610pjs.24.1683894186577; Fri, 12 May 2023 05:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683894186; cv=none; d=google.com; s=arc-20160816; b=CRcf4Ov4Xf0oWvXBKITK74mkCgQJ2wbHyeqbDObWBZu4WZ1WnI7WFYJp5YjQEFwfOg 9Fiz7ZDYAydFv6hGKIkg0Z6S6B1QOLQdZPns2V2DGnWIqub6vj1VU4Io8wK33pxOk6Ro 2bMsSApCWj6Z5Mo94l3gQ0bvcuxPpLrZMpa0c35N5bzQr6rYwQglck2Dlqt7unq9CdXv 6XEKogajg0lNOAzr2vjSoG75sjhriNYogGJ6CLu/+TXEJnG7VSfqmIxbtT+yZJzZwcYg azrFg/UYn7RcaLhMOA0Dyy/VKtHBAR0KzQaOJsJ4LR9gkIOGCqSxaZdbiXBALN0uBNfO d/ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=Es3qey8KHPuV4tiYvQ8GpMi07nfr68jTUjXyMMD4BJQ=; b=n6ubcjGoNJw2fhzl839RDkOWqdB175Wz5JZJ6JQWG6LX7haN24YQ1kcT0fB7cJc7Ye J+jYlCg6UM1DB0dFRcOR+9cAc70JGoajkq0VBNlRtXQq+2ki/m95OeG+0qu5LdSIUYIO KeIL1TlrOEUtfi8YZUjND+CuwRU2jLtj3/AURtrx6g9gez6+AbDKLFepby0XGsjmBBlI 2wnIgSy75ZNPG3RGBcXDGqQmpAYo8eYsGG3CFXzf3A4iE3BGwrFKEq58n7ZgpH2ViBwQ 7KuTnmWLDUna/GRmTlecUc5uGdMP9ltxg1/XZbEspEVWfcHrvhsjHSVzxCTnj5ml6D26 SGJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=W7URFXYW; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fw20-20020a17090b129400b0024e500f3749si21873295pjb.68.2023.05.12.05.22.52; Fri, 12 May 2023 05:23:06 -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=W7URFXYW; 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 S241027AbjELMWP (ORCPT + 99 others); Fri, 12 May 2023 08:22:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240813AbjELMWD (ORCPT ); Fri, 12 May 2023 08:22:03 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CB1A1329C; Fri, 12 May 2023 05:22:00 -0700 (PDT) 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 34CBpUaI022683; Fri, 12 May 2023 12:21:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=Es3qey8KHPuV4tiYvQ8GpMi07nfr68jTUjXyMMD4BJQ=; b=W7URFXYWAxcItcKmjIp/SYANMO0npxI3yq7X8QWgUByciN6vip3qup25JAekdXdynYC5 /Et3w/Tyk+S2qDjtvm8LkiH5/uDMUVknqCz4qlpgoUA/wToUloR6xR5AvvFBCtn8GUio P1MO9rOr1TwOkvGV2w9eVKK+7tk59phrFM9hmra6+HAiVz3p1COOyhxmzWRayVKRvcpe BDs4tH7ICE8lLBnRJ3Hfqh/tdVHpb3VL2W7pqAzlfD0HoKp3Lc//yBnmebrCIfapTYWN qBiCor832XduBeSJPUIh2Auy5k7BGPmGZ4YcFa5MOoad9N+0XgHHnGTJrXserQF6P8jV YQ== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qh27tte5f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 May 2023 12:21:56 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 34CCLhu3028973; Fri, 12 May 2023 12:21:43 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3qdy59u1uf-1; Fri, 12 May 2023 12:21:43 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34CCLh6D028967; Fri, 12 May 2023 12:21:43 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-kbajaj-hyd.qualcomm.com [10.147.247.189]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 34CCLgMT028966; Fri, 12 May 2023 12:21:43 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2340697) id 2EA6852974D; Fri, 12 May 2023 17:51:42 +0530 (+0530) From: Komal Bajaj To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Conor Dooley Cc: Komal Bajaj , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 00/10] soc: qcom: llcc: Add support for QDU1000/QRU1000 Date: Fri, 12 May 2023 17:51:24 +0530 Message-Id: <20230512122134.24339-1-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.17.1 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: ZTmxwA9YlEPA9V1moDpalJbEDXlasAjy X-Proofpoint-GUID: ZTmxwA9YlEPA9V1moDpalJbEDXlasAjy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-12_08,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 adultscore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 clxscore=1015 malwarescore=0 phishscore=0 suspectscore=0 mlxscore=0 spamscore=0 mlxlogscore=725 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305120103 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 This patch series does the following - * Add support for reading secure fuse region in qfprom driver * Add support for qfprom on QDU1000 and QRU1000 SoCs * Refactor LLCC driver to support multiple configuration * Add support for multi channel DDR configuration in LLCC * Add LLCC support for the Qualcomm QDU1000 and QRU1000 SoCs Changes in v3- - Addressed comments from Krzysztof and Mani. - Using qfprom to read DDR configuration from feature register. Changes in v2: - Addressing comments from Konrad. Komal Bajaj (10): nvmem: qfprom: Add support for secure reading dt-bindings: nvmem: qfprom: Add compatible for QDU1000/QRU1000 arm64: dts: qcom: qdu1000: Add properties to qfprom for multi channel DDR nvmem: qfprom: Add support for secure reading on QDU1000/QRU1000 soc: qcom: llcc: Refactor llcc driver to support multiple configuration soc: qcom: Add LLCC support for multi channel DDR dt-bindings: arm: msm: Add LLCC compatible for QDU1000/QRU1000 Revert "arm64: dts: qcom: qdu1000: Add LLCC/system-cache-controller" arm64: dts: qcom: qdu1000: Add LLCC/system-cache-controller soc: qcom: llcc: Add QDU1000 and QRU1000 LLCC support .../devicetree/bindings/cache/qcom,llcc.yaml | 2 + .../bindings/nvmem/qcom,qfprom.yaml | 1 + arch/arm64/boot/dts/qcom/qdu1000.dtsi | 30 +- drivers/nvmem/qfprom.c | 74 ++++- drivers/soc/qcom/llcc-qcom.c | 304 +++++++++++++----- include/linux/soc/qcom/llcc-qcom.h | 2 +- 6 files changed, 301 insertions(+), 112 deletions(-) -- 2.17.1