From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FF291EE033 for ; Sat, 28 Mar 2026 00:41:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774658488; cv=none; b=VgWpVerdpsCRTE6/hjl2Jl1qesCCMTm6nNMwec6jnJIcLVbXG7INSIF4TyY3IezbPdV96docyY1Vvcw65NJVhRVnRm+aTGJbqULWDnPN7OI5F0R0DF1AjZ3XX8O+1OBi17kmfnhdfF5oa6fJSJ7AvZ6Rc7UR5d5PB2QuoW8dJEM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774658488; c=relaxed/simple; bh=vWi5PsX3/N3kIUZKJo1GpcR0ab9hV2ov2mnFXm2V5+8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=EEB/v249rx5ZGszhPPJ3DpJTsO+wc8hFeZ3YuQzFRB13uAps0BnIO5/H9Tewbv9VnrX7qe1gLKYMga9LXvyvp8lD7gq0d94+3T60O1dfkaN7KkGEene4OWCVSjQURzUtfw7ogwDhUwdKvqjRNnUZok5IQzVr6b8M6Ndw1Y6mX/U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=viLd/j5O; arc=none smtp.client-ip=209.85.208.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="viLd/j5O" Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-38a2fb8ad36so1047191fa.0 for ; Fri, 27 Mar 2026 17:41:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1774658486; x=1775263286; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=NGqFSu/F2IhY+ii28nyc1IJ0LboHG+irAmTUkiXh190=; b=viLd/j5O2afh9CeeL7DUdhStyVjJFcDF6ElR5yozqSLwFVxltdeipYPTM1iqpOs4S8 g9GsGm3EWDd++XvTgzutVAxDs5PWlCYE8iwpsr20wVhGW+syqxXc91zb7A/Wrv8KqMwB ce+TfK90UvO4J7mcE1f2IQGWsa2oDkPI/8tUD+ZmEW8w9p3RVf2IDk449ZRYjsAj10P+ HSkBpOQktql+AC5srfbOj5lW+eMmdtIHEYIeT3Z9h7UjbYxH2iah2Jl9AO46jsYTTyPD FIcAlepEXvAEItXFvoH7twz0c4pBbfOdO1VbfobrczypBqYVghDP+X88afwuvrArF780 IvEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774658486; x=1775263286; h=content-transfer-encoding:in-reply-to:from: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; bh=NGqFSu/F2IhY+ii28nyc1IJ0LboHG+irAmTUkiXh190=; b=kH/32ZdMNoroAZSEvym/lFi/szKkggJz/1Sa0dWtByM+485Hr4Aoyy33zJnRmq3Ll0 rE37g+1+FUyVlpQjhqzn3Pu/76xocMOZu4Pr3aTmqpzyQX8AeNcLnznEk+NVn8dJMmGQ 76bhfBHW/Aqz+i5ekrYOmpKot7vYAwdHAH1zMVcu/5Bisi1z2EHljz/j3uI232jtnzLO OdxFVpbzTpQPiwhZYRhDHoXTfxM8gFsJvQ1CfUzpv76Ncv5zRjya/DBF1t9tikeibVr2 77GVltjG+YqXJwbausFCRLuGoZ3gQyBV+tqnZZmf9BrtawDVCjx4TuzMlFzYSfCwhTZX w5zA== X-Forwarded-Encrypted: i=1; AJvYcCXE40LyCd6/CO9u0kMBwbSMs1qap9CfgxLbLvuqTYMS1M2AH85GxZ3w6Ox1quPYj6+5ZpyuXRV+5Hlp+BE=@vger.kernel.org X-Gm-Message-State: AOJu0YynzWBs6Qvaotl2AHClLFJdTe176AR96XJGeH86SX4GK5uQa/0g 72/x/VTtb9hOX+sJqVHX/PgiydBmvdgOF26eiYSySylTm4Tl7uvSHUukBTTU+OlJcHY= X-Gm-Gg: ATEYQzxUJBym88n3wWp1fRlt5NBjPCfTdlKyIUJAD+cm+95u4eLTtBp8KJzhpK6lHdO PVaak1VqY9rsRnETffV+0Aj0MXD08SKm0UPeFiebvGPPVwtkTLQg9JsJVWCUwaHLTZmnmoR8WtN 96SP4AQkW60Qd4/DwTW5IdhgkU1QvQTro6/zQXYsMEGCbKQf04RuyQfHTNf83y3Sxw5xL0mdlLv 4ilSNvZKoCAPXBA2AgvYok0VuL4Dw80BV/nxq9CfckSPDEI2x76qJdZWQ844pZBrXxDOYwIn7H2 9t2fZjt+u5dekJipdBc9iCjwHT/LXoa/GBKpQ2uGAPthoAcm6lG1zQk5b0JZHA2PczVIUQ8HH0r HW7d/hbnELZx2H1N7cCjTbKCV/P+8rJqJf7iWv4RWYdoFm9mcsUXteSi+PgStBf+xTULtxbPhBt MBNE4x32s3Wj+5Ur0zl2bH8kbPvqC7MjiQFg/Ul188nYCROwbIFlHiJ/IzevryGRln6EhSDmori VaHwe7YD2MhmT86 X-Received: by 2002:a05:651c:4cb:b0:38a:3473:526d with SMTP id 38308e7fff4ca-38c740675c0mr7346841fa.7.1774658485521; Fri, 27 Mar 2026 17:41:25 -0700 (PDT) Received: from [192.168.1.100] (91-159-24-186.elisa-laajakaista.fi. [91.159.24.186]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-38c8389524esm1397891fa.21.2026.03.27.17.41.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Mar 2026 17:41:25 -0700 (PDT) Message-ID: Date: Sat, 28 Mar 2026 02:41:24 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/2] dt-bindings: phy: qcom: Add CSI2 C-PHY/DPHY schema To: Dmitry Baryshkov Cc: Bryan O'Donoghue , Bryan O'Donoghue , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260326-x1e-csi2-phy-v5-1-0c0fc7f5c01b@linaro.org> <72ef6c9e-feb6-4e57-b8cc-7801bd748698@linaro.org> <8ac55e5f-72ed-4331-bf42-92ccf97507dd@linaro.org> <5d7d5bf8-4420-4d75-b928-820bb9233e52@kernel.org> <2houacfdkozzk35ky5xtwe3utkvyx4lroyrhvibb5lg6lad2g6@56akvtqigaep> <556a6736-472d-4551-b5df-15e809e7e20e@kernel.org> From: Vladimir Zapolskiy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/28/26 01:23, Dmitry Baryshkov wrote: > On Sat, Mar 28, 2026 at 01:12:22AM +0200, Vladimir Zapolskiy wrote: >> On 3/28/26 00:29, Bryan O'Donoghue wrote: >>> On 27/03/2026 20:51, Dmitry Baryshkov wrote: >>>>> That's just not true. If you read the camx source code you can see >>>>> split/combo mode 2+1 1+1 data/clock mode requires special programming of the >>>>> PHY to support. >>>> This needs to be identified from the data-lanes / clock-lanes topology. >>>> And once you do that, there would be (probably) no difference in the >>>> hardware definition. >>>> >>>> >>>> In other words, I'd also ask to drop this mode from the DT. This >>>> infromation can and should be deduced from other, already-defined >>>> properties. >>> >>> It still needs to be communicated to the PHY from the controller, >>> however that is not a problem I am trying to solve now. >>> >>> If I can't get consensus for PHY_QCOM_CSI2_MODE_SPLIT_DPHY then so be it. >>> >>> I'll aim for DPHY only and we can come back to this topic when someone >>> actually tries to enable it. >>> >> >> DPHY may be the only supported phy type in the driver, it does not matter >> at this point, however it's totally essential to cover the called by you >> 'split mode' right from the beginning in the renewed device tree binding >> descriptions of CAMSS IPs to progress further. > > Okay. How would we describe that there are two sensors connected to the > single PHY anyway? How would it be described with the current bindings? > An RFC example was sent about one year ago, it allows to specify one or two endpoints under a single phy port: https://lore.kernel.org/linux-arm-msm/20250513143918.2572689-1-vladimir.zapolskiy@linaro.org/ -- Best wishes, Vladimir