Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1054579lqt; Fri, 19 Apr 2024 21:51:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvCZEgFBBE7f/Tw8SgP3OWmsfI+OdihoeLwd9YV9/hGPlDhs/7W0Fot+rGwhrSLWwvjlWu7Y1j5/rSnVMP2H2l+6cp+BXC0Dg9839e8g== X-Google-Smtp-Source: AGHT+IHOpM1WJSlHvVCXMv1tJo0+NMyrFRMrOzHJNWSGMqCi1M0583ZHuS+FLA/HkFA4PXOZK50y X-Received: by 2002:a17:906:3406:b0:a51:e5c7:55b7 with SMTP id c6-20020a170906340600b00a51e5c755b7mr2853716ejb.47.1713588682346; Fri, 19 Apr 2024 21:51:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713588682; cv=pass; d=google.com; s=arc-20160816; b=Pk958rEl22rh/H1ikHf/phePtL0tmPYW5DxboDdwv03d7S8LEDOStq6gQpbOrkrje7 6GJBg0uTPvXsUJlFeMyDZLDXblGcvloH6VkhkQFeVh5AwBAk3lsdcwsUe0EnQL8P2fK/ O0B7M8rv/btkUUlKwShmfdRD8Wde6Z1v6yWBxfZvH0lx4eAGaA8WDomxp+iYZGQuatg6 Aly5+g0napHWxzWylh883/HVrPD+fv+/fVhSvD327Dds8bQFZvzndree1LJxTS9FkNdp QUBGYcsdK1Tw7HX9CpXb/OVRBC4LNUUUrB879OzQInFZFxWUNhyjtZcsvacsdG5JtZZB qbgw== 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=OiyFKqbTd16fDNhle3lDadDMlfMAGneyriKnzvOSPRs=; fh=wJPXdoqtQ0YOXy74oWJK2I5h89QLW8nuE3Wv4zOOrJE=; b=Ndmy6IZC00UQdZePEkbyDsUKn+MzbMNCa5T7nyRxbwk+Zxt+OD+E66DgMmHnTYwPJb yCM8Fl8wVeOzdlHeRDk8lJ8AtTqT50y8L0e1u4NFMQe3gGCQCvCI7S2NIvvMbpswgE/P u95VOs9RpmLr7sebVYWjECZ6FXdaSYqgyimOEfEdclLTUvSp2VJBQJEI6liPx+vxLhJg LC9UZg94ZwkxQ0BNWVpVDlp6rbsKi+HzQ9dTQAL/ke1wrWToDqRXOsxuFt7FLQtoBBDE R/UdRsbABmbby49QrwPZBFcxztevj3bd1IptgfQfdquAGDr4nWWGKFSLUKLPHNy9f05j IhJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Br5zgi3S; 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-152135-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152135-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. [147.75.80.249]) by mx.google.com with ESMTPS id s24-20020a170906169800b00a52231e8565si3083783ejd.434.2024.04.19.21.51.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 21:51:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152135-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Br5zgi3S; 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-152135-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152135-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 E01AC1F217F4 for ; Sat, 20 Apr 2024 04:51:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CE598286AE; Sat, 20 Apr 2024 04:49:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Br5zgi3S" 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 8F32E175A9; Sat, 20 Apr 2024 04:49:56 +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=1713588597; cv=none; b=MubIwyP00PKyIcDskjjztSO6iKwcTXhi4av/PoPDU1UhBrMT3CoVQbbMWz2hOhemKbFU/Z1nXT0/YLXPGkV8YQPvsHJfIj5OwF5ZbLGJYec3E8ft6rEC0Pb4InBJTj6lGXmVKS8sGtLsaKk1g5b0VXsK0jlqHK70Ry0VU5PoBpE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713588597; c=relaxed/simple; bh=BU4d0NYzoJnfrKIKLXmoaxkdYdVFQICAvWomS0kNALQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RnMOS1mCOs00OFWxQil2zEP9PjWIo/K5zky+WUs2LmW1tIc3QiSlqCHroiWixGsyiJaiIM03JzcSO1IOahhsv/O7mwAysCswH13I4cuMeGH8BzDR7ilWicTPSWoXslshV44nJXHozHjVou7KISAhj7HMTavU/bjjAXOqrqW7yN0= 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=Br5zgi3S; 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 (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43K4n41m012625; Sat, 20 Apr 2024 04:49: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=OiyFKqbTd16fDNhle3lDadDMlfMAGneyriKnzvOSPRs=; b=Br 5zgi3SkPE2XOrIWfL9E8j4vyTaemZ4qtmCe41+uxUUGBnxO+F3HjpjLaGjq1AOJr H+lZKdNdJYYC8IiXKXCWCstSuoIXomQLnQvjpA32t8oecMjePhw84K8EwYQkl3HE oY9dFoOWzA2vBCBp8i0+ccblMAHO1gHl4Mwb2DyhrcMRSj7uRPhmAzmFiOjxmApS lNG5oIYl3vJpgtrgegDqvk4TNHnMWIjCtDksDac7YZ6JEL2kHSH+OUPSYyZASaIX UBNU+tKVfkVg1ILpfGpQMSOjcHG9tXueYgK8XzkqHQzOPM/sRV6SNxw/C6uHig8u zrX/d1XsLhvJO67ESmcw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xm70cg01y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 20 Apr 2024 04:49:51 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43K4notu001556 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 20 Apr 2024 04:49: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.1544.9; Fri, 19 Apr 2024 21:49:44 -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 , Bjorn Andersson Subject: [PATCH v21 5/9] dt-bindings: usb: qcom,dwc3: Add bindings for SC8280 Multiport Date: Sat, 20 Apr 2024 10:18:57 +0530 Message-ID: <20240420044901.884098-6-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240420044901.884098-1-quic_kriskura@quicinc.com> References: <20240420044901.884098-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: 2mAVCSQdzlikD72orZ8V2u15Tlk3GIpx X-Proofpoint-ORIG-GUID: 2mAVCSQdzlikD72orZ8V2u15Tlk3GIpx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-20_03,2024-04-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 adultscore=0 phishscore=0 clxscore=1015 suspectscore=0 malwarescore=0 priorityscore=1501 mlxlogscore=948 spamscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404200033 Add the compatible string for SC8280 Multiport USB controller from Qualcomm. There are 4 power event interrupts supported by this controller (one for each port of multiport controller). Add all the 4 as non-optional interrupts for SC8280XP-MP Also each port of multiport has one DP and one DM IRQ. Add all DP/DM IRQs related to 4 ports of SC8280XP Teritiary controller. Also added SuperSpeed PHY interrupt for both Superspeed ports. Signed-off-by: Krishna Kurapati Reviewed-by: Bjorn Andersson --- .../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