Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp56784lqe; Wed, 3 Apr 2024 22:14:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVaLv34/6d+W4DR5UIrnJ9Vs6RLdhVo3CBAdB8JpVVESvy2MbkmVZJpYrCRjkTgvifEr4idsTER4LObCR6KSAip9Pi1G6lRYg+OlYBj+w== X-Google-Smtp-Source: AGHT+IEoW5ATYZ0vUbszCsG+ybItFSPhLX73Zx3HrR6z6ATCVPKmFlcQPV51lcMUzJ8fs4WTarO3 X-Received: by 2002:a0c:f950:0:b0:699:358d:4e94 with SMTP id i16-20020a0cf950000000b00699358d4e94mr230474qvo.8.1712207685594; Wed, 03 Apr 2024 22:14:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712207685; cv=pass; d=google.com; s=arc-20160816; b=dcGcs6u+vJ9O3swtsh4ccuxrKZyMsCJW5wcGKzZfRRo3lN9A/qY9kzi43O2jsVPy62 69GD7Pyw6wKYBklMKLJ0lUyTVbRiuKfvTUrFLUDy0B4hqAyVDWX1rmQjfKX/ogNlulDL YFZCMSqQkJ3P3Sfpj/VjncxYZQCPEJ6jhoX6HhUe8Swi8v2APWqOlgKT69YVGhVK5yP6 iLjxuTAzCJqpwO4P6NieNqeZ9rSZlW+bvmYvBc6z09wBgpwtnppll22ddS1gKleyv9Bf zQxXtwe/4Bk3mlsWB8c1AL296G2EQ1wTqQxeyr9eMf5aP9B8CfmcjcRJtwjhkT05Kd/d i7jw== 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=W0bLzYRrE+LHyXpncvqrwGpz3ludYCkZTTGGwb7vMXfwNniEeCL1/yL0UKX1m+/OEG 3hGSJaME8XxbRU8FEx5pWWFbYdzoYgdsQhdGFLbyOaFFT/+Fyp53rTi0tnhtYCTpYXS+ +A6pX04Ru+SAl8Zz7/Y96qRZ56Q/xxerLjDGMHnHxxwMqm1Y7rByBMQcFilxN7/nHMQU xjUUR8t+m1+EJ9ZLNsYl9i/6Sx1vj4sNrMUhuMzjjbtlwSMushqq8ADATBOM/QdysVJk q+QGxlZhbpB2Zz8MgHzJs4181jPOiPptQXqWLYf0hYvqwSR1dmXy0oswRtxcbp9wBTzn vXWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=YWbk865c; 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-130904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130904-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w2-20020a05620a148200b0078825c54209si15843783qkj.465.2024.04.03.22.14.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 22:14:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=YWbk865c; 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-130904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130904-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 41DCE1C212CF for ; Thu, 4 Apr 2024 05:14:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5294C481A4; Thu, 4 Apr 2024 05:13:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="YWbk865c" 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 9360D548F1; Thu, 4 Apr 2024 05:13:22 +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=1712207604; cv=none; b=qh++XM6QyPW0NjSShwNEqUHlgUOOYV1Q4iqUEk8ulmn4Ks2JjOj80oiwZKNW/FXUKHIi4gNyJXjzSGpXYgcgZvedm4MHb7jeFNzSmdxw8gmaezkDV8gVhY8aTcTd9EFqNx5Ei4QQc4BeEFrg4kx1LfXQR3yeFtdQvTYy3QVWkp4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712207604; 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=VgxGLVu220PW92ianKYEiaBTsgcKFhFWH1Vsea1tCtsAMZNH0GmKFU686nwfZXRopcHZOUCuQyEY8Pw4YT7+jpapnsHUkVt11mDeS+ocgssSCtAvyJ8UKhvYbW1hCmLpJQpBiL+XtXwcziV4jMMrvEyW+NJ/4EV9fe+FTkkDuJs= 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=YWbk865c; 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 (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4343xg1E021566; Thu, 4 Apr 2024 05:13:18 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=YW bk865cpEgOdOVcF+VXm/6UIrfZaJX+JP36MNfcZ2oXRv9xpveR/PkA+5Xo6A3LX3 Po3RwPWRGMNU78kxOBuAfSdi2d69Fq3wDB3T4zRTsWbIcuxhuIp/yWCVq7uOzpWf Hgq8P4iUS4U2QR+jOZMV23FvMpG17STEHj7orYW5NcmXLtiXf4GSO6DpCPsJLqDU mZwSfCLPe2m36uOlVy+zft6a+btfwrHEmgmhEpuxlLZaPIPd1dOkYbC+bc/iMZau TGbUESNtUoM0h6pclLT6+dkJuvbwf5Nfrh28Cav6wrXNijlpFqR/TAE9QmY3F3cG Zlkq8GatYRZraTVYmhcg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x9eph8m6g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Apr 2024 05:13:17 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4345DGmu021808 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Apr 2024 05:13:16 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.4; Wed, 3 Apr 2024 22:13:10 -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 v19 5/9] dt-bindings: usb: qcom,dwc3: Add bindings for SC8280 Multiport Date: Thu, 4 Apr 2024 10:42:25 +0530 Message-ID: <20240404051229.3082902-6-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240404051229.3082902-1-quic_kriskura@quicinc.com> References: <20240404051229.3082902-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: rWAtQtethzPZQAG4BJUvvw8X4fepUpYX X-Proofpoint-ORIG-GUID: rWAtQtethzPZQAG4BJUvvw8X4fepUpYX 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-04-04_01,2024-04-03_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 spamscore=0 priorityscore=1501 mlxlogscore=999 adultscore=0 clxscore=1015 lowpriorityscore=0 phishscore=0 malwarescore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404040033 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