Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp368820lqi; Wed, 6 Mar 2024 22:21:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWS+lLasUVv6vA/W5HJM/wtFi5tSL//1APRNdMmmQLlaqjiqQNfVnnfJKf+jCjOafYRwZCwXrY1mLzXzqNJ7CZ70oe/fXhYmZl5PCuJMA== X-Google-Smtp-Source: AGHT+IEU+Vsci1LKGivtuB3iIhDKcF+HTdSREsT9dNOWUCIx4++Rt/BqHG80vZkzxNl33Lmdrosa X-Received: by 2002:a17:90a:4894:b0:29b:331e:ec47 with SMTP id b20-20020a17090a489400b0029b331eec47mr12295929pjh.27.1709792510879; Wed, 06 Mar 2024 22:21:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709792510; cv=pass; d=google.com; s=arc-20160816; b=Lq2AhPjuBKdThek5mDO6n63hpcwPzuNUyYp4ESyUD+cgUkQJY5hrorOFGzvUX+XrUx M0RKIHK/brR2TdvNrxGHqcUjx6fINA4ZiHT0EVD2+kTWmEG3pSdpZuPHIK617mqzdwan Ovbc0nBAymQq5ZoeCtsYwj/e0Ws0yROLaAOyTSi8hXdRkNI8i6LgK+g7dTU5jDrNbu5t XMLRC1amI5saor16GR6v1QnTsnlBB0J+HnxasPreWE9vlkmt/aK3d/3V0lHvoSwj5LrX 4FATNUnC93W3CB7BB39DAVLJrE7YwLjoFQJ2kBF9/sJ9IhRGvBeq6vHnJVtozKye/LX0 5A3A== 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=Jh7LJPtX8sh+l/GamBSdN8eW6DrgVzRQ8J5c8odtMNA=; fh=4/0ifhPahKNFI/zaFW+v9IgR2gjerOrunjt1gpeALuE=; b=mrmuYOI0CXyjMNoxB1Tv4O4VzrOoIhHDMPTrhjqxPJT6n4WQzLEvY85JQxq5SoA2R/ MLHUaYYVV1kn+6nwvMWIwnC4KASVO8J87S9a+xo/LJzE56rEiAfNx6DJZqgfSXHtBl2c NT0BWKZZmcOJvBxLVIMUXh++1qf1tu+vHE6/l79QB4Gw5JKumdsS3zKFCOdnZySESpyj c6TGulaIsmnlIhCM6/ycyZy1A2ueAoqIY/CwJh7R5GRZ8pcQCXtFnMzJ1dLIovtvJaf2 sfZxP0TvOadxLl1TlukOcxexN1/9LjTf6ZHxZPm3ceSb/t1GELlPMKWCMi4q2rAu+jsQ 0C7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DkweYu76; 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-95003-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95003-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. [139.178.88.99]) by mx.google.com with ESMTPS id h24-20020a17090aa89800b0029b877e1b02si1030812pjq.140.2024.03.06.22.21.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 22:21:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95003-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DkweYu76; 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-95003-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95003-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 8B7E0287D1C for ; Thu, 7 Mar 2024 06:21:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C05731CF80; Thu, 7 Mar 2024 06:21:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="DkweYu76" 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 60C351CABF; Thu, 7 Mar 2024 06:21:21 +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=1709792484; cv=none; b=mkRxWl46XaKehc1ZwctUL0Ssnwwl15xUG1URyPV0sIyPOo4I2IsRRo8HbW4BMtcEmlUp23taefpiZa7/qZQpq3nUqtgWMWKRYe2Z4UwVFPYO6wO6ybHQB7hnF6wj1+oho4gDyx5jwqMIJ0qsy0NooKwJPG5QVHbKHjntu8ttrO0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709792484; c=relaxed/simple; bh=+FHTzMPvcBFqv6hXNbrLYRqf9gzczSAiwGKhskbBq4g=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hEc6JS0j1IwDNUpUTqpUd98N3Ur8k0VpRQG3Bfn1C6AbBESPXM54AbMyxEY0yvkO5zoXyiyUcyXeCAd+/BJgV6AJAv2yCxQ1zy0Kfv0AcKC4YYFAURo0nekarIJzKvPlDW66vF3kfJ+01vLL+nJlEOzpIdABlPo7LpPUzsSN4j0= 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=DkweYu76; 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 (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4275ElNQ032508; Thu, 7 Mar 2024 06:21:16 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=Jh7LJPtX8sh+l/GamBSdN8eW6DrgVzRQ8J5c8odtMNA=; b=Dk weYu76tEHikNi5dhJPbgxjWmK9oiPdNxXvs/cUPTKUTVSGxInss4VTZBqbF89ISO 0aA/bZeQxI9iKckL2PDYYBhRx8rCYvEAm7YShJGMX6LUP0Lv+A5UlBNd6nEhBxTn nEN5wggIypy2Axof4AKJTQ/YPqZjgWVm7sk0w3fkYzGEy5fZRcGxQqEaMYOaLHNC 7moz2lFktj+duPKtJ1vaxfdaWx8ovVVA/eujEZVUNyC9Roh+C81MKd3KZ4f5ug9x 85gIV1d8fhMMwKdYkm+6k4MmR5Drl3fx9gipqk0Jn8FVCHoXTs7ZfTeEQvl6CPLw 6rzzQ9WgV/syoa6ERoRQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wq78p84f7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 07 Mar 2024 06:21:16 +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 4276LEg6005099 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 7 Mar 2024 06:21:14 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:09 -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 1/9] dt-bindings: usb: Add bindings for multiport properties on DWC3 controller Date: Thu, 7 Mar 2024 11:50:44 +0530 Message-ID: <20240307062052.2319851-2-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: Od8mTcNYMvocFoHuLGn_hnglimgrmnDO X-Proofpoint-ORIG-GUID: Od8mTcNYMvocFoHuLGn_hnglimgrmnDO 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 lowpriorityscore=0 mlxlogscore=999 impostorscore=0 malwarescore=0 phishscore=0 bulkscore=0 adultscore=0 priorityscore=1501 spamscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403070044 Add bindings to indicate properties required to support multiport on Synopsys DWC3 controller. Signed-off-by: Krishna Kurapati Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../devicetree/bindings/usb/snps,dwc3.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index 8f5d250070c7..9227e200bcab 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -85,15 +85,16 @@ properties: phys: minItems: 1 - maxItems: 2 + maxItems: 8 phy-names: minItems: 1 - maxItems: 2 - items: - enum: - - usb2-phy - - usb3-phy + maxItems: 8 + oneOf: + - items: + enum: [ usb2-phy, usb3-phy ] + - items: + pattern: "^usb[23]-[0-3]$" power-domains: description: -- 2.34.1