Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp913194lqh; Fri, 29 Mar 2024 00:20:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQrslSn3P/NeS0cB0jLO3hhLdr6MZnCi97W+7u0gvKzeOFh8Me+Kw680tUecDqeDfzec9B9oqBe7I8yJsmwXAMgSNn02AJDFXO+0liCw== X-Google-Smtp-Source: AGHT+IEc5fn+x0iHPIiU5L9nj1wBEHu1HVoFV4EQLB/catoExtU9E+dARE0WgzS1kda0tJprU9qJ X-Received: by 2002:a05:6a00:2354:b0:6ea:7f6e:f451 with SMTP id j20-20020a056a00235400b006ea7f6ef451mr1620532pfj.1.1711696852187; Fri, 29 Mar 2024 00:20:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711696852; cv=pass; d=google.com; s=arc-20160816; b=BLPm0XI9Mi3Qc9c3CeidcgpzB74JhhoGR0CI3zXV7TrhY+inChrriBuFbpNgd7mRs6 SiWxr2HHTApJs4vIjEUf9yBlujlovoYC7LokzVwzP7yWqsSZELrijFJ5XfW5QuW/ccDG 1KrJMqXei+xFZ4p0gPYyMxmPpKHfLJONpl2uzJLICZz+g7BkqgeaCDScnYjWayiajOfw ujujaiwp5ATVzPs4C/8CsFEQkXmmRVx+dkJzDFJ5pYUPXeywOfLisUliFyOpg1wZ3sAI KQ0WqTeunYO6tf/d1t27H9X8qgxyH+qBz4qRi8tng/Gj5gcEbbfQKGnDAQDqr61KflBa E4+g== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=3rUcGkPkSK5xD+ct0f6cwMGcLbiakbm2DQyntW9fjKI=; fh=wmurSHHisf2wzJHQeJYVz3Qvyu+GfFBGnlBsCPJ4p9Q=; b=t7yZ0fn6q5cfqnJyO07LVnpR9+DTdih+WfuvlsYMJ/jhtjzVE6hQB/5v8/XkYNXE+G h+qRJaorSi1xHAgXtmhQ8ZBspOS2+ru40vZOTsuIrJF9EgMNsgqJYjoRcJjewPHZayhu +v+gb+mG62vnORiNpgo145wxSMULeFHyqu5tekKB1UNULWnhziU0RlMonA0CYq/1nCbA LtNR1EkzFv5chGz9EQfhoD0Fk8/DS2xW0h7wOu7GxeiPgY9wPLwtN1JTAXng/2OZAbnv zqWpB2TS5pLwf+x2l4fFL+Pvd+TfhEuo0w4rvWViYf/Ym3Ecj9O6vem92UcuiSNGRSj1 aTNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Qdb8I3mt; 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-124224-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124224-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 ct13-20020a056a000f8d00b006e8985a0f24si2706440pfb.202.2024.03.29.00.20.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 00:20:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124224-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=Qdb8I3mt; 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-124224-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124224-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 CB0D2286E4C for ; Fri, 29 Mar 2024 07:20:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F5F34086F; 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="Qdb8I3mt" 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 1866739FD8; Fri, 29 Mar 2024 07:20:35 +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=1711696837; cv=none; b=XOqw0K2OviNyHkNYBtrHWr+MCGYWSIUcyzKQ9NJYfENUz1YS08W2xfA2sAfxP99OhWSd/mqL8vkrmPK3GHFa0wzcgSgAcijF+DeW49gISQxGMlLrTssx6sB4eBvPGT7Q8DWlxqSrMYYrrFk13tSYrjFeEDB+1ddWrQkykR1LsuI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711696837; c=relaxed/simple; bh=vzmPmJeJUxq5/BxD3bs1AX/uEs3Ldk2UfdR7q7RIaqM=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=gJ0L6OXSRrHsABe8tvIdE2J4KunnnQ+lWn6FVOCc2HWeVoLmPNb0PuRnfz9kC5AO8Of+X7RiqNRemt9ljy7TkhZ8l5km9FgRNIFjwImOSQJRVs2A92ozkIjgAIVcrGSNzFwi4EsLJ52GiwhF2T+ydCTJWHVj/hsvFxP+Pm20Ua8= 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=Qdb8I3mt; 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 42T1xp1V019589; Fri, 29 Mar 2024 07:20:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=qcppdkim1; bh=3rUcGkP kSK5xD+ct0f6cwMGcLbiakbm2DQyntW9fjKI=; b=Qdb8I3mtxP427P+750jSECI SnbnwLwBSBtT8wWxwQK0h0uYVa04TuXEN4cfWqXEwIp+Vj52nH+sc1YVr6TK0Vmq h077NuOTEsb/WLYwKPbMCu1yXcQzCyZTUrhWgUm8LjJxCEz72Wr8feFtRGruTszP WP9PvDiGC3LgR/JTNnKrIc1splGW0O+lFOPbrYmI7lo2yVgd57KjPM/OgSPJkL6V ah36JrrI3LUoyKqjTyDlFH/IelkBPU/yX9a04mk0SLsbrR4Lc6g94rQBnQ3dhZw8 8tPbnL1ZpRNwN/TRUb7yLLV5Sf5jM6H07qLEvYsoKlaZUH4Xt6SPN3AZgwMxe8Q= = Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x5fs895pq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Mar 2024 07:20:04 +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 42T7K3jK018851 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Mar 2024 07:20:03 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:19:58 -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 0/2] Add gpio-usb-c-connector compatible Date: Fri, 29 Mar 2024 12:49:46 +0530 Message-ID: <20240329071948.3101882-1-quic_kriskura@quicinc.com> X-Mailer: git-send-email 2.34.1 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: BtrgVd0-GHri3_cLMixRc9KjVDQY6PPq X-Proofpoint-ORIG-GUID: BtrgVd0-GHri3_cLMixRc9KjVDQY6PPq 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=408 spamscore=0 suspectscore=0 mlxscore=0 adultscore=0 malwarescore=0 impostorscore=0 clxscore=1011 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. Thanks to Dmitry Baryshkov for pointing it out [2]. This series intends to add that compatible in driver and bindings so that it can be used in QDU1000 IDP DT. [1]: https://lore.kernel.org/all/20240319091020.15137-3-quic_kbajaj@quicinc.com/ [2]: https://lore.kernel.org/all/CAA8EJprXPvji8TgZu1idH7y4GtHtD4VmQABFBcRt-9BQaCberg@mail.gmail.com/ Krishna Kurapati (2): dt-bindings: connector: Add gpio-usb-c-connector compatible usb: common: usb-conn-gpio: Update ID table to add usb-c connector Documentation/devicetree/bindings/connector/usb-connector.yaml | 3 +++ drivers/usb/common/usb-conn-gpio.c | 1 + 2 files changed, 4 insertions(+) -- 2.34.1