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=1795603801; b=iMSj0crztjOCkG3/OmgY5LeVhlHERvTSGGAJ4J7/acJqY/0CXlW2K3oiibWXAx3Tc1zu D26TOd1+w+bJapUZpZaQVwBRNBcXKIM5XBfcAvR6oe3WFEZ9LPF4pRmClm6nS8bYrbu7Z al048EII/VT3QkksDZj6V76jtqwD9Tp8WpNbbbcRTuHwdzMOF2EhVOmmt0aKrokpKAJ2v Y0c/7PRy1fQ61BJPakRS+NFyTse4247EVC2oS0wLwCYUoJAH6huMMuVUwG9c+nJ+jxX/H TaFYbMY9t2ufJp6a7RQCP9G/j7raCk+4FZ1P0I/hwsltwIO+a7RdanzHlrN00yBL2Aw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795603801; 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-Proofpoint-ORIG-GUID: X-Proofpoint-Spam-Info:X-Proofpoint-GUID:X-Authority-Analysis: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=vAB4Gs4mUDK2JcpHA4TmhZZdgElajeLPnIQDOvFI1wQ=; b=BqxTOy+p96TrIt9bQWkb4Lsiuooh08PMysvXP4FKKdABC/RBKP3XS3crnVSUSIq+d5ku gPHRgyzu/s+3gM1+vnvP+nR24D/AEBOXxIP6fuvzxGUjVkb2/Uz8cvFTT52NrTib6CXKL zf1je1AC7yB/mziXKkPas8FxVRIt52jMmeJn/ynopSADe9Sq9sXZULFKpRb/jPYHnJ5sg 1Ik2P+5RmsBWu9IFg3u5f/gh1cmiINsNaM+qFsOutXYh1TcmDZDGq7L4OFlOSlX/dzIwI lLhlv8+zN5Iw4lZZtDbCxeAWGuVTzfKmiwngf0kgG6pn982juqWpFO73K2mMFxWmrRw== 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=KEQjnbvA; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=X5V23FVu; 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 B5B23606A326 for ; Wed, 25 Nov 2026 10:50:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B5B23606A326 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=KEQjnbvA; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=X5V23FVu 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 6AP9mO4r2356539 for ; Wed, 25 Nov 2026 10:50:00 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= vAB4Gs4mUDK2JcpHA4TmhZZdgElajeLPnIQDOvFI1wQ=; b=KEQjnbvABhREXPEh rXePuuh91i1CzoZcCK8P5Er501LM4GTZngciauKOyTLoiss4blcUXUv3DzWSEWng MjuOebo430ASTwXXk/TfzPCFvnwU4eg8pICZ6Nv2k/fC6zvsJH57iWmjcu9thI/O erx0iVDCZZPEit+cuWqxw2bow2RNLjAEe9HCfnIgPy1Hns+heWWUaEOyyXeil6fp PojudJ9nHSLoNVw1CIBhzNxk/J267YoAZYr+g2jy4XSSNd8+Am1tmOc92IFBxzxc A/nO71CMxAZBkyavORK4AKm+Itq4LUDJfeznlriGK/ecvoOGwQ/TZVzAvLzcAZn6 OJsQeA== Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j5nu6a4vh-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 25 Nov 2026 10:49:59 +0000 (GMT) Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-8b8cef34b43so5915407b3a.2 for ; Wed, 25 Nov 2026 02:49:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1795603799; x=1796208599; 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=vAB4Gs4mUDK2JcpHA4TmhZZdgElajeLPnIQDOvFI1wQ=; b=X5V23FVu9h+U0oYNf4Sp/IU7ykQtI7fw0LG/qbZ2Phq9yVy4adSivytELGBcXXkuZr GYZiyAkixQQU044tKr6achAmtHNq3CanNgQbOlQGMp4Wb7NCz1BL00tqam8yQX1/BIbu ZeTsEhV93jathC8hDN/dLcdwBgc+XmZPFGqs+uViIZF1PyurS8V06OcPhLvBh9vDBR5U oBXMp+4ZhgdjKxLl0JcGXQxzrrAK274vhlm+7PhrI5DuSGj1Qn6WKMTO4z407k3mQ+2N uZLYQN0M7LPVMkq3usBz844+lSHsBgQYSKknC/s2ul2eTY+w4Rqw3wdQN5I6fG4lydOB K6HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795603799; x=1796208599; 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=vAB4Gs4mUDK2JcpHA4TmhZZdgElajeLPnIQDOvFI1wQ=; b=MgZ6Wfl0smnZmVWHJfwbIkhNTAlY9hVmnq4NP+6keBYj7wAK5qy9RQ+OL3budgoZKA aTvTsTPMa4905Q4exuaCPUVJmVMPeLa5qLVmXpDTQW33RI1M35PRxLOnm9aR6fyYn0Ot sL+5S+BLXNXO6OmkRr7wW0bfER/9UL0kmovcuuibWCKAizQzXpOkOsIqASd2+eYvwBHw 2ejXZUKzHxChkOF4vVamuPATdq2BbwO4AxX1yTSCIKKdFSCpoefwKKA2Bli0t/U2XH1d QeAoExQRRJWk3rdHQmsJbcgGGYyFLDA4Ivd7LWgis6VYODGRBf/lPEMAPr3uX7IF5/Ci v+kA== X-Forwarded-Encrypted: i=1; AL+hErEB8CsJ7h4CxhzAFLe8xmd+/csGGFe9tXQ3b51Th6ZbIYKpi3YIXzVsngHlfa+13gT/08dGGi2U9+uZXzw=@vger.kernel.org X-Gm-Message-State: APuU4Z9wiiF4NPaBTzCfEAP+AYFQVx7ejl//2MrMJ6Lz4MdcnCt7W12q c4k10Kw/rXOOmtx3xCKZm3Y/NZ4EbsDa64IB1fQrt1DYzdFLOuLsDNqqleLOx/LICPpwmyMqg9K R28gxhBmB4o/CL/zRZF2W3/r4zPkv6IeYXJrPyXKDcFWl/+2X48cFnWs/3PCko/R7m+o= X-Gm-Gg: AZFdTZfnG4/vM4CeExHmVMjP2FfuOqK3OjlaKFRqnoYY1WwLTXlnuHonAh4Gp5s3Vza 5O7HI3O+E8/FZlrO7H77ykvRERHvZMO8ty/Bf0WF6yL5fgIQAJX9R4BvWD7AA6MpDWUjU3Gk2Xw igPLnSqj/JkTHnSh+bkDcgeaA09YZI5Lu0YHpCOGcb11KYgyHvpjXOGaXvhxqtXq+gE5kHeJPM5 DBdb02XqhNB8AUKB8Wp7ykifMG7Ri1osd7AP7zymF/h1x+jpA2XvnfS1NM/jnQ53KwV66NoGg1Z Y78lv1zy8gupS0dlto3iR1cdI8EzW1QX1ITUDuDh7qwBmo/bd/fM+gL3P88bMLr8WRBgjAtln7p eqaMeRnqkygXq8o7OcbLuxdt1wqjMD6UMyXzZlUlkp7nv0WlN9TXQlXWk2j9apkwZLEiAcIwyV/ qpjg== X-Received: by 2002:a05:6a00:22c8:b0:89e:43ee:6541 with SMTP id d2e1a72fcca58-8c87c38b606mr15448587b3a.34.1795603799169; Wed, 25 Nov 2026 02:49:59 -0800 (PST) X-Received: by 2002:a05:6a00:22c8:b0:89e:43ee:6541 with SMTP id d2e1a72fcca58-8c87c38b606mr15448559b3a.34.1795603798657; Wed, 25 Nov 2026 02:49:58 -0800 (PST) Received: from [10.206.111.19] ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c87285c228sm8621213b3a.10.2026.11.25.02.49.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Nov 2026 02:49:58 -0800 (PST) Message-ID: <53376589-db38-4281-b6b6-f12dab891dd7@oss.qualcomm.com> Date: Wed, 25 Nov 2026 16:19:49 +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 v3 3/7] dt-bindings: phy: qcom,sm8150-csi2-phy: Add SM8150 CSI2 PHY To: Vladimir Zapolskiy , Andrew Gigena , Loic Poulain , Robert Foss , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bryan O'Donoghue , Mauro Carvalho Chehab , Bryan O'Donoghue , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Andi Shyti , Vinod Koul , Neil Armstrong , Manivannan Sadhasivam Cc: linux-arm-msm@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-phy@lists.infradead.org, Suresh Vankadara , Vikram Sharma References: <20261106-sm8150-v7.4-rc1-camss-v3-0-0103e8a0bbcd@andrewgigena.dev> <20261106-sm8150-v7.4-rc1-camss-v3-3-0103e8a0bbcd@andrewgigena.dev> Content-Language: en-US From: Nihal Kumar Gupta In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: ZZTRlK4QdOxAe3aCANjVSVP4VJibVxj8 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTI1MDA0MiBTYWx0ZWRfX4UAADmsrqIhP hG71CNENhFbHrpps4tMSwNcBy0TQQZjOwTjn/s+w8BjN8/GM9725EVCwDReCOHXBF0/YVC1FsQi YSLRwCJfS/J5533d3GTJ7QvTTMncM7M= X-Proofpoint-GUID: ZZTRlK4QdOxAe3aCANjVSVP4VJibVxj8 X-Authority-Analysis: v=2.4 cv=Vra2kO2n c=1 sm=1 tr=0 ts=6b06bd57 cx=c_pps a=mDZGXZTwRPZaeRUbqKGCBw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=RbXr6DfGU6KKkcIXwz8A:9 a=QEXdDO2ut3YA:10 a=zc0IvFSfCIW2DFIPzwfm:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTI1MDA0MiBTYWx0ZWRfX+L5LSGrl+sn4 7Jv7eLIQBMK5UVRPCX28KRdcw71QJzrX++lGHqMh7zd3t7Tyf/a1l26kRNpPtSB+It5jPh1SX0J YB5QBgiI5UHy9s0KIZRJ8aHP/+PHJfjVVbAL26KODFpfsODWst4yxhdj8fdFZ2hnT5vpH8cuAtQ px8WQ4gM6TfQrOATYDnK0hYaWBUM9JKJN4Tz6ElzY2ipgZgMXXdoO4KwomyIeVDRRSfbEWbcB0M G5chUP+1ZBAFFkJBAoQj6qUq51eL0twf85aKH7TxJ9qM1+5YyYpEF0C/uTyAwBlG/WlCIfclgfT iLhl6mXh9kW4XPP53kMRdA7JgFdgy54ajB4UvDtO2vGijyYYs0Xk3Rowhslxj8m8Dd39nZSn1M0 1NPqVXMo5NYQXQV5HWB25uXgg9021RLJf8mGGBPJ7QqvJzaDLD4U9e/W1L0W6uFDxI18twpW1RP 8MixcDRDV+V/CcgB99Q== 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-11-25_03,2026-11-23_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 malwarescore=0 clxscore=1015 adultscore=0 phishscore=0 bulkscore=0 spamscore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611250042 Hi Vladimir, Andrew, On 24-11-2026 15:45, Vladimir Zapolskiy wrote: >> Hi Vladimir, >> >> Thanks for the review, replies below. >> >>> Please double check if SM8150 CSIPHY v1.1 is capable of C-PHY: >> >> The hardware can do combo mode, but the driver only implements D-PHY and > > "The hardware can do ..." is necessary and sufficient, when you add > a device tree binding description, anything else is irrelevant. > >> returns -EOPNOTSUPP for C-PHY, so the binding stays D-PHY. Would you >> like it documented as "not yet supported" anyway? > > You may add a short note to a commit message, but definitely not to the > hardware documentation. Hardware is not dependant on driver status. > >> >>> D-PHY combo mode is also supported on the SM8150 CSIPHY apparently, >>> it shall be reflected in a way that two endpoints could be present. >> >> Split mode is described in the binding, but the driver rejects it, so it > > Don't look at an incomplete driver at all, when you provide hardware > description. > >> cannot be used today. Is it fine to keep it out until the driver >> supports it? > > This change provides hardware description only, and anything related to > one or another driver is irrelevant. However since downstream driver > provides support of some hardware features, it tells about the hardware, > and therefore this information should be represented in the dt bindings > documentation. > >>> In downstream camcc-sm8150.c, PLL0 is on MX, and PLL0 supplies CSIPHY >>> clocks. I believe MX shall be added to the list of 'power-domains'. >> >> You are right that PLL0 uses the MX corner in camcc, but that corner is >> internal to the clock controller, not a power domain of the CSIPHY. The > > Formally yes, but probably CAMCC driver should not enable the MX power > domain, if I'm not mistaken, there were arguments against it and to > delegate such logic to a clock consumer, which is CSIPHY here. > >> PHY only consumes the top GDSC; SM8150 uses legacy GDSCs, while on X1E >> MX is a real power domain attached by the PHY driver. > > Here someone from Qualcomm may help to get better understanding. > I checked SM8150 in IPCAT. For the CAM_CC CSIPHY clocks, IPCAT shows that the clocked CSIPHY path requires vdd_mx and vdd_mm. TOP GDSC only controls the camera/Titan power island; it is not the voltage rail that powers the PHY logic. Therefore, the SM8150 CSIPHY node should also vote SM8150_MX and SM8150_MMCX. > If MX is truly not needed, you may add an exception for SM8150 CSIPHY > dt binding description. > >>> Still it would be preferred to get 'vdda-0p9-supply' and >>> 'vdda-1p2-supply' properties. >> >> Renamed in the binding on v4, the driver and the DTS, matching the X1E naming. >> > > Good. > >>> In general the change looks good, thank you, but likely it can be >>> embedded into the scheme for X1E. >> >> Clocks, register offset, power domains, lane table and timer all differ, >> so folding it in would need if/then blocks for almost every property. >> Would you still prefer that, or is a separate schema acceptable? >> > > I believe it is good enough to embed SM8150 CSIPHY dt bindings into X1E > CSIPHY dt bindings. > > These two pieces of hardware are non-compatible, but they do belong to one > class of devices and can be described by the same dt binding documentation. -- Regards, Nihal Kumar Gupta