From mboxrd@z Thu Jan 1 00:00:00 1970 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 46ECD3CA4B3 for ; Wed, 20 May 2026 09:39:15 +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=1779269959; cv=none; b=AR9fF6kmvSMZBptjLAj7NKbUmhtCBPgP9p+hrBJkGGG9ZZQKwFoynjPXO5OV1qFZ6qS/Ad87OLynKcbyeYzgtOhVz4fpjmqMf3mPvcrfPgxmVvQJJ5bvHNnBvhHKZxxEVeUP0rknwBthx7B1pIQHqXAKBX1cFiWjSGMYirSfkgE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779269959; c=relaxed/simple; bh=VjmAyLpFp8zNGqonBIRDshgs8RRJf85JKuuFbxk9I14=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bCNl+e/d5oZdhiA+xHHeuAUQCIcy7Z4mkVEXjlfYhPHQuDlmnOOLouEU1SbRcPMQn2c5k9B9rk53XYAIG7nOgCcA8EEiU9eCBUvyeATatPyiZECeItYqokOQIpj4YioyowmuJvxo8bmAULUIpFkuY7+rRnoTw8f4F7sl06Fg9vo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=nMC1nkYr; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=YLHOEWV9; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="nMC1nkYr"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="YLHOEWV9" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64K6r8gC341460 for ; Wed, 20 May 2026 09:39:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=X5eVfZamXwF MjVsIVsWPO8Qd/aPzlLSRxu14EJplPNY=; b=nMC1nkYrXJBKocqILePBzB53oUZ wcA7eyE1tL0jbKCN3DoUa3mlJFUST3Sv7bKzlNXILDrEjTD0rpAzILKn3pbjJteB dQVMBYVDepv1CP1Ro8hM3yG8YE3h0Vgv3CIFJsFRVopa1CnJv0oUnhrNLnrJl21j qxhqHClMRKXqvapL4Znzt/pPrdkxPuczBw2UReg/rWLCzqSUgVxnh8JF221py5Uw ZeOVs+zSV02f1acX82+s4k5q9pIvP62qC+fPF94m3HGS5UK5S8LxjWxuu+zJMIOV Y1fTN7fbSDibUoJYHjn/jlR5nrp5y1JeJToiPtdSjQ6+wKqCpxAWaBvUu5g== Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e8t3vc2fp-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 20 May 2026 09:39:14 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2b9fe2d6793so112368335ad.0 for ; Wed, 20 May 2026 02:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779269953; x=1779874753; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=X5eVfZamXwFMjVsIVsWPO8Qd/aPzlLSRxu14EJplPNY=; b=YLHOEWV985Ai8ypMhFJrx26x1e+Uos7b5UFdb1U5ZkSjgWnuKFA64duGbXo/tRin8M gI2lYTQcaDo/saVUtu6hCve0yBnmJ9fnTdj8Td0np3J3xPHvxUC0ZgQDAGdB2G58+B+F +GvHuvPiLySQOWZvpFZ88sD2pWWTZU+/+goQgn1ekD0YDxqhGHAnHFf35TfBxms3BPnp K6IEhNTC5FeSM+p3Ob6+MWGSV+si3ZptZMu578fW0WH+yNfqkU9vY0Epytn8XGyym76g oXSz9hG830xuhzKOgir3unjBXpOkg3zkROwDaY+4MAsaU8/su255ngTDdAHyTqBXx53u mB8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779269953; x=1779874753; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=X5eVfZamXwFMjVsIVsWPO8Qd/aPzlLSRxu14EJplPNY=; b=DvhTpMBtYQ6gkFnUfz4xgQC0+zhBIljr3LnPxNUmpgLDdg5f0I6FIQ55sv8lrzmD0/ C3uSVN3t+kjx2Jh4OovftAMbezwhwORN7DKCo3frf56Yo3TQ/3gMiKgU2s4iMXwvLiFq UrDLCozF9sf6Pt0ic2dc0Fbh1ghqGO7erFHYbJ4qbxbJsoNmVKK29UN0cQnlkkxEK9T6 pLL44eRgZONNd0HeiaHqZu1NyPAGa+jzhCBhC84mbiagrZ/W+dfoF3EZgJCK5B1xnpWi yffPny4JgJLtNIKxpNa3i6LNOqeOnbK4lvPhf6LLBvgAeuiADjjaSGa52g0ZxT7BgBm/ sDPQ== X-Forwarded-Encrypted: i=1; AFNElJ/aGpOiBXdXu684/dHnpqlGHWhgJIgledhkcLdT7mqIzeQLA7LprjN4jgOZLwQeAjvn88hjyPXcJj8RoF8=@vger.kernel.org X-Gm-Message-State: AOJu0YxsKCfheS0enKJLMT+sDRaL2tQRQ/c+7dunGr1kIHLz29Hwg713 DPR4Wp9rqR5eu9HXoLiDF0OjJKRV9YdDj0jt08D3Ui0yttqk/QToRGEQlOd/wIPQfyi8fBojtSw wa6hQ4Je2BB2qIbSHu89mIWwEF54TatJm9DEszjIbak9Ky9OQ3RdVwvB0wN4fPntaRpU= X-Gm-Gg: Acq92OEPdz9hCxl3pn/jRjxNzYhlbGORQzr/Wz5tH99J3gJdtY/iN2Eu+s4P9sBsTMt KK74erJdvO2N6QjwpWaMwx5RQRRz3zpCrjw0O0zMw6GqZB2MjnKbDttMCZlZaG5SREumhyeynzC H3LJfkkX306O2GoS6mS2oQjvt8O0+AcTl4VI0tmaJlzdpax3zUp9CK3/IG19OKNJHlr1rSOBst/ hc2MrI5h0DEG5pCP6MaMq8Z/dNC0Vl2SSUkONLX/5G2Oi/v0UAeR/TZ/AxJQGsyE7iNTIg8nVFN ISgVie+wVu+rXHdEkQEjR72OxlcwW8Dm1RdupkzPIx3stz6Agkq2Pp4+xiHkvLXo0vHo1TOeN4v 6ASUCd3oB0ES7nh33og7HQdrB8JUKXwGFgNplKyYjtVekF+Ic5w== X-Received: by 2002:a17:903:3d55:b0:2bc:dd58:3dc4 with SMTP id d9443c01a7336-2bd7e8bd185mr189331115ad.32.1779269953187; Wed, 20 May 2026 02:39:13 -0700 (PDT) X-Received: by 2002:a17:903:3d55:b0:2bc:dd58:3dc4 with SMTP id d9443c01a7336-2bd7e8bd185mr189330845ad.32.1779269952698; Wed, 20 May 2026 02:39:12 -0700 (PDT) Received: from hu-akakum-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2bd5cfe8baesm217052215ad.47.2026.05.20.02.39.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 May 2026 02:39:12 -0700 (PDT) From: Akash Kumar To: Greg Kroah-Hartman , Bjorn Andersson , Konrad Dybcio , Rob Herring , Dmitry Baryshkov , Krzysztof Kozlowski , Conor Dooley Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: usb: typec: Add Cypress CYPD6129 UCSI controller compatible Date: Wed, 20 May 2026 15:07:32 +0530 Message-ID: <20260520093902.2064730-2-akash.kumar@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260520093902.2064730-1-akash.kumar@oss.qualcomm.com> References: <20260520093902.2064730-1-akash.kumar@oss.qualcomm.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 X-Proofpoint-GUID: S2KK8mPSdzeQ4fcuSXw37eL7IYBLTYY0 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTIwMDA5MSBTYWx0ZWRfXznKCwck35ziD j+pKNGcB6aK9h77UWJMmVBPdMk6kZjmvWn9aS8d+zueS96R+/B74aJ53Q6GPC0aAdP8GgASnJ+5 IrAoVsbZUpwpAePSv3Oj5PqLGSQccP/jQ83IiGkOW9XG+cBFTENOAQMQoZJbdBWMlD6QkXt2qBr 31UllBHwbU1q8mZu2SrLUSCGqZD5KsIySkfoH4QosEZPsEWKfVRfHLCcOninelt1SPije/ukMmq jBlhUtYjaHlfZXsueUaHQDlbTXVgKKzcERs+3hpigjB/PSB+G/OiuD2ZzyuT3AzbgovLs3eINRD 6rs0jxPWPx9nvARErvXE/gRUtUrPGxHB5SzGL0BeenQQG2MHppZbVzb2GrrAR0KkbWiS/sP8Fii tyWkhf4gKw6Uh8bPE7ycvaKMc0iq54lHsYBOCww3wkahlYiO2W6HOo7QK/JfPJGSH7HKurxWdiB m5eSzTpTOfEFn8ocOkA== X-Authority-Analysis: v=2.4 cv=JuPBas4C c=1 sm=1 tr=0 ts=6a0d8142 cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=EUspDBNiAAAA:8 a=Rq4y0vzsd-bTeKJpaI0A:9 a=1OuFwYUASf3TG4hYMiVC:22 X-Proofpoint-ORIG-GUID: S2KK8mPSdzeQ4fcuSXw37eL7IYBLTYY0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-20_02,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 adultscore=0 clxscore=1015 phishscore=0 impostorscore=0 malwarescore=0 spamscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605200091 Document the "cypress,cypd6129" compatible string for the Cypress/Infineon EZ-PD CCGx UCSI controller. The CYPD6129 is compatible with the existing CCGx binding, so allow it as a valid compatible and permit the existing "cypress,cypd4226" fallback where appropriate. Signed-off-by: Akash Kumar --- .../bindings/usb/cypress,cypd4226.yaml | 73 ++++++++++++++----- 1 file changed, 55 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml index 0620d82508c1..90769c43ac95 100644 --- a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml +++ b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml @@ -15,7 +15,13 @@ description: properties: compatible: - const: cypress,cypd4226 + oneOf: + - enum: + - cypress,cypd6129 + - cypress,cypd4226 + - items: + - const: cypress,cypd6129 + - const: cypress,cypd4226 '#address-cells': const: 1 @@ -63,10 +69,42 @@ examples: - | #include i2c { - #address-cells = <1>; - #size-cells = <0>; + #address-cells = <1>; + #size-cells = <0>; + #interrupt-cells = <2>; + + typec@8 { + compatible = "cypress,cypd6129"; + reg = <0x08>; + interrupt-parent = <&node>; + interrupts = ; + firmware-name = "ccg_primary.cyacd2"; + #address-cells = <1>; + #size-cells = <0>; + + connector@0 { + compatible = "usb-c-connector"; + reg = <0>; + label = "USB-C"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; - typec@8 { + port@0 { + reg = <0>; + endpoint { + remote-endpoint = <&usb_role_switch0>; + }; + }; + }; + }; + }; + }; + + - | + typec@8 { compatible = "cypress,cypd4226"; reg = <0x08>; interrupts = <2 IRQ_TYPE_LEVEL_LOW>; @@ -74,20 +112,19 @@ examples: #address-cells = <1>; #size-cells = <0>; connector@0 { - compatible = "usb-c-connector"; - reg = <0>; - label = "USB-C"; - data-role = "dual"; - ports { - #address-cells = <1>; - #size-cells = <0>; - port@0 { - reg = <0>; - endpoint { - remote-endpoint = <&usb_role_switch0>; - }; + compatible = "usb-c-connector"; + reg = <0>; + label = "USB-C"; + data-role = "dual"; + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + endpoint { + remote-endpoint = <&usb_role_switch0>; + }; + }; }; - }; }; - }; }; -- 2.43.0