Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp369262lqi; Wed, 6 Mar 2024 22:23:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVJAKid8pm5jm90YBlSEIvPkx8XESconAxcHydyOl6JxgJF9/oa2ygYBY96rK7gd20nNYDJsKqIf3+WntWqQ64Ezvz864edAzxLaV6y5Q== X-Google-Smtp-Source: AGHT+IHr4XKBYcW/V6AG83Xpk80wzYmhPrq+NQJt8magiMzykBExeGJAfbhfWRnUqkdF+uTIbasy X-Received: by 2002:a05:6a00:1149:b0:6e5:7ff:53ff with SMTP id b9-20020a056a00114900b006e507ff53ffmr859684pfm.6.1709792618021; Wed, 06 Mar 2024 22:23:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709792618; cv=pass; d=google.com; s=arc-20160816; b=SdPLlPOIlJldMfdZoKEbzHG4tLn9nZzAbBAZL28cx3I8hTxRyTkKSHSzb3mB+5EW5e bqiCaTZrkVMnem0T2unvLIS0I7BSY67jCGAB8rVT46QYoKyBZ+gNNhBYtjhfyM0ykRm9 eerN27GA5fnVbeuwskCiiSEdyRNaRX77x4fyyeFbM8cTWWBaSvSm7lZ++j627vWnrTRl urSFIivWSJTEV/9Wh0lGHd72NVn1M/DqBcqRnBMTJQJIqbCn1tMC82hTODcL/YE2lyTh mXJMjVhtqe5Qntb2858PDTPERbjba5EAUFH1K6nmnGUW8HxzB0evA3EeKqhD7odhbt3/ wWRw== 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=Z3bYhTRiiQvxZ9pfqEtV3Mv1twCj+OvqZpPRG8NMtK4=; fh=4/0ifhPahKNFI/zaFW+v9IgR2gjerOrunjt1gpeALuE=; b=KyDxXnHI3ZA+p/pxS6yxhFGiNu53qV9GAlehG6eV9humyY0qz8X2q7VjK8efqvQEFa CW7cddHO5LKVbtRu2o3zDmZ1s2YKZh05+RV1HD1Zkq7H5BE7O8lTDX2YFElDB07S9Pb7 g9VVORI2590ktcFPl6Ad7XXDRqONgikgn1BDHEKKmCJDkmzl81XmuZMSXQ+EjcVYfta1 eY7h1cyBS5XLWyVYBPVeOMt9Fg3udY7SDi3a4Dtc7TgDD+bSMgOpSSCBPq46TmNQAT02 T1vgVeVW32o0AN7MVbuPTpTaJYjccasXOhHKbVcK2oIrJEE+UtBHRXdcgRzLaKMr91w4 gPyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KTJ84kqI; 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-95009-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95009-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bd38-20020a056a0027a600b006e0f90ac3b8si13574786pfb.141.2024.03.06.22.23.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 22:23:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95009-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KTJ84kqI; 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-95009-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95009-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8E6DF281E3D for ; Thu, 7 Mar 2024 06:23:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 654DD1D555; Thu, 7 Mar 2024 06:22:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="KTJ84kqI" 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 23F7581F; Thu, 7 Mar 2024 06:22:16 +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=1709792538; cv=none; b=k6fkiTkbwFZ5cnaZR/EPZMooowY4gFB4FnwmzAmS8lsK1LoP89EpW7o48o4c0zvPcHLY9E9LpTw3AWviHlfWcsXiurHdVkGTlBK1lyrKsPDJw3/eGHESREDDDOD0vtB25KlGECNWqiBw//CHzcp3koQkrQ39ims/NBqkYjrG7Kg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709792538; c=relaxed/simple; bh=tJk5GPSWzHu5iJyfgh1vvpdf+5NuhobzvsMmLQkBAYY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XaTRBP3dTCIsogZy31/tpr0ZSBkCBUROj0TzBj5t/pe1TLZBHJLuBdurjB9B5+Hh5ocanuT2wwB+G+3reDpjdSFG3cFCnsk9vnOsNYgxeNa4vQLwYI4OYgluUUkChfm5JLC2EIOMFsdhxVpcXjhx6uWyvc2EdoR1LaWDMReeq3Y= 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=KTJ84kqI; 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 (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42743qt6014596; Thu, 7 Mar 2024 06:22:12 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=Z3bYhTRiiQvxZ9pfqEtV3Mv1twCj+OvqZpPRG8NMtK4=; b=KT J84kqIn3oTcDTZQ3HjRDS/eL6xFtvThLBVxyvd7/luBvv8rjPDL+jjJI/0X6Lx5H TfLoCelFHmuScpcF4fnQA+5+dztNJ77MqynszG+uXPAsqOLAwbTOpU3UL2XwDZgL cyJH+UwqW8z51vxpTN2Qv+j7nECTf6ZEvhqu97THYOmLmxcVkCpuU9CCvDnXPiix Vl589EfiFrJ0+FJWfB+J7xoXYpGk7NexlW/YeUCJ6H4/g+aszjkapwlDFmWLr+uB L8RuoStbTM5juleALkB56LtSGZ6AyzUOB9JWYs0TUy/vfV2ceua7DgmvmTerplxR T1ccefWys08BlQCFII0Q== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wq0rbrt6x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 07 Mar 2024 06:22:12 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4276LiVk014899 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 7 Mar 2024 06:21:44 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; Wed, 6 Mar 2024 22:21:38 -0800 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 , Rob Herring Subject: [PATCH v16 5/9] dt-bindings: usb: qcom,dwc3: Add bindings for SC8280 Multiport Date: Thu, 7 Mar 2024 11:50:48 +0530 Message-ID: <20240307062052.2319851-6-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240307062052.2319851-1-quic_kriskura@quicinc.com> References: <20240307062052.2319851-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: fq-XmDlK_TJdwOqvcsl3RrrOu3BNpfCw X-Proofpoint-ORIG-GUID: fq-XmDlK_TJdwOqvcsl3RrrOu3BNpfCw 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-07_02,2024-03-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 priorityscore=1501 impostorscore=0 suspectscore=0 adultscore=0 mlxlogscore=999 mlxscore=0 bulkscore=0 phishscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403070045 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 --- .../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 63d150b216c5..53cb05e94433 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