media: qcom: camss: Add SM8350 CAMSS support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dt-bindings: media: Add Qualcomm SM8350 CAMSSDocumentation/ | +262 | 2 replies | |
| 2/4 | media: qcom: camss: Select Titan 480 CSID offset by VFE typedrivers/ | +1 | 1 reply | |
| 3/4 | media: qcom: camss: Add SM8350 CAMSS supportdrivers/ drivers/ drivers/ +1 more | +218 | 1 reply | |
| 4/4 | arm64: dts: qcom: sm8350: Add CAMSS device tree nodearch/ | +110 | 1 reply |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Bryan O'Donoghue | Krzysztof Kozlowski |
|---|---|---|
| 1/4 | R-b | R-b |
| 2/4 | R-b | |
| 3/4 | R-b | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] media: qcom: camss: Add SM8350 CAMSS support
Add support of the camera subsystem (CAMSS) found on Qualcomm SM8350 SoC containing:
* three CSID and two CSID lite blocks,
* three VFE and two VFE lite blocks.
The SM8350 CSID and VFE block are programmed like on SM8250.
The series depends on the SM8350 camera clock controller support and on the change from SM8450 CAMSS series, which allows CSI2 PHY devices without CSIPHY resources:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/
SM8350 CSIPHYs are described as separate CSI2 PHY devices, and their support will be added separately along with their connection to the CAMSS input ports.
Tested on SM8350-HDK with the CSID internal test pattern generator, the GCC camera HF AXI and the IFE lite AXI clocks are described in the device tree bindings, but apparently they are not needed to stream from TPG:
media-ctl -d /dev/media0 -r
media-ctl -d /dev/media0 -l '"msm_csid0":1->"msm_vfe0_rdi0":0[1]'
media-ctl -d /dev/media0 \
-V '"msm_csid0":0[fmt:SRGGB10_1X10/1920x1080 field:none]'
media-ctl -d /dev/media0 \
-V '"msm_vfe0_rdi0":0[fmt:SRGGB10_1X10/1920x1080 field:none]'
CSID0=$(media-ctl -d /dev/media0 -e msm_csid0)
VID0=$(media-ctl -d /dev/media0 -e msm_vfe0_video0)
v4l2-ctl -d $CSID0 -c test_pattern=9
yavta -B capture-mplane -c10 -n5 -I -f SRGGB10P -s 1920x1080 -F $VID0Vladimir Zapolskiy (4):
dt-bindings: media: Add Qualcomm SM8350 CAMSS
media: qcom: camss: Select Titan 480 CSID offset by VFE type
media: qcom: camss: Add SM8350 CAMSS support
arm64: dts: qcom: sm8350: Add CAMSS device tree node
.../bindings/media/qcom,sm8350-camss.yaml | 262 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sm8350.dtsi | 110 ++++++++ .../media/platform/qcom/camss/camss-csid.c | 5 +- drivers/media/platform/qcom/camss/camss-vfe.c | 2 + drivers/media/platform/qcom/camss/camss.c | 213 ++++++++++++++ drivers/media/platform/qcom/camss/camss.h | 1 + 6 files changed, 591 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/qcom,sm8350-camss.yaml
Signature · 1 line
2.51.0