Message ID | 20230612220632.1885175-1-quic_bjorande@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp164344vqr; Mon, 12 Jun 2023 15:17:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7kHsWIwprWPQlFpS0r2abj2ED6YfQrDzkSKD/gtXKNUb6cxRao9ffon9xFtqau5Q92KUEa X-Received: by 2002:a05:6808:14c8:b0:398:2c02:20a2 with SMTP id f8-20020a05680814c800b003982c0220a2mr6530815oiw.17.1686608233268; Mon, 12 Jun 2023 15:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686608233; cv=none; d=google.com; s=arc-20160816; b=Ki3TdqTCqRCswG7Dw3Ktkt3HAXvY60R0XLMO6ZWuj4g2jXtqiJjbIitO6PbJyLRthO Shy6OTqTFU2wJWxRGoTusy7O/TSOnI7cAoBW9jfTMNuU+rj/hJPNdUX/Fo2a7D0NVb4F ySIraFFqPwFT1kkh6PED9KFWsA0LY5ZaR547OBPRThEKFBp71hNt7RMeIDvjyxquLjY5 KiATNmsKQsX+V5sACQcIbRN6WAj8qbGyfRhICvDBBZrgQUDhI0VkVu0fb19VnlD2iyo5 kT2q8YLE46VsB3VtE4d5vVMpKSqK+DwCJXQNnSnbiE50hRN13wqdbzXh4kkpKBY33S3K 6l+Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=zUJRKiRPbROCtrFo6bZlGydCwxBUcRwLy9HRiIVNA3Y=; b=0Y+ZG10ZHKhlXvaplBwXCD0RfFvb0AhBqehHHoaTWSD1Oo+a6JLk/7b8pSk+fk45up NK0uvZkVU547iCJB1olz73ZClS/hTcjdjlM+c6cS7T/TyArjsYRfChuYc1qJaf66YVb/ JBj5mrVOXt3nlpLyScWVZzkbvBmZZAB3BCuyP22J9AJHXlpGoo6X8/NHshvaywsFOkE8 Ri2WyUMKglb40z6AKnDsNLaKQOrBaFZuCLoqjw1O6lBel9hu9eLSl7t4eTFZemlh02U7 Fce5y2d9k5uJoQO5ixQCTW8HmtoRTexRhrREQCWeCQ7cnDT01gwGbuZm02II1y2FLHZI ugag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ja5y1clW; 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 b24-20020a17090a8c9800b0023d23393318si7597513pjo.55.2023.06.12.15.16.59; Mon, 12 Jun 2023 15:17:13 -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=ja5y1clW; 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 S238446AbjFLWGo (ORCPT <rfc822;rust.linux@gmail.com> + 99 others); Mon, 12 Jun 2023 18:06:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238519AbjFLWGm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 12 Jun 2023 18:06:42 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB995E7E; Mon, 12 Jun 2023 15:06:41 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35CLKmHB008986; Mon, 12 Jun 2023 22:06:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=zUJRKiRPbROCtrFo6bZlGydCwxBUcRwLy9HRiIVNA3Y=; b=ja5y1clW0PtaQwD3Hl3+lDQwhNunnitrYy/2kXIh24s1pP2hsUG7Vl6SDGsw4VkoCX8U +dWH3lBOxIZ0jtpkewh15IEH9jnXAgjkJccn8ji30+hFvA0jbL2ILqdOuPMQbCV+F3Nt 1rSs5xNvz6xEPCnuyPFnAUzWGg3o+OQbjp642lBfEcz9U766fx1xqbwxU151kgtCz2zs RKssnsMdoVPnW/LLudOoQgPasIrFkcgi+FCHwKEQY/S7Mz6VmV0jman3yW2Jf1hzXRHf RUK/Inxp03+TcXKA9d9id8V7/uZ6CLJDmbQUE1D3NrY+Lg5vYbLrfiXW/prddYn61DgN cg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r68x989ay-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Jun 2023 22:06:38 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35CM6bBE013263 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Jun 2023 22:06:37 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Mon, 12 Jun 2023 15:06:37 -0700 From: Bjorn Andersson <quic_bjorande@quicinc.com> To: Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Vinod Koul <vkoul@kernel.org> CC: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH] arm64: dts: qcom: sc8180x: Fix LLCC reg property Date: Mon, 12 Jun 2023 15:06:32 -0700 Message-ID: <20230612220632.1885175-1-quic_bjorande@quicinc.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: VJcmLn4Zuv1uoVgL3eB7fHNspj8jTHxT X-Proofpoint-ORIG-GUID: VJcmLn4Zuv1uoVgL3eB7fHNspj8jTHxT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-12_16,2023-06-12_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 spamscore=0 suspectscore=0 mlxlogscore=696 mlxscore=0 adultscore=0 malwarescore=0 clxscore=1015 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306120190 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, RCVD_IN_MSPIKE_H2,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768536914830057769?= X-GMAIL-MSGID: =?utf-8?q?1768536914830057769?= |
Series |
arm64: dts: qcom: sc8180x: Fix LLCC reg property
|
|
Commit Message
Bjorn Andersson
June 12, 2023, 10:06 p.m. UTC
The LLCC binding and driver was recently corrected to handle the stride
varying between platforms. Switch to the new format to ensure accesses
are done in the right place.
Fixes: 8575f197b077 ("arm64: dts: qcom: Introduce the SC8180x platform")
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
---
arch/arm64/boot/dts/qcom/sc8180x.dtsi | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Comments
On 13.06.2023 00:06, Bjorn Andersson wrote: > The LLCC binding and driver was recently corrected to handle the stride > varying between platforms. Switch to the new format to ensure accesses > are done in the right place. > > Fixes: 8575f197b077 ("arm64: dts: qcom: Introduce the SC8180x platform") > Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> > --- > arch/arm64/boot/dts/qcom/sc8180x.dtsi | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi > index 88015742315b..3de62e26d56a 100644 > --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi > @@ -2541,8 +2541,11 @@ usb_sec_dpphy: dp-phy@88ef200 { > > system-cache-controller@9200000 { > compatible = "qcom,sc8180x-llcc"; > - reg = <0 0x09200000 0 0x50000>, <0 0x09600000 0 0x50000>; > - reg-names = "llcc_base", "llcc_broadcast_base"; > + reg = <0 0x09200000 0 0x50000>, <0 0x09280000 0 0x50000>, Is there anything inbetween these register ranges? Should they be 0x80000-long? Konrad > + <0 0x09300000 0 0x50000>, <0 0x09380000 0 0x50000>, > + <0 0x09600000 0 0x50000>; > + reg-names = "llcc0_base", "llcc1_base", "llcc2_base", > + "llcc3_base", "llcc_broadcast_base"; > interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>; > }; >
On Mon, 12 Jun 2023 15:06:32 -0700, Bjorn Andersson wrote: > The LLCC binding and driver was recently corrected to handle the stride > varying between platforms. Switch to the new format to ensure accesses > are done in the right place. > > Applied, thanks! [1/1] arm64: dts: qcom: sc8180x: Fix LLCC reg property commit: 74cf6675c35ec3034053a69926f4d98e52852eb0 Best regards,
diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi index 88015742315b..3de62e26d56a 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -2541,8 +2541,11 @@ usb_sec_dpphy: dp-phy@88ef200 { system-cache-controller@9200000 { compatible = "qcom,sc8180x-llcc"; - reg = <0 0x09200000 0 0x50000>, <0 0x09600000 0 0x50000>; - reg-names = "llcc_base", "llcc_broadcast_base"; + reg = <0 0x09200000 0 0x50000>, <0 0x09280000 0 0x50000>, + <0 0x09300000 0 0x50000>, <0 0x09380000 0 0x50000>, + <0 0x09600000 0 0x50000>; + reg-names = "llcc0_base", "llcc1_base", "llcc2_base", + "llcc3_base", "llcc_broadcast_base"; interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>; };