Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp451183rwb; Thu, 27 Jul 2023 15:47:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlHCp5viiubqEuSjx1qD4ccnuyStrf2is2fy+ZAoAwqj01vMnt/udvqoZCzJG3OgGmIVYuFb X-Received: by 2002:a05:6808:2122:b0:39e:940c:2a58 with SMTP id r34-20020a056808212200b0039e940c2a58mr831394oiw.5.1690498031702; Thu, 27 Jul 2023 15:47:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690498031; cv=none; d=google.com; s=arc-20160816; b=o7TCdEr4rqHXfUV/QCFLY9q1rLMTYESpq/QdIIR4fDUUB/G3HVqdgD/n3DJY2PY55T p6NqVPml99VjEKVchd8YFad58x5Kb4Kl5v5voyzsfx7Yxbbwk1c4h5ZS1oPxOveElxQP chLeozwkOoM+JPlOxsuIJEMeljaOpZBx5wifecuymNalL//N5AprQLKodH6WWqQe59/J yr7RYzo+WsSw/tf1Ux6ng8gagOqyM9BU44kciR6x/H6ulbjXRx4GuevDCJBNfEzidIS3 MtyF7sUn90Fzpfrgd91X3Xeu92PtEki3UtlZhIeJxLDGND35n3oMGfRMpjMYvSB2t0SS 9ARw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Eyj1W0f1tqQbWRnBrD1S3yvtvmKEeJVd/+EQPHcbWRo=; fh=hG+2ty4feDY+2OZPqUnDncw9bDFHBUr9whTeCLGbtTI=; b=cr6u3ngXvvqYTMvK4fbGq9MHyAXBlKAU2z7LMwrJgaMfoAYs6Uk3hePyFNNLNsq36e ugKIY3YWHFl7zuDUQhsbUo3iUTYCZ3v/xyK7LXgr/0luAGguYbbOW1FLbHX0NF0We0dZ SsLZmUAplhB97ofmtJrrzE8mW8XJWk2P25WlT+Q8cI7BzA7jf9XG+sEtRyLq/kG9hCiI oSj7NycVpNWhZiVYLFf/cb8jQSVQ/nluVZlhBERi441U1/HSwd3M1joKazWKRAMZKrc8 KVMoPEfOj8bfnXzBgPlh8nd1R6s02e33MjKrTQHKNStWZdDl83OP7MdkWdtI9I1T94Z/ kqoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CYwKl0Ql; 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 q68-20020a17090a1b4a00b00262ec69bd80si1927913pjq.72.2023.07.27.15.46.58; Thu, 27 Jul 2023 15:47: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=CYwKl0Ql; 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 S232995AbjG0Web (ORCPT + 99 others); Thu, 27 Jul 2023 18:34:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232954AbjG0We2 (ORCPT ); Thu, 27 Jul 2023 18:34:28 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9703C3ABB; Thu, 27 Jul 2023 15:34:03 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36RLctbF006908; Thu, 27 Jul 2023 22:33:29 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 : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=Eyj1W0f1tqQbWRnBrD1S3yvtvmKEeJVd/+EQPHcbWRo=; b=CYwKl0QlwjETkp5fpsHQiJ4lY3j5DKxMClq9IC4562AEEuLwYZEVeXEYAFJSqTrbkE13 MJQn70vZPrN89D6habA68/yrRPb+gd/vpeVfFxeYY9Qn4CLkyXEBo/K5AlAHGlfM4HXm YuJQ1BNHhV19UuVfQBdZpiE0HHZ4mcLFxdvLAjmxkZ7I1NmNpGqRmYGKrOcWv9D7F30n qn1FAOcPv0SNhgYFFM1c3hIVmxjdr18/lT+DmC2XJKGpQfML59nocNWHg8UY5T9AgA+U Fuds/A+VxrZlamajGEWLUxi78kqtmfvFyLfmjpZ+aBjUgvASgsXg5qZM0O8jzyHFL0Cn TA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s3ufurut6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jul 2023 22:33:29 +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 36RMXSXE006957 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jul 2023 22:33:28 GMT Received: from hu-kriskura-hyd.qualcomm.com (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; Thu, 27 Jul 2023 15:33:22 -0700 From: Krishna Kurapati To: Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , "Andy Gross" , Bjorn Andersson , "Konrad Dybcio" , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , Wesley Cheng , Johan Hovold , Mathias Nyman CC: , , , , , , , , , Krishna Kurapati Subject: [PATCH v10 01/11] dt-bindings: usb: qcom,dwc3: Add bindings for SC8280 Multiport Date: Fri, 28 Jul 2023 04:02:57 +0530 Message-ID: <20230727223307.8096-2-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230727223307.8096-1-quic_kriskura@quicinc.com> References: <20230727223307.8096-1-quic_kriskura@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: 4WW3koMxcL7KCvGovDAHnEUKdiaCMpCc X-Proofpoint-ORIG-GUID: 4WW3koMxcL7KCvGovDAHnEUKdiaCMpCc 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 spamscore=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 mlxlogscore=860 mlxscore=0 clxscore=1015 priorityscore=1501 adultscore=0 phishscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307270205 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,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 Add the compatible string for SC8280 Multiport USB controller from Qualcomm. There are 4 power event irq interrupts supported by this controller (one for each port of multiport). Added all the 4 as non-optional interrupts for SC8280XP-MP Also each port of multiport has one DP and oen DM IRQ. Add all DP/DM IRQ's related to 4 ports of SC8280XP Teritiary controller. Also added ss phy irq for both SS Ports. Signed-off-by: Krishna Kurapati --- .../devicetree/bindings/usb/qcom,dwc3.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml index ae24dac78d9a..80a0a7be18e3 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml @@ -28,6 +28,7 @@ properties: - qcom,sc7180-dwc3 - qcom,sc7280-dwc3 - qcom,sc8280xp-dwc3 + - qcom,sc8280xp-dwc3-mp - qcom,sdm660-dwc3 - qcom,sdm670-dwc3 - qcom,sdm845-dwc3 @@ -265,6 +266,7 @@ allOf: contains: enum: - qcom,sc8280xp-dwc3 + - qcom,sc8280xp-dwc3-mp then: properties: clocks: @@ -477,6 +479,33 @@ allOf: - const: dm_hs_phy_irq - const: ss_phy_irq + - if: + properties: + compatible: + contains: + enum: + - qcom,sc8280xp-dwc3-mp + then: + properties: + interrupts: + maxItems: 14 + interrupt-names: + items: + - const: pwr_event_1 + - const: pwr_event_2 + - const: pwr_event_3 + - const: pwr_event_4 + - const: dp_hs_phy_1 + - const: dm_hs_phy_1 + - const: dp_hs_phy_2 + - const: dm_hs_phy_2 + - const: dp_hs_phy_3 + - const: dm_hs_phy_3 + - const: dp_hs_phy_4 + - const: dm_hs_phy_4 + - const: ss_phy_1 + - const: ss_phy_2 + additionalProperties: false examples: -- 2.40.0