Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18531773rwd; Tue, 27 Jun 2023 19:21:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ75SANPnu1d1uRumaWX2Tf58vC03IU0wooXZmZD7dcfaidmqEDQwav2GvN+VvsnJGhuKmA+ X-Received: by 2002:a17:90b:4f41:b0:263:7d5:46f with SMTP id pj1-20020a17090b4f4100b0026307d5046fmr4631362pjb.14.1687918871817; Tue, 27 Jun 2023 19:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687918871; cv=none; d=google.com; s=arc-20160816; b=izEjmc786LSRxQwKwTmR0klOB1yNfcm9k9oN3J3iaUsK4ZsEg9EOvGklQW0gp+zldY 1sKNcbzKz017Xjz5KewWfTdUzNsIpJACw4InAv6Wo5eZwYTYmPu44l0Jfajg+K3FQvIg hiU7XJsh1TagwTVw7UFXBwV0ry46xVoiBIg6vhcTw1npQvHT6hCDvla5C8a6BTZnd8iA 8cl9YVynapI58pentxNwc4AxRZAIZcWg8cPnilvlzCOlaQBf97jIjueWHuU3QKCaqCO2 d8cbJ0Qf+VaXXavUMpmkxRD6oHKmTDSI7hvZRP04lNrhpjaSyiFW72Dc4HFe/SWTQfQp nyOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=a/X1FFHaWN2vRp3imLzc9nrTHycORh/+rtRoKayrDF8=; fh=m5rAxZ1RdvmwEgArryVFlXMnaVVLyg50xjfALh+iZJg=; b=Ww0nmPP+uMWCg9DLWvAKiGEd+yYOxkFQEqhawa+pzGa3jP6SRaE6RMStzqwL86xFV/ eghOhIedoNtOv+AuEfw++NnLPwnjV0CZJQEK/ElDlZvFcBhjAG1Gdmzk1S8+40hHqvpI fylzphkc6Gqq1ke31CQ/aYuHwJuXxb2hxzgKGyoY6HMdXET9e/z+TgqPiE5AoKJaUG5y Gz6rNTIitd6dk5aQUx9ml6+uQeNYMRHpVLocSQe2YYve0428s9z6vohd2l8v+3naIp+b k+7lNpyFAFVYqiWv6npvgNx6dFKapE8Nj+psQhOn3N+rVoC6gnCkaU2mM+4T9aIlcgUK /qiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=czOQBtZF; 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 pg4-20020a17090b1e0400b002449fd20726si11857119pjb.64.2023.06.27.19.21.00; Tue, 27 Jun 2023 19:21:11 -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=czOQBtZF; 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 S231142AbjF1CTt (ORCPT + 99 others); Tue, 27 Jun 2023 22:19:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230473AbjF1CTp (ORCPT ); Tue, 27 Jun 2023 22:19:45 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F7F41BE9; Tue, 27 Jun 2023 19:19:44 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35S1Qwxq020558; Wed, 28 Jun 2023 02:19:37 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; s=qcppdkim1; bh=a/X1FFHaWN2vRp3imLzc9nrTHycORh/+rtRoKayrDF8=; b=czOQBtZFVkt5rnT/xetDrmeHk19jEtPxeRO3FYBy85Fk7lkP+DFQWcavWEJemR3A+zX5 XpxmaykDugh38OKxOgGks1yElc0SnQJNuj8mk/A/YQM4aobEWAwDci7y4M01ypJHcYbC Qm7f7zLT+rhDy66599GzLUfgCT2IuujbikMpSkSjyqNIWBGKudZ4Vtu7UaFt78+dtv// zWvDegAPn+1MGMZ4krW619Kd2YDFzhzq9feTCzm7fu3S6k5hmgYVj5WQJpAjO/bBHTNG MYUGW1XgBhWukdmz9MINyvgiUElnfHjvo37eyNVIkqMvNqXiv5850kYbQqnJyEWpNQCs qQ== 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 3rfbfcc5je-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Jun 2023 02:19:37 +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 35S2JYB7023380; Wed, 28 Jun 2023 02:19:34 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3rdsjkqpkj-1; Wed, 28 Jun 2023 02:19:34 +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 35S2JYBG023364; Wed, 28 Jun 2023 02:19:34 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-krichai-hyd.qualcomm.com [10.213.110.112]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 35S2JXrL023362; Wed, 28 Jun 2023 02:19:34 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 4058933) id 65D484AAD; Wed, 28 Jun 2023 07:49:33 +0530 (+0530) From: Krishna chaitanya chundru To: manivannan.sadhasivam@linaro.org Cc: helgaas@kernel.org, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, quic_vbadigan@quicinc.com, quic_nitegupt@quicinc.com, quic_skananth@quicinc.com, quic_ramkri@quicinc.com, krzysztof.kozlowski@linaro.org, Krishna chaitanya chundru , Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Subject: [PATCH v6 1/3] dt-bindings: PCI: qcom: ep: Add interconnects path Date: Wed, 28 Jun 2023 07:49:28 +0530 Message-Id: <1687918770-28416-2-git-send-email-quic_krichai@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1687918770-28416-1-git-send-email-quic_krichai@quicinc.com> References: <1687918770-28416-1-git-send-email-quic_krichai@quicinc.com> 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: e_IT5626rkkaFORRJGS3co2qZEJ95YBn X-Proofpoint-GUID: e_IT5626rkkaFORRJGS3co2qZEJ95YBn 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-06-27_16,2023-06-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 impostorscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 phishscore=0 clxscore=1015 bulkscore=0 lowpriorityscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306280019 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 Some platforms may not boot if a device driver doesn't initialize the interconnect path. Mostly it is handled by the bootloader but we have starting to see cases where bootloader simply ignores them. Add the "pcie-mem" interconnect path as a required property to the bindings. Signed-off-by: Krishna chaitanya chundru Acked-by: Manivannan Sadhasivam Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml index 8111122..bc32e13 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml @@ -71,6 +71,13 @@ properties: description: GPIO used as WAKE# output signal maxItems: 1 + interconnects: + maxItems: 1 + + interconnect-names: + items: + - const: pcie-mem + resets: maxItems: 1 @@ -98,6 +105,8 @@ required: - interrupts - interrupt-names - reset-gpios + - interconnects + - interconnect-names - resets - reset-names - power-domains @@ -167,7 +176,9 @@ examples: - | #include #include + #include #include + pcie_ep: pcie-ep@1c00000 { compatible = "qcom,sdx55-pcie-ep"; reg = <0x01c00000 0x3000>, @@ -194,6 +205,8 @@ examples: interrupts = , ; interrupt-names = "global", "doorbell"; + interconnects = <&system_noc MASTER_PCIE &mc_virt SLAVE_EBI_CH0>; + interconnect-names = "pcie-mem"; reset-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>; wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>; resets = <&gcc GCC_PCIE_BCR>; -- 2.7.4