Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp913210lqh; Fri, 29 Mar 2024 00:20:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXRVMh1GsWnjWT2+k3fI/qf/ZeWs1JySNv4PHWMtKa43b1jsPRdcOfDSbf/U7OJAEsHfYytKqI3F0C6hDTvuHBu3ZvCns/CEQ7VZXJi3A== X-Google-Smtp-Source: AGHT+IHhsssEW+3fAt9Bey3gnH0iw/89UG37DWaFCXmK7hPjWo2EhprEG3c+2TV4Npftwp4nOYZS X-Received: by 2002:a05:6a20:6d9e:b0:1a3:c604:8486 with SMTP id gl30-20020a056a206d9e00b001a3c6048486mr1199190pzb.34.1711696855721; Fri, 29 Mar 2024 00:20:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711696855; cv=pass; d=google.com; s=arc-20160816; b=p54lTImCXIDkIPm9jyq+zblhn8bZRiC6sLdmtFDOx8Ba7qW22+KG+w8LkVKYEUj/pw 66Uu3jp3tb7OA6KJQiDgvCUJTI/y6J1002QMzG7y0bII9T/YG81mevD9MEgnmqum7Ro4 tGrSwpZ30vUgw8BPsypi6y/GpZCGUCcZT7Y3bhj5BH4CaNHHQ8gaATmcVxl8MCKytUhm XLMAVpwLpSt/35r3qcCmDrYl8sYMNziA/M2p47jnRrq7TGUtHaNza3AM1uTyFyV13bC9 E8xiNUoj5SLzKndy52gMTMgUiCd4MDNX1z0HHZcJDc6Jh1M3eNhkWBSpTgfAVFu3avdU 1EHQ== 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=47jeGuoYfhufc++Lr97xf5ISelMK9i89ElgWazRMeQA=; fh=wmurSHHisf2wzJHQeJYVz3Qvyu+GfFBGnlBsCPJ4p9Q=; b=qgV7UaI9ID+XylT6Yp3qfQtF0AHMo88xm6bSDK8nSRSba28ZNHusAt7g3hZoSBopfP 6ddTdJeGu0UD39zmkpZae+RRd9c8LTs5nLT+tBrGn5ydNTVKqFFGB7D16mg5zjZmD+bf 5/KoLdUwxRFf5Us9W7ukWDWCVTUKFH35LP1peIHzxzqzp6HKsdvvt5drgyYHvifZaUgW IuisupxD+spxD1pX2mQgM1HT/j+6piXdOUNZq4Qk2GOScUEIPhBm84hfs+81FV4CsHsk fUst5XtqYY8b+WPAduBm955u3UFCo8G74iTcC4Cm+ObzevsoARKYlKA9dIS3HPxbJH7/ NMvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Lyt32vQ6; 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-124225-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124225-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 i12-20020aa78b4c000000b006eacbf266desi3067244pfd.105.2024.03.29.00.20.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 00:20:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124225-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=Lyt32vQ6; 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-124225-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124225-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 3DE18286FE5 for ; Fri, 29 Mar 2024 07:20:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D694740BF2; Fri, 29 Mar 2024 07:20:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Lyt32vQ6" 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 8CBE23FB8C; Fri, 29 Mar 2024 07:20:36 +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=1711696838; cv=none; b=eYG8ZsJwUINVeGE2WwweqeE0mHy6yxMqr3ftFq3JUGSuqcfa4I4idN6YSW1lIfY//+kfMWqn3nmZV+gBzamWnQJVps5yg1NsS3Soqxl+Dwsa0Q9Q5vCstOk/768PwrafoHvvMsazgiAZtTyDeBm+qoboC4sVsxAT1BsCToy5qAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711696838; c=relaxed/simple; bh=UQ/uIjMw7GaphpwHt+3f7fxPqkuzXIkUELCfPBb4Jqw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=u3ezvPyOr6CRBCl4nogo4pxG18xhw5LmM9KdM7S9RSWcM/wAj0PCOYkicueoAeJGmDV1uRt9uay2BrCtW0Pt97fpbYvTGPSrNyT3SAHdIKThMfxBcuu7C3p4Rc7U6YKzdtxzEYWSyNxOjoprKGnudqJCQ1x8Te2L2Wc9dbgVCRE= 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=Lyt32vQ6; 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 42T5OHo3020680; Fri, 29 Mar 2024 07:20:11 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=47jeGuoYfhufc++Lr97xf5ISelMK9i89ElgWazRMeQA=; b=Ly t32vQ6nlw6/b4AqEhMVLq0KIWA4mQ7GLMfqLaOzmWVL8bmnHukRL4xKhEnidMHon BXgUfVlM2mubaodJU99sbbEjNm9K0vl98ZSxXqstpvSHY0qJlo1jLStNlwMZIHnP ngZEbAKRKiwD5NyQHFd+pKGIDtt5+BeekHSDq7CCmxiaSf1it20OyPtAZ2gryEyu 3CQ7tiFNt1FCKGcv43pMT2Ln4UmzFASInwMNlMHl5WGTaqea+UXWKT892KMGbHVt DTTkTxN4zEimvbKDUmPoKK7PnGDKP2/NmSTe6R05Ht4GPfshQKNgBtfQnQsQxgPp YCItWS2h9lwizrl8Jbng== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x5fs895px-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Mar 2024 07:20:11 +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 42T7KAAL017377 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Mar 2024 07:20:10 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; Fri, 29 Mar 2024 00:20:04 -0700 From: Krishna Kurapati To: Krzysztof Kozlowski , Rob Herring , Greg Kroah-Hartman , "Conor Dooley" , Dmitry Baryshkov , Miquel Raynal , Guenter Roeck , Bjorn Helgaas , Kyle Tso , Fabrice Gasnier , "Heikki Krogerus" , , AngeloGioacchino Del Regno CC: , , , , , Krishna Kurapati Subject: [RFC PATCH 1/2] dt-bindings: connector: Add gpio-usb-c-connector compatible Date: Fri, 29 Mar 2024 12:49:47 +0530 Message-ID: <20240329071948.3101882-2-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240329071948.3101882-1-quic_kriskura@quicinc.com> References: <20240329071948.3101882-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: nasanex01a.na.qualcomm.com (10.52.223.231) 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: rGzgeO5JSGRAafrXM23pPuHwc1wVJ0MX X-Proofpoint-ORIG-GUID: rGzgeO5JSGRAafrXM23pPuHwc1wVJ0MX 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-29_06,2024-03-28_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 phishscore=0 mlxlogscore=776 spamscore=0 suspectscore=0 mlxscore=0 adultscore=0 malwarescore=0 impostorscore=0 clxscore=1015 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403290061 QDU1000 IDP [1] has a Type-c connector and supports USB 3.0. However it relies on usb-conn-gpio driver to read the vbus and id gpio's and provide role switch. However the driver currently has only gpio-b-connector compatible present in ID table. Adding that in DT would mean that the device supports Type-B connector and not Type-c connector. Add gpio-usb-c-connector compatible to the driver to support such cases. [1]: https://lore.kernel.org/all/20240319091020.15137-3-quic_kbajaj@quicinc.com/ Signed-off-by: Krishna Kurapati --- Documentation/devicetree/bindings/connector/usb-connector.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml index fb216ce68bb3..2af27793c639 100644 --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml @@ -30,6 +30,9 @@ properties: - const: samsung,usb-connector-11pin - const: usb-b-connector + - items: + - const: gpio-usb-c-connector + reg: maxItems: 1 -- 2.34.1