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=1796199398; b=0ZEoz9AM0fSMdqxgs0qCEQHyeYs8Vx4bGqikw/Hyqi970V/ROgQ0X/mgO66FzSPpsTOn aTGNNFgSWJBPDukgWim1qb74q3u05iI++cCZGW+FCfZBH5SeGk01YfDmOv5JVlKJt50tB UR70Cpu0vJDKGcSxVciU0O+YM+APkq9ty8XJ9tvTzbu9UXbp8RtsHaQ16b3bPuy5ess5I N7pNuvrZdkifPgwrZVRgXuYaqeMu4zFhutuNwcFud0ynHsny+IjYOfLtQ59eKOaRpfZxW ZW2TgJsQSlnpcmmRb5e+m9+Dv8R8tkNSoXe9kZKwoSP2CwvQAcBRpokYDAkWKgh7shA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796199398; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: 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-Authority-Analysis:X-Proofpoint-Spam-Info: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-ORIG-GUID: X-Proofpoint-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=LfJD0oajEDAnJh5soyjRRMd6pPloYI0Cze7imPmxpqk=; b=AkK0vdHw6LQvUZT9IHXdm9baiyUug+7Nvr/97cQ0jiAwNLF7EtZrEdj6iQOoi318Twxp cRhZE2cUo6tHwqJF7WNoG2NKl39BtI53RwVIhMYHPJHVdHRtDwO9tRPLMcJqjWsgsi4sw /IBKXzj7OEd/LcHYcVCSZnkI0uxe+TFUnoGPcBlnj3lk5YI37lxXSPiM77KDRBdD2TpiM MBCKo6cywqcjVZbE9acVKqVStiePZdJfuWWQVk6C+IgYLWERISrvVLaywAcd30K5pNiVH odHvsjoGCpU3sHAEZQtramC5EX9h5JNnFoCkltsIXDoO2udzq/eh9PEqlV4FR6DLbgg== 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="oZZIx0S/"; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b="X+AFl/1D"; 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 E1983606A31A for ; Wed, 2 Dec 2026 08:16:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E1983606A31A 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=oZZIx0S/; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=X+AFl/1D 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 6B26p6qq2382949 for ; Wed, 2 Dec 2026 08:16:37 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= LfJD0oajEDAnJh5soyjRRMd6pPloYI0Cze7imPmxpqk=; b=oZZIx0S//4pkvtSd ioPWw5zZrDtgAoWtpAtLsLfb5VgTHxvR67RQEtV93IZmsg7AYznm9zjHY6xVOmx/ /MhdzVe4eN+Sfs7RbNtPm/WusLyyvO4ab379voqKl2SKtv8n9MuG+T9bAn77spPl lNF5n7lBhoeumB23HLD8fBzMvpEUe1n2YfYgsmeP4KFvJnorSiz89NejoZB/Nbfg mrvsERszbfefCBbPzBGxZirykNFCnk1D08n/ykG7WU107jRJOGemL/RbfPmrD0Yj c2bocLZQgUKkIYgaJFjbm0W/ExCvmPV5cyia+XNXjefQ/ThwZuYI/aGzQU7PpxUd MLISNw== Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ja5p9j9ba-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 02 Dec 2026 08:16:36 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-cdb8b260bb4so7376334a12.2 for ; Wed, 02 Dec 2026 00:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796199396; x=1796804196; 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=LfJD0oajEDAnJh5soyjRRMd6pPloYI0Cze7imPmxpqk=; b=X+AFl/1DJAHO+/g0zkkpHtCHt7d/M2N/NPIBI5MWXD7qTfXkbD5tLT3694Os5w0kYV IetHbLnw7loxNezz3FkozjBVaAsEgJmElphc1C8dK5vPI4vSaUUEhXlDP2auOEacLWdf 6DWUA/VDd4LE/EY6GAHBbpQjisOE/UHYNJb9iNLtH5n+FYFqYRyCd9I0cR5SKXTN/Ohg sAgna6I5bgv9VtPEBfqyqAXqu+bkbqKdyzCYLJ8LZX/6+aKVGLGyda7GsgUz5eD6QVDX 1WeERshv5uwHQ+V8AzsWw57Q4E1WcL+xgSg9LZbFo4m+eqMqqRPfG0roc7rYNYftoNMG i8fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796199396; x=1796804196; 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=LfJD0oajEDAnJh5soyjRRMd6pPloYI0Cze7imPmxpqk=; b=kVpwiIxh5QofFb4iIg0KDxlaTTFVWTIBPAeaWPnq52tLDCTTcq8U/kf9uB6jp7Wx/4 zpsmtFQRQ+0t+P6mbwlvX2sITQL7w9y7vTuWmnP+i7ht2r3X71/xgkozp0KGcl78ze+H V3DHFpRGbHWWte25nfHC9MbUdeRtIbgqxKryT/6Zp1GwKCBkIPauyZUJzzRVqNuEfbrq piLufc1UtpEpSEHvgZBFdKDh6Sy3gTXmvGq5yzEkcJoaTJ5ajzipSSWAnM9Fod2QVWIo WCXlySprfg5oSqehR+D80EXECK288AwYDwA/gq19uVACcj8jmsTX9fk/qN5i9sTufKsP tSjA== X-Forwarded-Encrypted: i=1; AL+hErFJsNsqzqiHf2NwwHHbQ635AyH4jn6l8XVSTynMgct3VqzCXBV+6wX+Rc9CMW0uVo7QPpqJxxc0Yto4wRo=@vger.kernel.org X-Gm-Message-State: APuU4Z8RDdgI7Q5Y9yA8WIEwgmpbBtP94kwBMQuMEF4pXfXxubXwZrSk N7R8IYnAWbZFElzM8rACUlrZf4H4i036qfBIvBktN+qzgzBzYv/Ms2LtzYN6WoBse400a3xGB42 XP80WdSIgBoxxyyhJAipmfFi4L81v3Y7IP4AlkvdK8gkOsXzZWCDNIfMHNZYIeXyVeFA= X-Gm-Gg: AZFdTZfNyiR4PrckZeyaZn41jM9Oy0p/G2sTYTmp0yxIx7xGHOK6xTUwNRGN5QBJBL9 HB9lhc67X2K5U2PeiVGvLJEssCvFieLwDb+Ridcp/WVjikUo0hBJ69YyZSQqU1EbcMfPOW6pfec A92e8B4R5gWKGWaA/lIb6KPAXtKgXyykW3OMbZPAnkpTkhZItBnRLbjAZg1/suF2Zvwjb/2V4mA wdPC8SrGPOpxIwi8x3TKiB/PT4QF2UkasBRKbTo7VtinfRJCfhtbZd1qcmekSG09RbzdhEpDC3t NOoN+yYgLLWdVT04y17YVlujHilVW/23gxlm8P++ie2HAihHtyR8OFd0PAnVIBr4NSgCL/Ax9LP dEvwDYVoFbd3kEfIoe3hjK3zia9qQw+HCISymrKeAXy7uEYX7c2w982NlYcvE8JyzAdXSr7pLd9 yQ X-Received: by 2002:a17:90b:5109:b0:39e:21a7:5df5 with SMTP id 98e67ed59e1d1-3b41c92ca38mr39909849a91.24.1796199396054; Wed, 02 Dec 2026 00:16:36 -0800 (PST) X-Received: by 2002:a17:90b:5109:b0:39e:21a7:5df5 with SMTP id 98e67ed59e1d1-3b41c92ca38mr39909815a91.24.1796199395474; Wed, 02 Dec 2026 00:16:35 -0800 (PST) Received: from [10.206.111.19] ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b44b2156c2sm28243911a91.0.2026.12.02.00.16.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 00:16:34 -0800 (PST) Message-ID: <33439a55-abad-4a5f-9f7b-2611794cefe4@oss.qualcomm.com> Date: Wed, 2 Dec 2026 13:46:28 +0530 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 v4 1/5] dt-bindings: phy: qcom: Add common qcom,csi2-phy To: Anusha Arun Nandi , Bryan O'Donoghue Cc: Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , gjorgji.rosikopulos@oss.qualcomm.com, hariram.purushothaman@oss.qualcomm.com, akapatra@quicinc.com, jigarkumar.zala@oss.qualcomm.com, linux-phy@lists.infradead.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Vijay Kumar Tumati , Vikram Sharma , tjose@qti.qualcomm.com, Suresh Vankadara References: <20261201210207.1049452-1-anusha.nandi@oss.qualcomm.com> <20261201210207.1049452-2-anusha.nandi@oss.qualcomm.com> Content-Language: en-US From: Nihal Kumar Gupta In-Reply-To: <20261201210207.1049452-2-anusha.nandi@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=Ft6QbGrq c=1 sm=1 tr=0 ts=6b0fd3e4 cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=gEfo2CItAAAA:8 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=jZuBzZoff2WVu5hqOnwA:9 a=QEXdDO2ut3YA:10 a=_Vgx9l1VpLgwpw_dHYaR:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDAzMiBTYWx0ZWRfX8gPcyCuwbqzW 5WW8zNB1/QiixAqZTo0GCeU/iEfqmbmWIJJP4HYPdf0SJOvvXsHA+PyRwXcEKaelYX6najbXp0O ypTClIPpcHsyoot/SfMa0UC0bdtE3gg= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDAzMiBTYWx0ZWRfX7Z5JMYhplSE3 4k2FzRek8/FbkgkhRHaPwIj1l1XfjnG4sZR3UW3aRUWJMnsUl1rwvRgWh3iZsNLrwg9miAaymhw DCDkSnyL5Mcg3970vaB5ZQ68ptkl2ZGEHmXQdVON1r+OWubYAbObKY3tu5A97XqSrnJcpDRbHhn 6yufTeZy5n5CI8FbEujD++rOFsKQfqsx02jQLR1jTlT30rC/uiaRq8+r4tIV9e4AHOF1TdZH5MZ RmhwaS6rC5KP9zus6uM8BAiV2p0R4Swl1slbgrUjbDDpuHv0/kdVSTb/Q4FnbnxajNDVEWqMLK/ WkwdfGz0sf9FJpihAQCiiurhpsfqLk/QWDTcmL5nHKqcQyYQ4xk18NQQHG+hg9XkvP4n+C0y39P TAgvd2r8LfoaI5ueVthdBadK4iMshZz7OB411n+nC59Wc6qy+U6Z8zwXYBFrMJdCpFAp5YackF4 bd/NiBxfUxqOtJIRjsw== X-Proofpoint-ORIG-GUID: DvGuW8bq6NuUPr332pTZX4YKNAld0nJ1 X-Proofpoint-GUID: DvGuW8bq6NuUPr332pTZX4YKNAld0nJ1 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-02_02,2026-12-01_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 phishscore=0 malwarescore=0 adultscore=0 suspectscore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 clxscore=1015 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612020032 On 02-12-2026 02:32, Anusha Arun Nandi wrote: > SA8775P, QCS8300 and SC7280 CSI2 PHYs are bit-for-bit identical in > devicetree shape (ports, bus-type, data-lanes, operating-points-v2, > clocks, single "top" power-domain, vdda-hs/vdda-lp supplies). > > Describe all three with a single qcom,csi2-phy.yaml and a compatible > oneOf, rather than one standalone schema per SoC. QCS8300 is further > required to be paired with a qcom,sa8775p-csi2-phy fallback > compatible. This lets the driver bind QCS8300 nodes via its > qcom,sa8775p-csi2-phy match entry rather than carrying a duplicate. > > qcom,x1e80100-csi2-phy.yaml is a separate PHY with a different shape > (3 clocks, 3 power-domains, different supply names, DPHY split-mode > support) and is left untouched, but port@0's DPHY split-mode > definition (two endpoints, lane-count constraint) is cloned into this > schema rather than dropped, since this PHY supports the same split > mode. > > The supply names are vdda-hs/vdda-lp rather than the hardware's own > power-rail names, since those names aren't guaranteed to stay > consistent across future platforms using this binding. > > Co-developed-by: Jigarkumar Zala > Signed-off-by: Jigarkumar Zala > Signed-off-by: Anusha Arun Nandi > --- > .../bindings/phy/qcom,csi2-phy.yaml | 201 ++++++++++++++++++ > 1 file changed, 201 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/qcom,csi2-phy.yaml > > diff --git a/Documentation/devicetree/bindings/phy/qcom,csi2-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,csi2-phy.yaml > new file mode 100644 > index 000000000000..44791802a3ed > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/qcom,csi2-phy.yaml > @@ -0,0 +1,201 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +# Copyright (c) 2026 Qualcomm Innovation Center, Inc. All rights reserved. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/phy/qcom,csi2-phy.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm CSI2 PHY > + > +maintainers: > + - Anusha Arun Nandi > + > +description: > + Qualcomm MIPI CSI2 D-PHY. Connects MIPI CSI2 sensors to Qualcomm's Camera > + CSI Decoder. > + > +properties: > + compatible: > + oneOf: > + - enum: > + - qcom,sa8775p-csi2-phy > + - qcom,sc7280-csi2-phy > + - items: > + - enum: > + - qcom,qcs8300-csi2-phy > + - const: qcom,sa8775p-csi2-phy > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 2 > + > + clock-names: > + items: > + - const: core > + - const: timer We already discussed this in the CSI2 PHY v8 thread: https://lore.kernel.org/all/1433c48a-5df4-40a7-80ab-348caea588cd@oss.qualcomm.com/ Since the PHY is modeled as an independently probed device, it cannot rely on CAMSS to keep the top/register bus path enabled. The AHB clock is needed for register access/configuration, while the core/timer clocks are for PHY operation and timing. So adding the AHB dependency is reasonable. > + > + interrupts: > + maxItems: 1 > + > + operating-points-v2: true > + > + opp-table: > + type: object > + > + power-domains: > + items: > + - description: Titan Top GDSC - Titan ISP Block, Global Distributed Switch Controller. > + > + power-domain-names: > + items: > + - const: top > + I checked: Lemans has both MXC and MMCX rails. > + vdda-hs-supply: > + description: Phandle to PHY supply. > + > + vdda-lp-supply: > + description: Phandle to PLL supply. ... -- Regards, Nihal Kumar Gupta