From patchwork Wed Jun 21 04:36:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krishna Kurapati X-Patchwork-Id: 110769 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4120323vqr; Tue, 20 Jun 2023 21:44:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4zjwIyDF/BxX8yJ+GhRe2qIuzPHY4Vo73nXr05zFW3CKTWaxrzoGwC6E7Dxw01otJwpx00 X-Received: by 2002:a05:6a21:6d8d:b0:121:e573:3680 with SMTP id wl13-20020a056a216d8d00b00121e5733680mr7327953pzb.62.1687322691905; Tue, 20 Jun 2023 21:44:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687322691; cv=none; d=google.com; s=arc-20160816; b=uU/iSHa81O1IlzpIqMKGwvUB6yvpRmOYagSq3zqX+iJPsGBiGBGLHqSGmNwdQAcTax dUZUsQu8cC/AWPg+VUwTKsG2BEsNgezLzmAC/We5+fYBrZBhcxHGTwxwKKqbZ1xQyMfE Kc63fV8Lwmo0jWcAuKv6DJNiywreYOmkbKUfH950FcI9NHr47Vx972j1hwKEJYMs3HPL 8QrI5qdqcRcWgxhazZCK5EaTKjy84vGxBdkHLthjvjrhJ4MPlly7b5JYki3B9AvJ8LRh V/JoNYYMVpP/fKwzovmLWU1bczg64RyWsC636HB1w/Bu1TsW/uTMLMy0t9IevR+2TgWr 8/KA== 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=3jciOEVv065T/NVJ37mpObqQuDxv2hLUWALI8YdfADI=; b=EaJt8g5mlLX5DUO9abPpe7oF/nh4vIfqbVG6u0GF/RuRKb+LlZtDxujIssEgOFGJOb ipnRgzZ9OkHKpnFewZVXlnEm/E3puNQMvRSJh9WEliN9/WBwRwlQo9GDXQphfVyaRyEI nY3DdAfyBZ4DGFs2JNzz+f39VfBVB4StVd0TcyvAjDlWAxbmDfibPHCd3IAR2n3L6xbo 2MhPX+VTKTfnhtCtd6nEvjhfMDI4cDGcSm0+YTAQ9dy6Va1jJ7T1TMC5bPYINthwrOnk O5EBH92NPjCoI/dXmeo6bumZTbsJCDWcg4P5w+SZHWHKJYul9RNGcLvhGlZQUB7wEl7m FBkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=STTMms1a; 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 66-20020a621845000000b0064388918719si3091772pfy.85.2023.06.20.21.44.39; Tue, 20 Jun 2023 21:44:51 -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=STTMms1a; 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 S229671AbjFUEhJ (ORCPT + 99 others); Wed, 21 Jun 2023 00:37:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbjFUEhH (ORCPT ); Wed, 21 Jun 2023 00:37:07 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 050101730; Tue, 20 Jun 2023 21:37:06 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35L12Pga000578; Wed, 21 Jun 2023 04:36:51 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=3jciOEVv065T/NVJ37mpObqQuDxv2hLUWALI8YdfADI=; b=STTMms1ardLhnAXDHJ0KDT0l8jmYkm6tM6hCPKE+c6tY4tgKkmUPHiX835laa+Fs1ORU 87RufVD97QCyQ/eeshVi0qOOAO2ZAd2lg0VCkbhjcrwpsSyA42yceKKVd7DIx4IYnPXX ygD+anhnI5QH/aZOUo7MJyMc3rWMYXHyqK3xnmIQMXL9Dq4LpVwO8fAybYlGztX+5U1G Hcaz6U7w0nIJF8tqm41rGF9qNuITeGPWZxYPGB9HHnyUNYAjU90+TYWYfxWU7EVtn2UQ UEuDCYjVtnMppmaCUE0BLkqM8Lt0ZGVqxCDVUKO4C4uRf+1yX7N+5J6iVtiUYMzIlkhz vw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rb7sutmgu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Jun 2023 04:36:51 +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 35L4aoBT002877 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Jun 2023 04:36:50 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.986.42; Tue, 20 Jun 2023 21:36:44 -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 CC: , , , , , , , , , , Krishna Kurapati Subject: [PATCH v9 01/10] dt-bindings: usb: qcom,dwc3: Add bindings for SC8280 Multiport Date: Wed, 21 Jun 2023 10:06:19 +0530 Message-ID: <20230621043628.21485-2-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230621043628.21485-1-quic_kriskura@quicinc.com> References: <20230621043628.21485-1-quic_kriskura@quicinc.com> MIME-Version: 1.0 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: 0SpkLzJ-ptrIAwlr5UCtcx-3YPvVACpk X-Proofpoint-ORIG-GUID: 0SpkLzJ-ptrIAwlr5UCtcx-3YPvVACpk 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-21_03,2023-06-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 impostorscore=0 priorityscore=1501 bulkscore=0 phishscore=0 mlxlogscore=810 suspectscore=0 spamscore=0 mlxscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306210039 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,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769286079073293175?= X-GMAIL-MSGID: =?utf-8?q?1769286079073293175?= 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 Reviewed-by: Rob Herring --- .../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 d84281926f10..fb3988208b27 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml @@ -26,6 +26,7 @@ properties: - qcom,sc7180-dwc3 - qcom,sc7280-dwc3 - qcom,sc8280xp-dwc3 + - qcom,sc8280xp-dwc3-mp - qcom,sdm660-dwc3 - qcom,sdm670-dwc3 - qcom,sdm845-dwc3 @@ -262,6 +263,7 @@ allOf: contains: enum: - qcom,sc8280xp-dwc3 + - qcom,sc8280xp-dwc3-mp then: properties: clocks: @@ -455,6 +457,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: dp1_hs_phy_irq + - const: dm1_hs_phy_irq + - const: dp2_hs_phy_irq + - const: dm2_hs_phy_irq + - const: dp3_hs_phy_irq + - const: dm4_hs_phy_irq + - const: dp4_hs_phy_irq + - const: dm4_hs_phy_irq + - const: ss1_phy_irq + - const: ss2_phy_irq + - const: pwr_event_1 + - const: pwr_event_2 + - const: pwr_event_3 + - const: pwr_event_4 + additionalProperties: false examples: