Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21711357rwd; Thu, 29 Jun 2023 21:33:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5t8uvPZGU/EK2HprSExvKbvcK6z9sO9364HT09epPnoRPtsdAJNANRn69psb/imcihJ7Zu X-Received: by 2002:a05:620a:2947:b0:765:6524:8458 with SMTP id n7-20020a05620a294700b0076565248458mr1954984qkp.36.1688099581594; Thu, 29 Jun 2023 21:33:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688099581; cv=none; d=google.com; s=arc-20160816; b=Pqmpe2hSrditOYF2Fz7QnjumaosxnuVzptZoozLTo1Y7ara+0BNDJFJHk3KH8DEWiD Qhhx/y775H5QTLqiQIw35uBegDisDCWdDls42UyQffkOsC6qUHg5gpIim/cl4jFm6+Lh mpJ/MCMQI79QEvUUhYreN56j5dJ0QtBUrtMk7deZdXDrvMOeOA5Zvc9cBluIpzDjSUUM LCTcBk84RK7sOlFWL6ioTJJgVzaaI43S6CuP2uJyxV63z9M0335/a00BAROyRduXmdaI /5JE0p7dfGYfD8nKq9LV2rRo8JF5ZAjTJ/jypvSvoUYzYqed5WhqdFy17vGc7uTUHFgS VM5Q== 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=pNVtBSWKqftSyOiPZ3QXvgD+wr6X++DBwSuP/Y3KuWk=; b=0uFWqFgfwoDkrqKR9qMbm91lG5GwIvrBN53GIYhTsTzJL+XGXMCPyA9GmvK7Y92+tE y87t4hI+Dx3PtDO5bwzlepEOnK0HX66OTv7cOIS1ScUhwYlzvjWx2rwkyqvXWdgb3ian Gcm2WDSWKiFiqUCKXIDTr7FAjOX9R12+81hI8JtZZgAvea+qSV42s5uajCnm1TLj2tvS lMcwlaX62BmGPsPNqJAv+pnFoVZrqgEa9m/0cQbP0pchNw+1jjIfa/pSV1YskdOVsm9a 332l9lrGElc5UCNy+iGyWR0FxjtkK6hedK34mXJ7sxQ7zAha+Abd6BCMjNANXAc3PDcp A6JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=X9Rh5DKf; 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 e26-20020aa7825a000000b00666e510da4csi10868932pfn.237.2023.06.29.21.32.47; Thu, 29 Jun 2023 21:33:01 -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=X9Rh5DKf; 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 S231465AbjF3EZw (ORCPT + 99 others); Fri, 30 Jun 2023 00:25:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230342AbjF3EZk (ORCPT ); Fri, 30 Jun 2023 00:25:40 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E8A6171E; Thu, 29 Jun 2023 21:25:39 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35U3dZq8009715; Fri, 30 Jun 2023 04:25:31 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=X9Rh5DKfmF3EldedPXv0MPGT5HbXecB8mM9hwbWWQwMCxsNdtuWInkHDShZ6bfiRrHqi WznuOE6xrZJ8+S3vJZvdXGV4f7YH6VJlUonsUepO7MBO6n8m7gmVF+/kzyBGBU+tr9fW 7KRZllogNBRQ+VdEHn8WLY97WSsnSCQLx+rXprx3D5tsOEgCLkYN4O8piDQZtJ8sc9jB 4Clgv2W+hEdFz8kCTBthFspWx8jKDOf41t6ubes8Qi4jRa2oQ+Nu1XB1yqu6E/JxDK3l np0tWeXb3Dq98atzv66orqeGe35lCVOV5G2MJf1BfQSzYg/c21uFhJSDddNwMVB4PWPP uA== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rhamwhnbj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Jun 2023 04:25:31 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 35U4PRZg013216; Fri, 30 Jun 2023 04:25:27 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3rdsjknf4k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 30 Jun 2023 04:25:27 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 35U4PQAX013195; Fri, 30 Jun 2023 04:25:26 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-krichai-hyd.qualcomm.com [10.213.110.112]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 35U4PQqg013187; Fri, 30 Jun 2023 04:25:26 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 4058933) id DAE904ABD; Fri, 30 Jun 2023 09:55:25 +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 , Andy Gross , Bjorn Andersson , Konrad Dybcio , Manivannan Sadhasivam , 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 v7 1/3] dt-bindings: PCI: qcom: ep: Add interconnects path Date: Fri, 30 Jun 2023 09:55:21 +0530 Message-Id: <1688099123-28036-2-git-send-email-quic_krichai@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1688099123-28036-1-git-send-email-quic_krichai@quicinc.com> References: <1688099123-28036-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: SN8Nmx7IrravWD8ga2RihsPEbNGo8_3M X-Proofpoint-GUID: SN8Nmx7IrravWD8ga2RihsPEbNGo8_3M 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-30_02,2023-06-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 spamscore=0 phishscore=0 clxscore=1015 adultscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 suspectscore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306300036 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