Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 0/4] Add CAMSS support for MSM8939
@ 2025-09-07 22:04 André Apitzsch via B4 Relay
  2025-09-07 22:04 ` [PATCH 1/4] media: dt-bindings: Add qcom,msm8939-camss André Apitzsch via B4 Relay
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: André Apitzsch via B4 Relay @ 2025-09-07 22:04 UTC (permalink / raw)
  To: Robert Foss, Todor Tomov, Bryan O'Donoghue,
	Vladimir Zapolskiy, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson, Konrad Dybcio
  Cc: ~postmarketos/upstreaming, phone-devel, linux-media,
	linux-arm-msm, devicetree, linux-kernel, Vincent Knecht,
	André Apitzsch

(This series resumes [1].)

This series adds CAMSS support for MSM8939.  It's mostly identical to
MSM8916, except for some clocks and an additional CSI.

To fix black stripes across sensor output, and garbage in CSID TPG
output, 2 VFE VBIF register settings are needed.  So the 2nd patch adds
helper functions to do just that.

Patch 1: documents qcom,msm8939-camss DT bindings
Patch 2: adds helper for VFE VBIF settings
Patch 3: adds CAMSS_8x39 version in CAMSS driver
Patch 4: adds camss and cci in msm8939.dtsi

Changes compared to [1]:
- Move bindings patch to the beginning
- Make the order of {reg, clock, interrupt} items the same as in 8916 +
  append additional items
- Drop R-b tags from bindings and dts patches as order of items was
  changed

[1] https://lore.kernel.org/all/20250613-camss-8x39-vbif-v5-0-a002301a7730@mailoo.org/

Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>
[André: Apply reviewer comments]
Signed-off-by: André Apitzsch <git@apitzsch.eu>
---
Vincent Knecht (4):
      media: dt-bindings: Add qcom,msm8939-camss
      media: qcom: camss: vfe: Add VBIF setting support
      media: qcom: camss: Add support for MSM8939
      arm64: dts: qcom: msm8939: Add camss and cci

 .../bindings/media/qcom,msm8939-camss.yaml         | 254 +++++++++++++++++++++
 arch/arm64/boot/dts/qcom/msm8939-pm8916.dtsi       |   4 +
 arch/arm64/boot/dts/qcom/msm8939.dtsi              | 146 ++++++++++++
 drivers/media/platform/qcom/camss/Makefile         |   1 +
 drivers/media/platform/qcom/camss/camss-csiphy.c   |   1 +
 drivers/media/platform/qcom/camss/camss-ispif.c    |   8 +-
 drivers/media/platform/qcom/camss/camss-vfe-4-1.c  |  12 +
 drivers/media/platform/qcom/camss/camss-vfe-vbif.c |  31 +++
 drivers/media/platform/qcom/camss/camss-vfe-vbif.h |  19 ++
 drivers/media/platform/qcom/camss/camss-vfe.c      |  10 +
 drivers/media/platform/qcom/camss/camss-vfe.h      |   3 +
 drivers/media/platform/qcom/camss/camss.c          | 157 +++++++++++++
 drivers/media/platform/qcom/camss/camss.h          |   1 +
 13 files changed, 645 insertions(+), 2 deletions(-)
---
base-commit: be5d4872e528796df9d7425f2bd9b3893eb3a42c
change-id: 20250517-camss-8x39-vbif-975ff5819198

Best regards,
-- 
André Apitzsch <git@apitzsch.eu>



^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH 0/4] CAMSS support for MSM8939
@ 2025-05-20 18:39 Vincent Knecht via B4 Relay
  2025-05-20 18:39 ` [PATCH 4/4] arm64: dts: qcom: msm8939: Add camss and cci Vincent Knecht via B4 Relay
  0 siblings, 1 reply; 18+ messages in thread
From: Vincent Knecht via B4 Relay @ 2025-05-20 18:39 UTC (permalink / raw)
  To: Robert Foss, Todor Tomov, Bryan O'Donoghue,
	Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, Konrad Dybcio
  Cc: linux-kernel, linux-media, linux-arm-msm, devicetree,
	André Apitzsch, phone-devel, ~postmarketos/upstreaming,
	Vincent Knecht

