Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3228754lqp; Tue, 26 Mar 2024 03:31:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGbMLDrqzXOU9wpqV9t+Vvzn4hcL8R7AY0lxRjK9Lgo4gW5CmM3ETN9F3gwMzqkGMoRMCP1Ha90/LTkmZgfTh2L9dIpIIvqD9nFZvu2g== X-Google-Smtp-Source: AGHT+IHEa0iDSdKoMazzfLJXLg5q3NHvt2pm/E9QGYUa7Zr9+u11Q7oW6Ug36NOqEeWpKS2kEpbc X-Received: by 2002:a17:907:869e:b0:a47:4cb5:b66a with SMTP id qa30-20020a170907869e00b00a474cb5b66amr6077990ejc.61.1711449093498; Tue, 26 Mar 2024 03:31:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711449093; cv=pass; d=google.com; s=arc-20160816; b=pjcOlYiEwPJhqOjjtWfMFVWR6o7eJNnApzXgpL/VV5HExR0YL1JnNGFXbYYsAw2Ryy J3oBs5gVMrE9L6PGZJB7i8wT8CuF9WwQrysx9eYhAEQzPc2/z3OzY39KuYGurXMpvctH wIaXNHUaHg9t6AoB2b+GTKFgGRfaMbDsqpjIQai9NniVtQ/6/hlkv66iEOz3BEk850in mnzzqXsw6+rRrqBIOXVB+KBiZXk8wij2GPad3A1GbUI5It+LAzFnrndKPRwDDaUQkbNh XuNSVxcHOIPrjXuvp/IqGSE4ND1/4kdwW6AV7BaVygZuPajXmROLk5Gvlf6JJjH0dSwx f/pg== 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=S9B6xaNsafKmY2iYDTt6w1TwhUU/lTI/3pGMENLtKa3JnKZT7gz0QZ/+i3uvwYG8f7 leppTQJ6uDlTj1Rb+ELzT+xM7TCm7CDK6ZcizycbLsI3oUzjO7LujE2FcY3EYDCDd+I7 aJE8UJksYCbcpRqatdDr67F8Oi/eGcLILLyCDhNClqqGkN8Zd2nyCeLT3Spkn7fopVeu cMpG/9yBifpt2374b3OxpCztDTiE/k7FSY8i01tJs3DM13FyzYUf/e93A5ACIKq9vzch uX2q0EfA9FQTPKJ6tq7//2/8Fx1q67ojYtMjIOY5alrU95hEnivv4rkzCp4oE/wlWmfX YtBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KNmdeg9Q; 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-118798-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118798-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b3-20020a170906150300b00a473447791dsi3325985ejd.555.2024.03.26.03.31.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 03:31:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118798-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KNmdeg9Q; 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-118798-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118798-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 10A301F62979 for ; Tue, 26 Mar 2024 10:31:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C4CAD7640F; Tue, 26 Mar 2024 10:29:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="KNmdeg9Q" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 7BA1C763E5; Tue, 26 Mar 2024 10:29:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711448981; cv=none; b=iCPwqx8owcfNIbM+s6VfxV+OlgroMDVwng6CJyPv113O0iqIqmJhWaQkZ9uyHudUdHKtAtwJgZdYZ6DT3l8KYkDsUXNKiKGRn0WxSs2jP7wYHGBbKKp5OolRC/kcL4CGhUxzvqWP5xkeevtFWnHUQPTJxzcmBniWL6uRI9dC2kc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711448981; 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=ZlO+wtLEwf9xiwei+pzWPcynXwdr0n/q4FMEow2bsOvMenusMfVByqOMTEOW0z6yFIQggsPbxQfMcO/0LjuCv8hEql9+W+1JI2mL91F4D6B+MgXtn7B0pyM5j5Scj/R08ZjUOm632tIpHxJBCWOJm8Gn53TEGdlezjDl1ZynneI= 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=KNmdeg9Q; arc=none smtp.client-ip=205.220.168.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 (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42Q5nsoR027718; Tue, 26 Mar 2024 10:29:34 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=KN mdeg9QWNHgAUZMOLFcZRfgkvO1ZaGf4eHFoZZ9pFma+5ku0gcNFHj6eLLAyk8tIU y9Hl6+FHUIyU/gsfqrA2+wLVhIc7+wphtHAzzYrP7Ow3+9Ft1dGRvs+/W3yKuH15 AQsV2sogHaTaWNIhyggiAjunolEKb2SnK4imZO6BonAyYxFOnH8LpN7xlJNnFHJ3 YZ3+P1Ul4PLaNeXhwFwXK0OCwAIxi7claZJ8Dxij0CLL+Xn/kwjnSULnJ6++95mD ib4S1TyJrz1iafr50F6hDo2yDGE1qSW3tHEA98NodNTM1cw6t89GKMg+BcCPFbB9 V8nNFS5cAaJFguqeaTRQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x3rj2rrbd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Mar 2024 10:29:33 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42QASwip000559 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Mar 2024 10:28:58 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 03:28:53 -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 v17 5/9] dt-bindings: usb: qcom,dwc3: Add bindings for SC8280 Multiport Date: Tue, 26 Mar 2024 15:58:05 +0530 Message-ID: <20240326102809.2940123-6-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240326102809.2940123-1-quic_kriskura@quicinc.com> References: <20240326102809.2940123-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: 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: kfgAr0HldWKjHMt9U2jnKH8aI8oMzAqg X-Proofpoint-ORIG-GUID: kfgAr0HldWKjHMt9U2jnKH8aI8oMzAqg 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_04,2024-03-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 impostorscore=0 suspectscore=0 clxscore=1015 phishscore=0 mlxlogscore=999 malwarescore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403260072 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