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=1796273716; b=nBaCBLgv2Xd0acnD7rwiowWKeEGb/PIE89aXFK0WYNTeRdJMnTKoz2h+6UrPNy0lETgN OKHWB9/BMF4+Vrv2myPzE9TeFmNgSSDf9o1j7xseXVcAKDJItvxa4uzkk9mWmIyj6bcM4 g0s9I9PRARsKZIQoohXbk8X1tHshDF/GeX9sBrusVqjM2S9YswhXpENPkJ+T4pLLzZPcQ udaUzuSyXItWYPCOie/1NIwD4riedsaELApBTyl8cIbbycF6NALvMDisnB/BZtLFP+HHx 9SPUu/j/0648yUHpaxhkx6OPjo5JXuti1+/QsQ7atPlzrKmEQlv54fp9h1atTDiIFwg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796273716; 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-GUID: X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Info: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=4zEy9C6Mx/0jBjYBhVjXTUuLEmUsEQwrObsXrhRBBpQ=; b=ntRS6eic+ZDGZCZOOR6urQShcN3I2Kpbfn5v2JfGzLjsA691dfqC3LgR6b2N2WLagByd KfceAIrTNXvjYhds8mE4U2+13Jl/O3frdHqX07Tp0BIXoL4bq4+B7EHUhfZ8IF2w+ZB7+ iDz6TiZ1No+2nrovW9UlHL95Ustt0vndtT1bbjJb8gSF3Zombw0GtqbDy4xXFUikwQR9/ Jj8t0RXtExr/Eq45E/+Up39mCFn5kMQsyu+S1bHi7UjV8welI7T9jmy/1dPHvMbDcFc01 NzWl0AHr9wYavJCifqUbaQSjIU7OLt4SWpoF6XBFW+HXW29h48eh26S05PMXP3o3BGw== 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=ckM2noae; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b="Ihdmq/M9"; 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 39A75606A32D for ; Thu, 3 Dec 2026 04:55:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 39A75606A32D 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=ckM2noae; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Ihdmq/M9 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B335veC1713161 for ; Thu, 3 Dec 2026 04:55:14 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= 4zEy9C6Mx/0jBjYBhVjXTUuLEmUsEQwrObsXrhRBBpQ=; b=ckM2noaeMb8IO7kp RgpQTQfEijmHOapa2ssh1CzDx6IATvTvQ0bw89J9j9ppoCkqg/7d6qtva8iOYP4X dI5O6LUm3bJZ6j05XwY583Hnubms2hK9C/v4Oq/FibdSFIp1T7Z62ct3j/xFK6pT WbgC/O+aNXu1th13QlbohTO9Ni8FQExnazTl+K7JPiUaKHmRqBOf1qWElkTt42ra gKk24/brs6e7dAaPtIswL4i8kzZegO/OAb8uf8SSwxAj9VF6522JmN2YVR6uVosb VoqMPwa5euhkidGG9jX4fVnE3rbbrSY8BhR0DrUdDthnKr69PTKKDLF427DO3awQ wwRliA== Received: from mail-dy1-f197.google.com (mail-dy1-f197.google.com [74.125.82.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jahbx47tu-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 03 Dec 2026 04:55:14 +0000 (GMT) Received: by mail-dy1-f197.google.com with SMTP id 5a478bee46e88-3846d5f54c1so15178292eec.1 for ; Wed, 02 Dec 2026 20:55:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796273714; x=1796878514; 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=4zEy9C6Mx/0jBjYBhVjXTUuLEmUsEQwrObsXrhRBBpQ=; b=Ihdmq/M9HwMZ+bF/OIx6hsEZGy61/bEfHyWMlnMG470W1S+PIOVkiNuL/Xxt21R9l9 +uhzgE1pH1q5BSZAjykKPiHLj4rK3Q5CHrU46yfGYPkZ/lTIRexhhJCNMlP5gmjTOL7i m+DptDioM040uM1pxPH/csmv9OwnrZw5BQ2XiN6IfWw4JokBYBTjJSiiiu9PTAbTc1hi DcTCoH3+moT55JG31IxxuvBVXmSIQ8pIM++AvHRrW6X3wBkJxYEOUMp4tTERoSEBBgOG aSQPCRMk/vDIiK1OsrlXyd1Hq5/bWj3Pvp7zEdMuL5sHQ74wEhvrxIkIEv7VQ9xoaQf3 +eXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796273714; x=1796878514; 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=4zEy9C6Mx/0jBjYBhVjXTUuLEmUsEQwrObsXrhRBBpQ=; b=1ZjM42IN4HtoCAXesFLSFWCm+3C3y5pBI0vgJjCvyv97MlBwOj5L9xCh+ZUB2wqbi9 ZEbnmmCed51uzr9hp2IJrfN01BYtoDyP/ExbJqa1ovmKtdnJcL8SUuI/aniX6b3iFgVo 4z5r8uK7fJEEAzHsoCARihvw6/jxESomQIXfEcNyH6+z9brE7R8hpUPc/sJ76M+4/fpg hCuQXUn6N/BKRXxBIF9/ZNsP69jwuhBGcCx//iebe7s+WrPSz6JSk9x9/eoQO6/T4O/f zMtBowyvNNhaUWQLpFH6tRKWnVjanP6H5n5r5z00p6br5x6E7pNd5FYhqCxDl8V0I3bo JNWQ== X-Forwarded-Encrypted: i=1; AL+hErESDu0rmnRu1pNdaV/RJcvj46w7aMAC05gOSieE2YsyrDYZ9sJdHMnvNqwc9HSePEhgfymVJqi8ubBvt74=@vger.kernel.org X-Gm-Message-State: APuU4Z/RTt1l9GSwfFuI4usYJfthI4UllpIMxOv9DPkTaSThwzl8D96J tHnBMtHOUurQEOJ/xh/rnmacy/HPSdTZgABz3y1R0JCsg+1Dxoz34rPgBhCzccziouMs2/Ni04a HYURCbrxR87s60SW+1ULzMsiInePO3BYuTX0INHz1xaSqIzs3WGbfXsjxOxWX+c82+Og= X-Gm-Gg: AZFdTZf7IDHngellB2tPXJ+7UhqI7/Tx40JPUdq91LBeHeAZgrt6YFCqRx4Oz6O8Y9Y wagO8ApsETiLHJWmzTdY6RY6Ot+UbGXj8v8mjDBIb24cZ5WodMyIGDok+5svCS4AJsKII7CkLyk MTLaXRKjHJIQ0tHxnB9N3iDSXig5L/1mZ0t5WJ1zbBoiu7aOjRaWiTkF8e+XTvnl7H+NJYSl0z0 X7DGwHMJCdgk5Ap8qKdKIz6DWEI4IU8WeIj/ng5UbUjZ/bBLxKsrJ/qbd+JOSdUgsLrJDdpoS8Z Z2NXAUIvLFBIFlePrqODCywnu0gjTzJ2Uywps+V8T5QAB5OnhLNEqRqts/rj1ZrA16veTTszb9Y LXDmCASU8IdZeXMs3okw5czSTjLWZjIPcEh9ACJrOUEk0e5BZC4IeoY3S5oBH2D5YxZge3G27qc 8nwz/A X-Received: by 2002:a05:7300:f68e:b0:386:240c:19d6 with SMTP id 5a478bee46e88-386241b6d72mr37780948eec.6.1796273713572; Wed, 02 Dec 2026 20:55:13 -0800 (PST) X-Received: by 2002:a05:7300:f68e:b0:386:240c:19d6 with SMTP id 5a478bee46e88-386241b6d72mr37780924eec.6.1796273712956; Wed, 02 Dec 2026 20:55:12 -0800 (PST) Received: from [192.168.0.167] ([24.165.82.17]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm213596725eec.3.2026.12.02.20.55.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 20:55:12 -0800 (PST) Message-ID: <5901d2a7-38e2-4259-9bad-3627ff8cd233@oss.qualcomm.com> Date: Wed, 2 Dec 2026 20:55:10 -0800 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: Bryan O'Donoghue , Anusha Arun Nandi Cc: Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , gjorgji.rosikopulos@oss.qualcomm.com, hariram.purushothaman@oss.qualcomm.com, akapatra@quicinc.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 References: <20261201210207.1049452-1-anusha.nandi@oss.qualcomm.com> <20261201210207.1049452-2-anusha.nandi@oss.qualcomm.com> Content-Language: en-US From: Jigarkumar Zala In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=K5+3jCWI c=1 sm=1 tr=0 ts=6b10f632 cx=c_pps a=Uww141gWH0fZj/3QKPojxA==:117 a=DEjEkZBjyNSUHtkqXcrZmg==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=8D0eaBQaRSSyeZIwN9MA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=PxkB5W3o20Ba91AHUih5:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-GUID: GGmy_AjtgjR7_Ywy2wAftM8Aq6-FQvJs X-Proofpoint-ORIG-GUID: GGmy_AjtgjR7_Ywy2wAftM8Aq6-FQvJs X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAzMDAxOSBTYWx0ZWRfX5ETGVZQp0f35 BgcdXBGc9UkMknjThjHTCpPwKcNUx0laZmTAc3CSALetCyRQTzdQRz5jvnSH5BNN2z6Vns/5ZgG IqI25aN0bNA+FxNsgLR9/MQPfszwTU8= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAzMDAxOSBTYWx0ZWRfXzZqJh9guwQwt +vOD9AmdAqYyQCf9kHxNA8gVLWJf7PVei2kQ3TZOc/AT+6911qxxLRHMusb0UmoKrvyYaBkxvpF Opslf+XCUIKPmDltZQ81R76AhNWKAexziPX4yBzug9oU3EjHiYZGsm20eBerYbfSTrQc/sjtY4x I1u3zhcxen+jrXIxZZ+5+J98VfbW0dFleXskQ0GUzneKQhbp6MAk3Li5vWRlBnKsUBe+Y+1T4cM HqJmbzfQxQ9THJRlA+tSPlK3Q1a+ggoD+9QdjlyvkQTyqOtJP3Iffth3BUsj++V4+GOV3j/UzUn qXwx5pxJa/jWuaFMWGr5h9iqZxtUlCi4euQEOeYacXKkYkmDtaXl/s9jKG13sLJhDjwxOniMxAy ig7SShlINu2pVhfgvRcRTm9R4bIQylJ1lNIWemGd6iCEf6u/7EcDC4vUxqUXGNHvM0c9JknFSzd rsStuNGi0YYb3RA73iA== 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_01,2026-12-02_07,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 phishscore=0 spamscore=0 impostorscore=0 malwarescore=0 adultscore=0 bulkscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612030019 Hi Bryan, On 12/1/2026 8:49 PM, Bryan O'Donoghue wrote: > On 01/12/2026 21:02, 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. > > Which is alot of cloning. > >> 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. > > Shape appears twice here, I suspect a bit of LLMese needs tidying up. > > Leaving that aside you _could_ represent all of the different changes > you want in the existing PHY description. >> 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 > > Leading me to my second point why is this file now the core file with > the x1e/x2e file being the odd one out. You end up with _alot_ of > copy/paste > > By my count you're one clock, two power-domains and two different rail > names. > >> 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 >> + >> +  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'm finding this a bit suspect. Up to v3 my submission was one power > domain, then we added MX/MMCX because the camcc lists those rails, > you're saying here your PHYs don't have those rails ? > > Odd, to be honest, doesn't sound right. We will update in the next patch set. > >> + >> +  vdda-hs-supply: >> +    description: Phandle to PHY supply. we will change the description to hs supply. >> + >> +  vdda-lp-supply: >> +    description: Phandle to PLL supply. Need to update PLL with lp supply. >> > > But what is the justification for giving these names instead of > voltages ? If you name them by voltage what are those voltages. > > Ok, checked the inline CAMSS for this - sa8755p and qcs8300 are > vreg_l4a_0p88 and vreg_l1c_1p2, sc7280 is vreg_l10c_0p88 and > vreg_l6b_1p2 so these are two new names. > > Documentation/devicetree/bindings/media/qcom,qcs8300-camss.yaml:    > vdda-phy-supply = <&vreg_l4a_0p88>; > Documentation/devicetree/bindings/media/qcom,sa8775p-camss.yaml:    > vdda-phy-supply = <&vreg_l4a_0p88>; > > Documentation/devicetree/bindings/media/qcom,sc7280-camss.yaml: > vdda-pll-supply = <&vreg_l6b_1p2>; > > So these are two new names, why ? We've established the PHY binding > names by voltage. We need to bind the name with operational prospective of CSIPHY hw. "vdda-phy-supply" is actually powring up "hs domain" and "vdda-pll-supply" is powering up "lp domain". Hence, we are changing the name with what they are actually powering up.  We are not enabling PHY or PLL with respective regulator, but rather we are enabling the domains that is required for CSIPHY hardware to be functional and these names suggests that. >> + >> +  ports: >> +    $ref: /schemas/graph.yaml#/properties/ports >> + >> +    properties: >> +      port@0: >> +        $ref: /schemas/graph.yaml#/$defs/port-base >> +        description: >> +          Sensor input. Always present. A single sensor is described >> by a >> +          single endpoint with one to four data lanes, numbered 1-4. >> The >> +          clock lane is position 0. >> + >> +          DPHY split mode, where two independent sensors share the >> PHY, is >> +          described by two endpoints. endpoint@0 uses data lanes 1 >> or 1-2, >> +          clock lane position 0; endpoint@1 uses data lane 3, clock >> lane >> +          position 4. >> + >> +        unevaluatedProperties: false >> + >> +        patternProperties: >> +          "^endpoint(@[01])?$": >> +            $ref: /schemas/media/video-interfaces.yaml# >> +            unevaluatedProperties: false >> +            properties: >> +              bus-type: >> +                enum: >> +                  - 1 # MEDIA_BUS_TYPE_CSI2_CPHY >> +                  - 4 # MEDIA_BUS_TYPE_CSI2_DPHY >> +                default: 4 >> + >> +              data-lanes: >> +                minItems: 1 >> +                maxItems: 4 >> +                items: >> +                  minimum: 1 >> +                  maximum: 4 >> +                description: >> +                  Data lane positions following this endpoint's clock >> +                  lane. Positions are a per-port logical numbering, not >> +                  package pad or ball positions. >> + >> +            required: >> +              - data-lanes >> +              - remote-endpoint >> + >> +        allOf: >> +          - if: >> +              required: >> +                - endpoint@1 >> +            then: >> +              properties: >> +                endpoint@0: >> +                  properties: >> +                    data-lanes: >> +                      maxItems: 2 >> +                      items: >> +                        maximum: 2 >> +                endpoint@1: >> +                  properties: >> +                    data-lanes: >> +                      items: >> +                        - const: 3 >> +              required: >> +                - endpoint@0 >> + >> +      port@1: >> +        $ref: /schemas/graph.yaml#/properties/port >> +        description: Output to the CAMSS CSID controller. >> + >> +    required: >> +      - port@0 >> +      - port@1 >> + >> +required: >> +  - compatible >> +  - reg >> +  - clocks >> +  - clock-names >> +  - interrupts >> +  - operating-points-v2 >> +  - power-domains >> +  - power-domain-names >> +  - vdda-hs-supply >> +  - vdda-lp-supply >> +  - ports >> + >> +additionalProperties: false >> + >> +examples: >> +  - | >> +    #include >> +    #include >> +    #include >> + >> +    phy@ac9c000 { >> +        compatible = "qcom,sa8775p-csi2-phy"; >> +        reg = <0x0ac9c000 0x2000>; >> + >> +        clocks = <&camcc CAM_CC_CSIPHY0_CLK>, >> +                 <&camcc CAM_CC_CSI0PHYTIMER_CLK>; >> +        clock-names = "core", >> +                      "timer"; >> + >> +        interrupts = ; >> + >> +        operating-points-v2 = <&csiphy_opp_table>; >> + >> +        power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>; >> +        power-domain-names = "top"; >> + >> +        vdda-hs-supply = <&vreg_l4a>; >> +        vdda-lp-supply = <&vreg_l1c>; >> + >> +        ports { >> +            #address-cells = <1>; >> +            #size-cells = <0>; >> + >> +            port@0 { >> +                reg = <0>; >> +                csiphy0_in: endpoint { >> +                    bus-type = ; >> +                    data-lanes = <1 2 3 4>; >> +                    remote-endpoint = <&sensor_out>; >> +                }; >> +            }; >> + >> +            port@1 { >> +                reg = <1>; >> +                csiphy0_out: endpoint { >> +                    remote-endpoint = <&csid_in>; >> +                }; >> +            }; >> +        }; >> + >> +        csiphy_opp_table: opp-table { >> +            compatible = "operating-points-v2"; >> + >> +            opp-300000000 { >> +                opp-hz = /bits/ 64 <300000000>; >> +            }; >> +        }; >> +    }; >> -- >> 2.34.1 > Best Regards, Jigar