CSI2RX support on J721E and AM62
Get series with b4
b4 am [email protected] change-id 20230727-upstream_csi-acbeabe038d8Versions newest first
- v10 Latest13 patches 0 repliesNew
- v913 patches 16 repliesSuperseded
- v816 patches 25 repliesSuperseded
Changes in v10 from the cover letter
===============
Patches in v10 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | media: dt-bindings: Make sure items in data-lanes are uniqueDocumentation/ | +1 | 0 replies | |
| 2/13 | media: dt-bindings: cadence-csi2rx: Add TI compatible stringDocumentation/ | +1 | 0 replies | |
| 3/13 | media: cadence: csi2rx: Unregister v4l2 async notifierdrivers/ | +6 | 0 replies | |
| 4/13 | media: cadence: csi2rx: Cleanup media entity properlydrivers/ | +2 | 0 replies | |
| 5/13 | media: cadence: csi2rx: Add get_fmt and set_fmt pad opsdrivers/ | +95 | 0 replies | |
| 6/13 | media: cadence: csi2rx: Configure DPHY using link freqdrivers/ | +24 | 0 replies | |
| 7/13 | media: cadence: csi2rx: Soft reset the streams before starting capturedrivers/ | +13 | 0 replies | |
| 8/13 | media: cadence: csi2rx: Set the STOP bit when stopping a streamdrivers/ | +18 | 0 replies | |
| 9/13 | media: cadence: csi2rx: Fix stream data configurationdrivers/ | +5 | 0 replies | |
| 10/13 | media: cadence: csi2rx: Populate subdev devnodedrivers/ | +1 | 0 replies | |
| 11/13 | media: cadence: csi2rx: Add link validationdrivers/ | +5 | 0 replies | |
| 12/13 | media: dt-bindings: Add TI J721E CSI2RXDocumentation/ | +100 | 0 replies | |
| 13/13 | media: ti: Add CSI2RX support for J721EMAINTAINERS drivers/ drivers/ +2 more | +1181 | 0 replies |
Reviews trailers per patch
All 13 patches have a Reviewed-by or Acked-by.
| Patch | Julien Massot | Laurent Pinchart | Tomi Valkeinen | Maxime Ripard | Rob Herring | Krzysztof Kozlowski | Vaishnav Achath |
|---|---|---|---|---|---|---|---|
| 1/13 | T-b | R-b | R-b | R-b | A-b | ||
| 2/13 | T-b | R-b | R-b | A-b | |||
| 3/13 | T-b | R-b | R-b | R-b | |||
| 4/13 | T-b | R-b | R-b | R-b | |||
| 5/13 | T-b | R-b | R-b | R-b | |||
| 6/13 | T-b | R-b | R-b | R-b | |||
| 7/13 | T-b | R-b | R-b | R-b | |||
| 8/13 | T-b | R-b | R-b | R-b | |||
| 9/13 | T-b | R-b | R-b | R-b | |||
| 10/13 | T-b | R-b | R-b | R-b | |||
| 11/13 | T-b | R-b | R-b | R-b | |||
| 12/13 | T-b | R-b | R-b | ||||
| 13/13 | T-b | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.
Cover letter [PATCH v10 00/13] CSI2RX support on J721E and AM62
From: Pratyush Yadav <[email protected]>
Hi,
This series adds support for CSI2 capture on J721E. It includes some fixes to the Cadence CSI2RX driver, and adds the TI CSI2RX wrapper driver.
J721E CSI2RX driver can also be extended to support multi-stream capture, filtering different CSI Virtual Channels (VC) or Data Types (DT) to different DMA channels. A WIP series based on v7 is available for reference at https://github.com/jailuthra/linux/commits/csi_multi_wip
I will rebase the multi-stream patches on the current series (v10) and post them after this series is merged.
---
Changes in v10:
===============
Range-diff: https://gist.github.com/jailuthra/dab73c3949a6271cf3d0fd3d3b111c5b
For [05/13] media: cadence: csi2rx: Add get_fmt and set_fmt pad ops
- Remove redundant checks in set_fmt() as we ensure pad is SINK
For [13/13] media: ti: Add CSI2RX support for J721E
- Fix bug around YUV422 pixel ordering in setup_shim(). Now we passthrough the incoming order of pixels over MIPI (U->Y->V->Y etc.) when storing in memory
- Only allocate 32KiB of memory for the drain buffer, which is the upper bound of the PSI-L endpoint's internal FIFO storage (2048 x 128-bits)
- Allocate drain buffer in probe() instead of start_streaming()
- Set other colorspace/encoding properties in the initial device format
- Make the module compilable with COMPILE_TEST if Cadence dependencies are missing
- Address Laurent's review comments around naming and other minor comments
- Address Tomi's comments around better explaining the scenarios where DMA drain is required
- Change module/patch authorship to myself
- Link to v9: https://lore.kernel.org/r/[email protected]
---
Jai Luthra (2):
media: dt-bindings: cadence-csi2rx: Add TI compatible string
media: ti: Add CSI2RX support for J721E
Pratyush Yadav (11):
media: dt-bindings: Make sure items in data-lanes are unique
media: cadence: csi2rx: Unregister v4l2 async notifier
media: cadence: csi2rx: Cleanup media entity properly
media: cadence: csi2rx: Add get_fmt and set_fmt pad ops
media: cadence: csi2rx: Configure DPHY using link freq
media: cadence: csi2rx: Soft reset the streams before starting capture
media: cadence: csi2rx: Set the STOP bit when stopping a stream
media: cadence: csi2rx: Fix stream data configuration
media: cadence: csi2rx: Populate subdev devnode
media: cadence: csi2rx: Add link validation
media: dt-bindings: Add TI J721E CSI2RX
.../devicetree/bindings/media/cdns,csi2rx.yaml | 1 + .../bindings/media/ti,j721e-csi2rx-shim.yaml | 100 ++ .../bindings/media/video-interfaces.yaml | 1 + MAINTAINERS | 7 + drivers/media/platform/cadence/cdns-csi2rx.c | 176 ++- drivers/media/platform/ti/Kconfig | 12 + drivers/media/platform/ti/Makefile | 1 + drivers/media/platform/ti/j721e-csi2rx/Makefile | 2 + .../media/platform/ti/j721e-csi2rx/j721e-csi2rx.c | 1159 ++++++++++++++++++++ 9 files changed, 1452 insertions(+), 7 deletions(-)
---
base-commit: 2a860505b617cf8fda4ebff6cf05d3f774145440
change-id: 20230727-upstream_csi-acbeabe038d8
Best regards,
Signature · 1 line
Jai Luthra <[email protected]>