This series adds CAMSS support for MSM8939.
It's mostly identical to MSM8916, except for some clocks
and an additional CSI.

To fix black stripes across sensor output, and garbage in
CSID TPG output, 2 VFE VBIF register settings are needed.
So the 1st patch adds helper functions to do just that.

Patch 1: adds helper for VFE VBIF settings
Patch 2: adds CAMSS_8x39 version in CAMSS driver
Patch 3: documents qcom,msm8939-camss DT bindings
Patch 4: adds camss and cci in msm8939.dtsi

Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>
---
Vincent Knecht (4):
      media: qcom: camss: vfe: Add VBIF setting support
      media: qcom: camss: Add support for MSM8939
      media: dt-bindings: Add qcom,msm8939-camss
      arm64: dts: qcom: msm8939: Add camss and cci

 .../bindings/media/qcom,msm8939-camss.yaml         | 269 +++++++++++++++++++++
 arch/arm64/boot/dts/qcom/msm8939-pm8916.dtsi       |   4 +
 arch/arm64/boot/dts/qcom/msm8939.dtsi              | 152 ++++++++++++
 drivers/media/platform/qcom/camss/Makefile         |   1 +
 drivers/media/platform/qcom/camss/camss-csiphy.c   |   1 +
 drivers/media/platform/qcom/camss/camss-ispif.c    |   8 +-
 drivers/media/platform/qcom/camss/camss-vfe-4-1.c  |  11 +
 drivers/media/platform/qcom/camss/camss-vfe-vbif.c |  37 +++
 drivers/media/platform/qcom/camss/camss-vfe-vbif.h |  19 ++
 drivers/media/platform/qcom/camss/camss-vfe.c      |  10 +
 drivers/media/platform/qcom/camss/camss-vfe.h      |   3 +
 drivers/media/platform/qcom/camss/camss.c          | 157 ++++++++++++
 drivers/media/platform/qcom/camss/camss.h          |   1 +
 13 files changed, 671 insertions(+), 2 deletions(-)
---
base-commit: 8566fc3b96539e3235909d6bdda198e1282beaed
change-id: 20250517-camss-8x39-vbif-975ff5819198

Best regards,
-- 
Vincent Knecht <vincent.knecht@mailoo.org>



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-10-07 13:46 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-07 22:04 [PATCH 0/4] Add CAMSS support for MSM8939 André Apitzsch via B4 Relay
2025-09-07 22:04 ` [PATCH 1/4] media: dt-bindings: Add qcom,msm8939-camss André Apitzsch via B4 Relay
2025-09-08  8:22   ` Krzysztof Kozlowski
2025-09-07 22:04 ` [PATCH 2/4] media: qcom: camss: vfe: Add VBIF setting support André Apitzsch via B4 Relay
2025-09-07 22:04 ` [PATCH 3/4] media: qcom: camss: Add support for MSM8939 André Apitzsch via B4 Relay
2025-09-07 22:04 ` [PATCH 4/4] arm64: dts: qcom: msm8939: Add camss and cci André Apitzsch via B4 Relay
2025-10-07 13:46   ` Konrad Dybcio
2025-09-08  4:51 ` [PATCH 0/4] Add CAMSS support for MSM8939 Bryan O'Donoghue
2025-09-08  5:44   ` André Apitzsch
2025-09-08 10:56 ` Bryan O'Donoghue
2025-09-23 10:27   ` André Apitzsch
  -- strict thread matches above, loose matches on Subject: below --
2025-05-20 18:39 [PATCH 0/4] " Vincent Knecht via B4 Relay
2025-05-20 18:39 ` [PATCH 4/4] arm64: dts: qcom: msm8939: Add camss and cci Vincent Knecht via B4 Relay
2025-05-20 19:23   ` Bryan O'Donoghue
2025-05-20 19:53     ` Dmitry Baryshkov
2025-05-20 20:16       ` Bryan O'Donoghue
2025-05-20 19:30   ` Vladimir Zapolskiy
2025-05-20 19:52     ` Dmitry Baryshkov
2025-05-20 20:11   ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox