[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241209-camss-dphy-v1-0-5f1b6f25ed92@fairphone.com>
Date: Mon, 09 Dec 2024 13:01:04 +0100
From: Luca Weiss <luca.weiss@...rphone.com>
To: Robert Foss <rfoss@...nel.org>, Todor Tomov <todor.too@...il.com>,
Bryan O'Donoghue <bryan.odonoghue@...aro.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Barnabas Czeman <barnabas.czeman@...nlining.org>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...ainline.org>,
Caleb Connolly <caleb.connolly@...aro.org>,
David Heidelberg <david@...t.cz>
Cc: ~postmarketos/upstreaming@...ts.sr.ht, phone-devel@...r.kernel.org,
linux-arm-msm@...r.kernel.org, linux-media@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Luca Weiss <luca.weiss@...rphone.com>
Subject: [PATCH 0/2] Some small preparations around CAMSS D-PHY / C-PHY
support
Since the hardware blocks on the SoCs generally support both D-PHY and
C-PHY standards for camera, but the camss driver currently is only
supporting D-PHY, do some preparations in order to add C-PHY support at
some point.
Make the dt bindings explicit that the hardware supports both (except
for MSM8916) but also add a check to the driver that errors out in case
a dt tries to use C-PHY since that's not supported yet.
Signed-off-by: Luca Weiss <luca.weiss@...rphone.com>
---
Luca Weiss (2):
media: dt-bindings: media: camss: Restrict bus-type property
media: qcom: camss: Restrict endpoint bus-type to D-PHY
.../bindings/media/qcom,msm8916-camss.yaml | 8 ++++++
.../bindings/media/qcom,msm8953-camss.yaml | 15 +++++++++++
.../bindings/media/qcom,msm8996-camss.yaml | 20 +++++++++++++++
.../bindings/media/qcom,sc8280xp-camss.yaml | 20 +++++++++++++++
.../bindings/media/qcom,sdm660-camss.yaml | 20 +++++++++++++++
.../bindings/media/qcom,sdm845-camss.yaml | 20 +++++++++++++++
.../bindings/media/qcom,sm8250-camss.yaml | 30 ++++++++++++++++++++++
drivers/media/platform/qcom/camss/camss.c | 9 +++++++
8 files changed, 142 insertions(+)
---
base-commit: fac04efc5c793dccbd07e2d59af9f90b7fc0dca4
change-id: 20241209-camss-dphy-8bf46e251291
Best regards,
--
Luca Weiss <luca.weiss@...rphone.com>
Powered by blists - more mailing lists