From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796300620; b=K6Now+mEHHYJTFHt97sn89jnlgxVoOhY8pc3+XIDECxT19imif3Me62UcGHloQck1wO4 z/4hXVjTtt4H+ys8r3ijhVNQk3KNr5ZeANEU24lYCqKxGtmx9O4A2tYfbAjjbc+NcR4kH ekTYTJ7HAcfItqD5kJe9GlUhmuP6JulJ1ZI7WqyhBT3aofrcFtOKG+w1BB72kFHocMx+j J26OZ9Skyuu1n+C/GmbzE6xk2tpeVYO5reRHpxIWdqHcmYC6tdJmwPJ3IIcB5h2gn9toa vAXgzdduJCc+Pgak+3NZiyAN5enTw9mXVCdNQdUlQkYaKorym+qtSgmBkPLtrX6autQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796300620; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg: X-Received:X-Received:Received:Message-ID:Date:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-Spam-Info:X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID: X-Authority-Analysis:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=3bOAASAM8dpBIe2oear/AD58v/Z09FyIOBrFjR1hp0Y=; b=Z58iw+ADtxE/ft548PNoVKv+ZDo2uP1MQji77ff6UlTP43wNDvU5BKCMN3Zn3Mg1jyg8 4mKnT/5r1I5xZC4VOWgewvNwIgrlaKnh+t3Za/IfbffWqqQ3C1LRea9FS05ZZAk4Vuer1 KB9k2lZt9hkfOas009938mEI6oumpp1nRfcjen9O6bawdMr+5seGCdS0mnibYKmHDN8WL a2veESCHotjnfxivMmA+jLxPjx6JJy62U1G7LWeTZAG46dyQVBny0VMb/APHMXZ1hnU8L Fqv5RJ/ifke/B9W9hkFsaq7uha/Bt/5ChjjHQvOBusuwFMJZVGGidk9pcVd5R2vrMyA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=IjlunB6C; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=bmYSPUiw; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8277606A333 for ; Thu, 3 Dec 2026 12:23:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A8277606A333 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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.a=rsa-sha256 header.s=qcppdkim1 header.b=IjlunB6C; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=bmYSPUiw Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B3AG7QZ1873640 for ; Thu, 3 Dec 2026 12:23:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 3bOAASAM8dpBIe2oear/AD58v/Z09FyIOBrFjR1hp0Y=; b=IjlunB6CgYL88ds4 qGnEICXuN01l7X05gua5vMAB/48H882qz9HlBAseczjInyYs5ITgAtw/IhLUy2iS JkytkiJ/3X1Hn+7aUXTOzK2sB72lEH9Txdytv4ROef/3VxBrgG3qChVX/jn8PI5y n0tbd1dWcANjBI1DT+yX9yvfbQBgkoe5VXRnLUVmpTJtvGhkvBmUEYggi8BEMF5C EPYeieYHIkKOsDdeCsWckryd8HfUqjoRx+aCs53iEKZJYu4tGKbz1ilRbSRKTh+B IswKLo5R5rN4mVNav4NZL6sQVra6vfvqNw+sXnQFquGRU/FASqzEZt5x9R46gWwC 3e0/qQ== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jb3f29dt1-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 03 Dec 2026 12:23:39 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-53635fe2335so21613591cf.3 for ; Thu, 03 Dec 2026 04:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796300618; x=1796905418; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=3bOAASAM8dpBIe2oear/AD58v/Z09FyIOBrFjR1hp0Y=; b=bmYSPUiwKakF5qC4MUy2E92klhvMm5JZfHN39SRoIo6ZWZIHh8ctGYaJms1fWAbSqO 2gjoQwa3vYFrAcE793sC1CZijntb7XjleBAHaKzxOPlCSf2rBAXyyCBDiPuUSdh+XY8W G5kGFBCNK7k+Huupum8lBplkv5v5EPDJJ71dyj2ONlQisk9/UGsDhszviu/dnpRRlgQG jhYjOnN6ZERgIJMMlV4K+AbLGJKSirv4V4b2caTK1PyRJpllT/qEdkeRUeC8pQeL9/Oi ly3rkzN+LHt9HwbmFs2VhnBGK9Vwxryp16fTZMtSQA9c9eNKkjp/07yC/ECdk+vpCgFW KbZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796300618; x=1796905418; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=3bOAASAM8dpBIe2oear/AD58v/Z09FyIOBrFjR1hp0Y=; b=ow1B7ZomKY+T7YLc1clJ3ik+B9/yTy7CZCuXddhJ8FqLHqS/Ee83clDh30Gby+S5lp MWAXFVaLF4CVXsAnZIr9+STB1geVaP/zQA/6/mlZIFDYCXjxKuYQLFMsbIm4RCdJPEmO Cnhp/0841WQ4eMNt2YI25zEplDGKhwp/zHktMtmWXDs+VmFums84qZergJRJD0bHxeVH +D4XjPiNWT7Ebqk6G38hGxLP0j9NgTCCYEz25y9iLkrajUea/74+v3Wb6tIENt6syyXJ E+owddyxNSx1scjAoeNXEZQGKRGu7SFK0ozAXJcHI/T8Zw1Yaa1/+P2MYml5Uqc3wHNy VOBA== X-Gm-Message-State: APuU4Z/JhGb3wRejRVwNh4te6AHa3jfscMqLc58XKjedXLHqf3Bcr+Y1 /tGkOSayPfJueOcFWnUgyr158t+cUO3S3LfD9+Pg/B89VYRMX0Fknv9+MZoZwkgJgDT6RL8zq9h E5Kg0cClhvEtpQ+qld9frKHJYkVdO2l1q9ridgFjopqY7J8gk5ohsKnkGNH7UaIBy858= X-Gm-Gg: AZFdTZcvn4+l2rwW0K/x3kTa22b/8RWX41oVUXInNIfml0Hv4Jg9apknp5o9tDU3dq4 hvK7diBKyIzrXieWdFtLS3Q8/mZcIASr89diOFrUK7D0ZaHg7onNceuK+hEjGzp2gFo0Mej+Eje qbhCHo8e1YGrcf13Cz9bxkJBIclaoy9RSEeqnqyuh/nf+KqCrurdSgCyzLWsJ0wJp018K9XLl39 KEx2yHUN9/u/FYlIN6IS0oLL37qAgpfGKeulutppTqaprhiE2jEZgFNLL5LMD+HO6+alqHFCcRm sn1oGzA/doDbaF9Dd9l7Zbcgqa4sVe+aYTLu7on5hd1LSpBwF443/oojKf6J9wzpsGSBcu/fbks G8NNaWk+6EZVg1JLZkxMsMy4RFlI+8X7LkLn8txl6pzG5ROXk3Z/ZDqU6SX0nLP0az8Xq2g== X-Received: by 2002:a05:622a:e31a:10b0:536:61d4:cc80 with SMTP id d75a77b69052e-55e2ab58127mr17873551cf.5.1796300617758; Thu, 03 Dec 2026 04:23:37 -0800 (PST) X-Received: by 2002:a05:622a:e31a:10b0:536:61d4:cc80 with SMTP id d75a77b69052e-55e2ab58127mr17873141cf.5.1796300617196; Thu, 03 Dec 2026 04:23:37 -0800 (PST) Received: from [192.168.226.72] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6ba37109c58sm16885631a12.33.2026.12.03.04.23.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Dec 2026 04:23:36 -0800 (PST) Message-ID: <99e8624f-db2f-4782-b1cd-f5ffc2db5aab@oss.qualcomm.com> Date: Thu, 3 Dec 2026 13:23:32 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/2] arm64: dts: qcom: shikra: Add CYPD6129/CYPD6229 Type-C controller support To: Akash Kumar , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Rob Herring , Dmitry Baryshkov , Krzysztof Kozlowski , Conor Dooley Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org References: <20261126104201.1613183-1-akash.kumar@oss.qualcomm.com> <20261126104201.1613183-2-akash.kumar@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20261126104201.1613183-2-akash.kumar@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAzMDA0OSBTYWx0ZWRfX7I0SCta1G4vS gYM+pDEHEOu+kfgiwehfV6BqIpGhKYCUklLBemOIZndTc74r+6gNuNWstFLsbOTn7tVUHpPprjZ 26EdEo8t0Nl1NrXqGpvVn0qDXGk6czeg7D+hw1ttSwwwH0iX5ZdpDRHZoYwPNMWPSKttQ7erLpc 2u67MbdzHxlYO1VkjAW58DMqyY4log/FvVEFkM0o9DOIVsI2Jsp8kZ0GdejHOPeDUWfIgMov7VC MFnOkZcUJR6CtDClIV09QT9kYSbFEhkqQKV9LWfo4BkRmv7Bo7KQYuugMJdkajPV1HXcsWeMUBd wAbk2f7BcLpppZXngGzZ6T4KTHc/kSdT3tvQQ/5JGk8HE6X+TAzy+sHm8HVe65pOwyM/CpwOv+I ckI9wUfRGdBW1mlfUAHAj2Vcy8hW1ttv+b1Dl4b7ipWHBlRsD9qd43hXTOmKEexkejZVR3c5f2U iVHiU6vfxKl5HRQKfqA== X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAzMDA0OSBTYWx0ZWRfX2HTiFCi5a4dn MwOTXMH62xUo1ZkMmc7NBD+chy03o2AVX7Uq1Acx/eSnp6alvt/gFmvShZ4pCFmFXKAAciLRwSN KpHyOLhAJSLeP6k8jXpcAhvxADm4LNI= X-Proofpoint-ORIG-GUID: rdHA3wAg_6zrdpbcSGMB5BCqp3HhsCSE X-Proofpoint-GUID: rdHA3wAg_6zrdpbcSGMB5BCqp3HhsCSE X-Authority-Analysis: v=2.4 cv=QYPzLcbv c=1 sm=1 tr=0 ts=6b115f4b cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=6e8MmgHl7bhPx4PqbOAA:9 a=QEXdDO2ut3YA:10 a=a_PwQJl-kcHnX1M80qC6:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-03_03,2026-12-02_07,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 clxscore=1015 impostorscore=0 malwarescore=0 adultscore=0 bulkscore=0 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612030049 On 11/26/26 11:42 AM, Akash Kumar wrote: > Add the Cypress CYPD6129/CYPD6229 Type-C PD controllers used on the > Shikra CQM, CQS and IQS platforms, and wire up their connectors to > the corresponding USB controllers. > > CQM and CQS each expose a single USB-C port driven by a CYPD6129 on > I2C3, connected to the HS-only usb_2 controller. IQS exposes two > USB-C ports driven by a CYPD6229 (CYPD6129-compatible) on I2C3: the > first port is HS-only and connects to usb_2, while the second port > carries both the HS and SuperSpeed lanes and connects to usb_1 and > its QMP SS PHY. > > Both affected USB controllers are switched from the board-default > peripheral-only mode to OTG, so that the role-switch framework can > move them between host and device roles based on the data role the > PD controller negotiates. > > The PD controller's interrupt line is routed through a TLMM pin and > marked as a wakeup source, since Type-C attach/detach and role > events need to wake the SoC. On IQS, the 5V VBUS boost supply is > driven by a GPIO rather than a PMIC rail, so it is modeled as an > always-on regulator-fixed node, matching the existing boost-supply > pattern used elsewhere on Shikra/Purwa. It is left unconnected to ^^^^^ ??? [...] > +&usb_2 { > + dr_mode = "otg"; > +}; OTG is the default value for this property Konrad