From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 8982534F275 for ; Thu, 26 Mar 2026 01:51:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774489889; cv=none; b=RxPQ3E5zkBU5A706q7zrpqHa8Bu5kqznTKvfU3txVS+G/wbD02GsM/4dTHulezTKhAA5U8VJKKzLglmCiCiuBLOzbg6LFMfcrciQ6GEpiaOZ3qapB0zyaGkJNQe+/Ep701akFoSIR0ozMblG9csF3WaLT+BwNGT1I6ZW4p7fiYA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774489889; c=relaxed/simple; bh=rUxcPY1pKjNKkuCXrvvt2Y64QqdkwyCUDmgJEVlUu1w=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Yo9fha4dxUK7xcIKvg0CWbG0XJPOLbgCHKsGnP4FjvwLQov3M3L4DQGqS248ryi33suWC9VCh/K0xxu+gehblya5WiVQsyb9elNldpXZSkXW5IbV3QsesX/aJu85nvcG72iOTwlVz4A4WIDxrUDvZWriqaoclIfJZLPastuCHs8= 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=Z0jzwhZ5; arc=none smtp.client-ip=209.85.167.53 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="Z0jzwhZ5" Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-5a285840940so79540e87.1 for ; Wed, 25 Mar 2026 18:51:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1774489886; x=1775094686; 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=66PFHV45L6JK0kry67ATm2uMaTr448PNAnY9DrkuAGQ=; b=Z0jzwhZ5VCZrEG7aMHOE4DuQCvbcopnNUuw4YMLPimt/BcEk8EoX/LXUyktCv8NB+f tOPnRNvvs+MGYUOuVVgORuBdbL+Vze2oYzeqmXnigPByc/iTnG5rG41bErWgcXzY+vIW hgli3quiszUd/fJ5qLfaay6B3QnfhEsr7BNDaIujQ7a/YF0YGfwUumAXqaD+//vqXQqR P66T8YMsUfyMlK7x8U1a5Il3fyurLF9l0a9pCpSYa5EigUyttaK35Mjas9UOOPCJB5Wb 3OBirHB/rMQXctCp4aaTIQQRjPGHD1OhWZFWyncuQF0UNOrn2jcP/tNPnIdXFEID39K5 /mnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774489886; x=1775094686; 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=66PFHV45L6JK0kry67ATm2uMaTr448PNAnY9DrkuAGQ=; b=pgQRJ4bzOXadK/wkXhL/vTG254cDO0aqI4m9wgz9Ug3FrpIZwkYuxLzlDq0giLGen0 DckCBpsDLSURXpFoOVutE7k0ltuJMP0xSG1/QjmBhi3AClAq2GeFjRpWUNi5xuAO3IrG 57+3u1s+j/uoYgSru187lrBYwD7ABPoQV2pInZuxaVgwxV2VeNZ+PRluzOhoekYTbr8n 8Vz32m4Dq41siEWTvhc9UGG0aYZJAPzI5Oo1z+Pq8HaPZYJrIjy5w14Pt3TCQL49Qn4L 0z2P0fWXj3xQhbLrgyJNURg0K1E5CEqAp3vUAylI4XMoCAST5CUX1OSumxJidih+tL6V //7A== X-Forwarded-Encrypted: i=1; AJvYcCWCGbqsU08Q77go5PUjo8BlfLi4DiAerIW/8PtNXZzFNzrnYzrMtpyWaRc0p+4zHCI67NSoB9R7SmDfYeI=@vger.kernel.org X-Gm-Message-State: AOJu0YwKYRiKK9vtpXPP5VPcgr/foB013NBRorZSUOyoMdfUIrTGwdOQ RzxeJ0HXyW8p59cKASCa+m9O3G2KEpHIT7K+jWz360mBtXZH/uEhvQrxbJF4UG90PZg= X-Gm-Gg: ATEYQzytf6VNty2mBtAJfCQ/3lAUYRgZezcL08w0nbwpREY8YzSI6/+InLD6GhNEjDJ R4JfbpITzzS3QRnlTiVHvJUqbgurr8x/GaedG5Nhm54lymx4TibzKXZyQLF63zoXNfNF+WSDR3s TOk7YEDGHjk4Gj/wfn3YzeyCddTWdvcJer6l2348dNVr4HfoCtpUavS/xuiEQxDYN0vcWOWEdL9 bJF4sPaNAs3aznXdY/rA0Bz/hbnaO7MQMOT5Xh1g2qgKL2o6UZiIYQEWGXK+/trxM8VUM1NKIXv 7PATiK81GJ9UuOUfb7fprbJSFeqyZmRj+AG+W+t9kAufCSbLZ7BqeiaOJFLYrrMhjaiIuHzjO3o jdx5lfo9BhGWQTdKFFnrKJxwqIu2tOpKo2JIp/81lR6Zok+4N4qZT+eiJWmya8mqELq68JTq92w UBpqGdcC6ISSX9/MMzEQ2FOeyq9QbwjZ1PDYYNFQB9231nzgKxbWtcfmqndG2KGOUkn9VoIo2Rm nRoMA== X-Received: by 2002:a05:6512:33d1:b0:5a1:2ec0:7442 with SMTP id 2adb3069b0e04-5a29b947c2emr1087597e87.0.1774489885671; Wed, 25 Mar 2026 18:51: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 2adb3069b0e04-5a2a063ef5bsm252287e87.17.2026.03.25.18.51.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Mar 2026 18:51:25 -0700 (PDT) Message-ID: <17ab70a4-1ab8-4384-8537-44dbfe31889a@linaro.org> Date: Thu, 26 Mar 2026 03:51: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 v11 2/7] dt-bindings: media: qcom,x1e80100-camss: Add support for combo-mode endpoints To: Bryan O'Donoghue , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Foss , Todor Tomov , Mauro Carvalho Chehab , Konrad Dybcio , Bryan O'Donoghue Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Krzysztof Kozlowski , Christopher Obbard References: <20260326-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v11-0-5b93415be6dd@linaro.org> <20260326-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v11-2-5b93415be6dd@linaro.org> From: Vladimir Zapolskiy In-Reply-To: <20260326-b4-linux-next-25-03-13-dtsi-x1e80100-camss-v11-2-5b93415be6dd@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/26/26 03:28, Bryan O'Donoghue wrote: > Qualcomm CSI2 PHYs support a mode where two sensors may be attached to the > one CSIPHY. > > When we have one endpoint we may have > - DPHY 1, 2 or 4 data lanes + 1 clock lane > - CPHY 3 wire data lane > > When we have two endpoints this indicates the special fixed combo-mode. > - DPHY endpoint0 => 2+1 and endpoint1 => 1+1 data-lane/clock-lane combination. > > Reviewed-by: Christopher Obbard > Signed-off-by: Bryan O'Donoghue > --- > .../bindings/media/qcom,x1e80100-camss.yaml | 69 ++++++++++++++++++++-- > 1 file changed, 65 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml b/Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml > index c17b9757b2c86..f44138f522bba 100644 > --- a/Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml > +++ b/Documentation/devicetree/bindings/media/qcom,x1e80100-camss.yaml > @@ -148,7 +148,8 @@ properties: > $ref: /schemas/graph.yaml#/properties/ports > > description: > - CSI input ports. > + CSI input ports. Supports either standard single sensor mode or > + Qualcomm's combo mode with one sensor in 2x1 + 1x1 data-lane, clock-lane mode. > > patternProperties: > "^port@[0-3]$": > @@ -156,26 +157,86 @@ properties: > unevaluatedProperties: false > > description: > - Input port for receiving CSI data from a CSIPHY. > + Input port for receiving CSI data. > > properties: > - endpoint: > + endpoint@0: > $ref: video-interfaces.yaml# > unevaluatedProperties: false > > + description: > + Endpoint for receiving a single sensor input (or first leg of combo). > + > properties: > data-lanes: > minItems: 1 > - maxItems: 4 > + maxItems: 4 # Base max allows 4 (for D-PHY) > + > + clock-lanes: > + maxItems: 1 > > bus-type: > enum: > - 1 # MEDIA_BUS_TYPE_CSI2_CPHY > - 4 # MEDIA_BUS_TYPE_CSI2_DPHY > > + endpoint@1: > + $ref: video-interfaces.yaml# > + unevaluatedProperties: false > + > + description: > + Endpoint for receiving the second leg of a combo sensor input. > + > + properties: > + data-lanes: > + maxItems: 1 > + > + clock-lanes: > + maxItems: 1 > + > + bus-type: > + const: 4 # Combo is D-PHY specific > + It's unclear why both 'bus-type' and 'phys' cell argument are needed at the same time, they are equal and thus one of two is redundant. -- Best wishes, Vladimir