Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3260765lqp; Tue, 26 Mar 2024 04:35:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWM/x9PH3AI/tF9DjBC26xd9OZze7IYXfXWZRu4t0IoNg/zcT+445eOmjwJwwQTR4QZ6/3Xi4M1OqbU5ZDN6ExmY3CmwgPG+mzRjsgybw== X-Google-Smtp-Source: AGHT+IFwwltKWkFkzjxHEbUwViR9mh63jKtHq5ia53FYCbptzjRhr2O7ZjFE3JIVbBilK4VfNugs X-Received: by 2002:ad4:5949:0:b0:691:8750:98eb with SMTP id eo9-20020ad45949000000b00691875098ebmr755934qvb.36.1711452916088; Tue, 26 Mar 2024 04:35:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711452916; cv=pass; d=google.com; s=arc-20160816; b=zGou5yXlc+ZtdvS/3dbv6WILXH8ITa1ldiVccU9+4olydJFUV1hhWifvcqsQvJCb3b CWrIs6pkdTVsZBnI2fL7s5jPe3G6QiKQMzNHqOyRfhxkmWSCxg2zvK9Nu7uHc03oDrPz rHT4qu+y3M6qw05/k2m2ck1U56uxSEZyiZ/8hqZXCJCU1Xl3KQISRqNwnfkMJDRYVSAB c6wjB85CKu4/bVipv662lTTIRNmE3T1s+vMmZvs1qPgMtpkdBY8uKQWmbshSrxH8Ed8J 6T3YUmYbCA0q/a8AcyLW3mxZGsoOfCkkJtkysMLJdBKjnR7wtlb14uiB5CZDKSnQdODd FvDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=on4AWLn93ibcFSQpwiEvZLq/uMGCeteTx7c8FxvaK/c=; fh=rCVsw0ADKhTADdWslfxGcKb2/OuP7S3j40Ot+ZbMR4o=; b=d+jQHwZ0cXOn12DLGLDlFJLR41hlt0Sov2netOCq+TSACgUCb8lCM6lepoB+gJq2Tl DfkF4a1rhia2WvZUsuJe6F1NMxNPKKU7gLuAQrYs+olIwVu6JNNGD182H4AAGJKWtDvf rpPFS6Tx6DQ3exto2f3y1+lY6Zo9ql43W2EuiATc43/pg3eT54+IQKipti67aWrR6LRQ JFcLc/ROA4ShtEnVHnG2XnhUezaKTlGtwy/Uank7MhANYxUuE+r3CYaoMG5RtmkvKanI ZLNEzQvM1f54Nrf0fWD1x5LoAWIYLrc5NeJUNGZnmT869Dt5SxscSSEzcX8JUpI8glPR 639w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=o362150c; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-118895-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118895-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id jl14-20020ad45e8e000000b0068f6008e456si9898906qvb.50.2024.03.26.04.35.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 04:35:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118895-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=o362150c; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-118895-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118895-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BC6211C35DBD for ; Tue, 26 Mar 2024 11:35:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0648859B7F; Tue, 26 Mar 2024 11:33:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="o362150c" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8755659157; Tue, 26 Mar 2024 11:33:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711452830; cv=none; b=Sy4DOMAmb0ZHBfRhSpHtOlqauDh+As5GCBxigUNdICx/3oOuf/4bnYlWVA3S2r+2m4ec7oO2NSgUzaSOOS5tskVcPqJ4wWzmWa9JM64+Jr3sqVkORGpjjYKpJvReA0+wYmxkEc0xN5UR8W0nBBzo1NJ1cjPiL2GgvcuFpFJ1B3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711452830; c=relaxed/simple; bh=U08DR0CT+VX4I/1rf8xBMPVKZb7RVIOW5ecciVZ/898=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Kt8wQHlykmWXs7uzgZ51FSsCY2NNjLyD+4LeD6i9RcGjVYjGa7rMGzP7YkeUrXxZBT4AOP+eSRlPdNo9PYLN6rFrDHqb7LOC2ctOfUFhsWThAyWnrEb8Ek/nLINbGGTaO2NJIDHfJczKoBoulAmHDkzxmCB15+uI2Hpok2DHhXg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=o362150c; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42QAtm6F005821; Tue, 26 Mar 2024 11:33:43 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=on4AWLn93ibcFSQpwiEvZLq/uMGCeteTx7c8FxvaK/c=; b=o3 62150cL3+8CU2RkNQekzvApCtWIpVLxip9XL1yqHJkNxs5yF5tHJhdOdYjjyojAL OQ0UZEvNdAnKus7XPsfZBpIOgiK82FCUHhC58dM2H9owNJJarVCcCZXjGMx4Qy3x vxz9DHXduM+25+LuW5mXPE1aXjfgBLRuM0KgX8wKApVkljcTC9X9VZmM8KpH12Bx OrdMVFsFbBWvKmg0uYj6wZYYCPhndTrIJ9V4eM0a0wQB1cB26bGZvTNeTiBPasqv gZ/NiiOnlgGGpjI+PablUas+21B5bPvcSeIymti6SPuol7i6YNXh56dsRkUTSzow eZQtwxqNrEsjZdQkUk2g== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x3w1h83dv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Mar 2024 11:33:42 +0000 (GMT) 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 42QBXfIM011687 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Mar 2024 11:33:41 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.40; Tue, 26 Mar 2024 04:33:36 -0700 From: Krishna Kurapati To: Krzysztof Kozlowski , Rob Herring , Bjorn Andersson , Wesley Cheng , Konrad Dybcio , "Greg Kroah-Hartman" , Conor Dooley , Thinh Nguyen , Felipe Balbi , Johan Hovold CC: , , , , , , Krishna Kurapati , Johan Hovold Subject: [PATCH v18 5/9] dt-bindings: usb: qcom,dwc3: Add bindings for SC8280 Multiport Date: Tue, 26 Mar 2024 17:02:49 +0530 Message-ID: <20240326113253.3010447-6-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240326113253.3010447-1-quic_kriskura@quicinc.com> References: <20240326113253.3010447-1-quic_kriskura@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: vNdObDfIazMCX4jVv3S8GgmjPSvCW-Ik X-Proofpoint-ORIG-GUID: vNdObDfIazMCX4jVv3S8GgmjPSvCW-Ik X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-26_05,2024-03-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=999 lowpriorityscore=0 suspectscore=0 mlxscore=0 adultscore=0 priorityscore=1501 spamscore=0 malwarescore=0 clxscore=1015 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403260079 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: Bjorn Andersson Reviewed-by: Rob Herring Reviewed-by: Johan Hovold --- .../devicetree/bindings/usb/qcom,dwc3.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml index 38a3404ec71b..f55f601c0329 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml @@ -30,6 +30,7 @@ properties: - qcom,sc7180-dwc3 - qcom,sc7280-dwc3 - qcom,sc8280xp-dwc3 + - qcom,sc8280xp-dwc3-mp - qcom,sdm660-dwc3 - qcom,sdm670-dwc3 - qcom,sdm845-dwc3 @@ -282,6 +283,7 @@ allOf: contains: enum: - qcom,sc8280xp-dwc3 + - qcom,sc8280xp-dwc3-mp - qcom,x1e80100-dwc3 then: properties: @@ -470,6 +472,38 @@ allOf: - const: dm_hs_phy_irq - const: ss_phy_irq + - if: + properties: + compatible: + contains: + enum: + - qcom,sc8280xp-dwc3-mp + then: + properties: + interrupts: + minItems: 18 + maxItems: 18 + interrupt-names: + items: + - const: pwr_event_1 + - const: pwr_event_2 + - const: pwr_event_3 + - const: pwr_event_4 + - const: hs_phy_1 + - const: hs_phy_2 + - const: hs_phy_3 + - const: hs_phy_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.34.1