Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4023130rwb; Sun, 30 Jul 2023 23:06:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlGpcfb4svrnuRQI4zcyOjwkWPlHUPyQVY0TPdn387VuHSkcxDp//CBzj4ZzoFBVgadechS/ X-Received: by 2002:a17:906:9b94:b0:991:f0dc:c930 with SMTP id dd20-20020a1709069b9400b00991f0dcc930mr6093284ejc.16.1690783567464; Sun, 30 Jul 2023 23:06:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690783567; cv=none; d=google.com; s=arc-20160816; b=X2msrMgubZSjZKrPYgBzpnyVavJPUeaRet6yqxVBHLBTQwOQcUiXmXy8QRhFeD6/TW fBVGkqJLz5qyGYmkl4dnjwv34mwbTMmWFW6vxSSpxGscou/CoRe8LqvXhHbqC1uJCOwR 7VKHrQJa6EI+yDJGbDRp8/eoZ+EP09Z4SH9A2QT2iTf4UjgtcTNvTLJdcZdih4d5BMpB 201+IkESJkqSBOFRlJVUwdYetQ0pi9vkOfgcjhkOCqrKJRpQcW1hN/VxuzT0LpjCGdwZ YlJlGAAOnLMNMu4PmZ6nsv3WXnh0euNlv4SMl8i0SahCo+5KlBW+ZhVfxrvcD+u5rSB0 +c2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=TfNJPRBwuW14VhhvfqZLWDeDCPiAPZ3dM663NzuDllk=; fh=/oC4yzmPZPwMiqJiqAq/Uh+1+TtjCL6xSGdZdhj0deE=; b=QEvPd3M4nPfbp1Emwk4867dk7eD/nQAYZhut1FYeEcfPL4Y9PWVqvTSUuqCWeXaJrU oyKBRtZH27OQzbKi4NeFKlpg/xUwiGrAO5pH1+Q72uOXJsCcq9KAZneGTds9MFSVJgGm FADCzV6SQnfb4YO4eRTH4r1OFv9cptgGXHxqS/1tPbban4MBNfcFqMrGoKPnfDSqdoNq RcHj1Ub5kefGhlRwHJY+qRcETYpR2muSfmkTg+4GwFs6TbYw4R5aiIUu8f/jc9ywx1qK cz8+K3YoeHJhuD/M7ljn5yebTB31nyozI2YnS3yYrmvJfSvDWz8LuzaOIkcORLd/KYT7 z01A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GYZ9+eL5; 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 qt7-20020a170906ece700b00992fef5cff9si6263145ejb.497.2023.07.30.23.05.43; Sun, 30 Jul 2023 23:06:07 -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=GYZ9+eL5; 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 S229863AbjGaFaM (ORCPT + 99 others); Mon, 31 Jul 2023 01:30:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjGaFaK (ORCPT ); Mon, 31 Jul 2023 01:30:10 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1446EE5C; Sun, 30 Jul 2023 22:30:10 -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 36V5HZwo021616; Mon, 31 Jul 2023 05:30:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=TfNJPRBwuW14VhhvfqZLWDeDCPiAPZ3dM663NzuDllk=; b=GYZ9+eL5665LKRPpKzQafpLQHpkH0l0cWt7RfIcMMMhbTdfVl6CbNqrfGsad0Uhxobfc J+ths8nUDfrwnRUl64Fh0I2WWtt6II1619FAyFcA9WYBF4880Xalua++Cks++jWFxJNg C7xav8qhZu1MIuhnv94Ag8bJWV0BlyRAIKpG/dg6J9k3pNBzUn9SdyOf51YE/ZsHmHWH DdpNAI+1Gta+nLLjVKW9Fd1FL/hHthOlkC3wuItW0j60AARkvxxXmR84Dqb6AD02J2TO ZOEsqzQLJeyRBrnN7cmH6p0yRGCFm0H8sWhYwSW66W+Bq1tBJb1FLwXtNSbx77vEieWJ zg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s4ueujpq7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 31 Jul 2023 05:30:06 +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 36V5U5HE005197 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 31 Jul 2023 05:30:05 GMT Received: from [10.217.219.216] (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.30; Sun, 30 Jul 2023 22:29:59 -0700 Message-ID: <1cfdf3c4-6e4f-e73d-c711-3890ceabb69d@quicinc.com> Date: Mon, 31 Jul 2023 10:59:57 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH v1] arm64: dts: qcom: sc7280: Add PCIe0 node Content-Language: en-US To: Krzysztof Kozlowski , CC: , , , , , , , , , "reviewer:ARM/QUALCOMM CHROMEBOOK SUPPORT" , Andy Gross , "Bjorn Andersson" , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Dmitry Baryshkov References: <1690540760-20191-1-git-send-email-quic_krichai@quicinc.com> <17c2ba50-3b72-523c-d92b-1ecbf9be7450@linaro.org> From: Krishna Chaitanya Chundru In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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: E4f9m9AGOeiuf4H1X0iHjhlat3W8oNo3 X-Proofpoint-ORIG-GUID: E4f9m9AGOeiuf4H1X0iHjhlat3W8oNo3 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-27_10,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 bulkscore=0 phishscore=0 suspectscore=0 spamscore=0 lowpriorityscore=0 mlxlogscore=848 malwarescore=0 mlxscore=0 adultscore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307310049 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,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 On 7/28/2023 9:27 PM, Krzysztof Kozlowski wrote: > On 28/07/2023 17:10, Krishna Chaitanya Chundru wrote: >> On 7/28/2023 5:33 PM, Krzysztof Kozlowski wrote: >>> On 28/07/2023 12:39, Krishna chaitanya chundru wrote: >>>> Add PCIe dtsi node for PCIe0 controller on sc7280 platform. >>>> >>>> Signed-off-by: Krishna chaitanya chundru >>> Thank you for your patch. There is something to discuss/improve. >>> >>> >>>> + pcie0_phy: phy@1c06000 { >>>> + compatible = "qcom,sm8250-qmp-gen3x1-pcie-phy"; >>>> + reg = <0 0x01c06000 0 0x1c0>; >>>> + #address-cells = <2>; >>>> + #size-cells = <2>; >>>> + ranges; >>>> + clocks = <&gcc GCC_PCIE_0_AUX_CLK>, >>>> + <&gcc GCC_PCIE_0_CFG_AHB_CLK>, >>>> + <&gcc GCC_PCIE_CLKREF_EN>, >>>> + <&gcc GCC_PCIE0_PHY_RCHNG_CLK>; >>>> + clock-names = "aux", "cfg_ahb", "ref", "refgen"; >>>> + >>>> + resets = <&gcc GCC_PCIE_0_PHY_BCR>; >>>> + reset-names = "phy"; >>>> + >>>> + assigned-clocks = <&gcc GCC_PCIE0_PHY_RCHNG_CLK>; >>>> + assigned-clock-rates = <100000000>; >>>> + >>>> + status = "disabled"; >>>> + >>>> + pcie0_lane: phy@1c0e6200 { >>> Isn't this old-style of bindings? Wasn't there a change? On what tree >>> did you base it? > The work was here: > https://lore.kernel.org/all/20230324022514.1800382-5-dmitry.baryshkov@linaro.org/ > > But I don't remember the status. > >> Let me rebase and send it again. > This anyway looks like wrong compatible. You used sm8250. The patch was send on latest linux-next only and the above change is not merged yet. We are using the same compatible string as sm8250 because the phy is same both from hardware and software perspective for sm8250. that is why we are using the same compatible string. Can you let me know if we want create a separate compatible string for this even though  we are using same phy? - KC. > > Best regards, > Krzysztof >