More V4L2 camera sensor patches
Hi Mauro,
Here's a fairly large number of mostly camera sensor related patches. In particular, there is rotation and flipping alignment across drivers, improvements to ipu3-cio2 driver (more supported camera sensors), improvements to the CCS driver amd V4L2 fwnode framework, a V4L2 async fix, additional mode for the hi556 driver, DT binding cleanups, removing support for old rcar-vin devices and fixes for a number of sensor drivers.
Please pull.
The following changes since commit 71937240a472ee551ac8de0e7429b9d49884a388:
media: ov2685: Select VIDEO_V4L2_SUBDEV_API (2023-03-20 16:32:18 +0100)
are available in the Git repository at:
git://linuxtv.org/sailus/media_tree.git tags/for-6.4-2.1-signed
for you to fetch changes up to 324b83208c9d5839bf6fdbaaae0cb4d2456f22a5:
media: i2c: imx290: Add missing \n on dev_err_probe() message (2023-04-07 19:50:10 +0300)
----------------------------------------------------------------
V4L2 patches for 6.4
----------------------------------------------------------------
Alexander Stein (1):
media: i2c: imx290: Add missing \n on dev_err_probe() message
Bingbu Cao (2):
media: ipu3-cio2: support multiple sensors and VCMs with same HID
media: ipu3-cio2: support more camera sensors in cio2-bridge
Christophe JAILLET (1):
media: i2c: ov7670: Use the devm_clk_get_optional() helper
Jacopo Mondi (2):
media: imx258: Register H/V flip controls
media: imx258: Remove mandatory 180 degrees rotation
Jason Kim (1):
media: mc-device: remove unnecessary __must_check
Jim Lai (1):
media: hi556: add 2592x1444 resolution
Krzysztof Kozlowski (1):
media: venus: drop unused opp_table field documentation
Laurent Pinchart (3):
media: i2c: adv7604: Enable video adjustment
media: i2c: adv7604: Fix range of hue control
media: Accept non-subdev sinks in v4l2_create_fwnode_links_to_pad()
Luca Weiss (3):
media: dt-bindings: media: rkisp1: complete ov2685 example
media: dt-bindings: ov2685: convert to dtschema
media: i2c: ov2685: Make reset gpio optional
Ricardo Ribalda (1):
media: ov8856: Do not check for for module version
Rob Herring (2):
media: dt-bindings: Drop unneeded quotes
media: Use of_property_present() for testing DT property presence
Sakari Ailus (9):
media: v4l: async: Return async sub-devices to subnotifier list
MAINTAINERS: Assume ov8856 driver maintainership
media: dt-bindings: ov8856: Assign maintainership to myself
media: ccs: Align flipping behaviour with other drivers
media: ccs: Add V4L2 controls from properties
media: ccs: Support 16-bit sensor revision number register
media: ccs: Apply module manufacturer hack on non-CCS devices only
media: ccs: Differentiate SMIA and MIPI vendors in static data
media: ccs: Document CCS static data file names
Wei Chen (1):
media: hi846: Fix memleak in hi846_init_controls()
Wolfram Sang (3):
media: rcar-vin: remove R-Car H3 ES1.* handling
media: rcar-vin: csi2: remove R-Car H3 ES1.* handling
media: renesas: fdp1: remove R-Car H3 ES1.* handling
Yang Li (1):
media: atmel: atmel-isc: Use devm_platform_ioremap_resource()
.../bindings/media/allwinner,sun4i-a10-ir.yaml | 2 +- .../bindings/media/allwinner,sun50i-h6-vpu-g2.yaml | 4 +- .../bindings/media/amlogic,axg-ge2d.yaml | 4 +- .../devicetree/bindings/media/amlogic,gx-vdec.yaml | 4 +- .../bindings/media/amlogic,meson-ir-tx.yaml | 4 +- .../bindings/media/i2c/chrontel,ch7322.yaml | 4 +- .../bindings/media/i2c/dongwoon,dw9768.yaml | 6 +- .../bindings/media/i2c/maxim,max9286.yaml | 2 +- .../devicetree/bindings/media/i2c/ov2685.txt | 41 ------ .../devicetree/bindings/media/i2c/ov8856.yaml | 2 +- .../bindings/media/i2c/ovti,ov02a10.yaml | 2 +- .../devicetree/bindings/media/i2c/ovti,ov2685.yaml | 101 +++++++++++++ .../bindings/media/mediatek,mdp3-rdma.yaml | 2 +- .../media/mediatek,vcodec-subdev-decoder.yaml | 4 +- .../bindings/media/microchip,sama5d4-vdec.yaml | 4 +- .../devicetree/bindings/media/nxp,imx8mq-vpu.yaml | 4 +- .../bindings/media/qcom,msm8916-camss.yaml | 4 +- .../bindings/media/qcom,msm8996-camss.yaml | 4 +- .../bindings/media/qcom,sdm660-camss.yaml | 4 +- .../bindings/media/qcom,sdm845-camss.yaml | 4 +- .../bindings/media/qcom,sm8250-camss.yaml | 4 +- Documentation/devicetree/bindings/media/rc.yaml | 2 +- .../bindings/media/rockchip,rk3568-vepu.yaml | 4 +- .../devicetree/bindings/media/rockchip-isp1.yaml | 19 ++- .../devicetree/bindings/media/rockchip-vpu.yaml | 4 +- .../devicetree/bindings/media/ti,cal.yaml | 2 +- Documentation/driver-api/media/drivers/ccs/ccs.rst | 22 +++ MAINTAINERS | 3 +- drivers/media/i2c/adv7604.c | 5 +- drivers/media/i2c/ccs/ccs-core.c | 157 +++++++++++---------- drivers/media/i2c/ccs/ccs.h | 14 -- drivers/media/i2c/hi556.c | 150 +++++++++++++++++++- drivers/media/i2c/hi846.c | 11 +- drivers/media/i2c/imx258.c | 22 +-- drivers/media/i2c/imx290.c | 2 +- drivers/media/i2c/ov2685.c | 2 +- drivers/media/i2c/ov7670.c | 11 +- drivers/media/i2c/ov8856.c | 40 ------ drivers/media/mc/mc-device.c | 3 +- drivers/media/pci/intel/ipu3/cio2-bridge.c | 23 ++- drivers/media/pci/intel/ipu3/cio2-bridge.h | 3 +- .../media/platform/mediatek/jpeg/mtk_jpeg_core.c | 2 +- .../platform/mediatek/vcodec/mtk_vcodec_dec_drv.c | 2 +- .../platform/mediatek/vcodec/mtk_vcodec_enc_drv.c | 2 +- drivers/media/platform/qcom/venus/core.h | 1 - .../media/platform/renesas/rcar-vin/rcar-core.c | 36 ----- .../media/platform/renesas/rcar-vin/rcar-csi2.c | 15 +- drivers/media/platform/renesas/rcar_fdp1.c | 4 - drivers/media/platform/xilinx/xilinx-vtc.c | 2 +- drivers/media/usb/au0828/au0828-core.c | 9 +- drivers/media/v4l2-core/v4l2-async.c | 13 +- drivers/media/v4l2-core/v4l2-mc.c | 15 +- .../media/deprecated/atmel/atmel-sama5d2-isc.c | 4 +- .../media/deprecated/atmel/atmel-sama7g5-isc.c | 4 +- include/media/media-device.h | 5 +- include/media/v4l2-mc.h | 8 +- 56 files changed, 492 insertions(+), 339 deletions(-) delete mode 100644 Documentation/devicetree/bindings/media/i2c/ov2685.txt create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml
Signature · 3 lines
Kind regards, Sakari Ailus
Re: [GIT PULL FOR 6.4] More V4L2 camera sensor patches (#91151)
From: [email protected]
Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/[email protected]/
Build log: https://builder.linuxtv.org/job/patchwork/295737/
Build time: 00:55:24
gpg: Signature made Fri 07 Apr 2023 04:50:37 PM UTC gpg: using DSA key 53AC58A5F5948636C04A1BF8141DFA54A1EC8DEA gpg: issuer "[email protected]" gpg: Good signature from "Sakari Ailus <[email protected]>" [full]
Summary: got 4/32 patches with issues, being 3 at build time, plus one error when buinding PDF document
Error/warnings:
patches/0001-media-v4l-async-Return-async-sub-devices-to-subnotif.patch:
allyesconfig: return code #0:
../scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
../scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
../scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples ../drivers/staging/media/atomisp/i2c/atomisp-ov2680.c:415 ov2680_s_stream() warn: missing error code 'ret' ../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3357 atomisp_cp_dvs_6axis_config() warn: missing unwind goto? ../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3456 atomisp_cp_morph_table() warn: missing unwind goto?
allyesconfig: return code #0:
../drivers/media/i2c/adp1653.c: ../drivers/media/i2c/adp1653.c:444 adp1653_of_init() warn: missing unwind goto? ../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c: ../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c:2490 mxc_jpeg_probe() warn: missing unwind goto? SMATCH:../drivers/media/usb/siano/smsusb.c ../drivers/media/usb/siano/smsusb.c:53:38: :warning: array of flexible structures ../drivers/media/i2c/ov5645.c: ../drivers/media/i2c/ov5645.c:687 ov5645_set_power_on() warn: 'ov5645->xclk' from clk_prepare_enable() not released on lines: 687. ../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: OOM: 3000012Kb sm_state_count = 1977337 ../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() warn: Function too hairy. No more merges. ../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: __split_smt: function too hairy. Giving up after 58 seconds ../drivers/media/usb/pvrusb2/pvrusb2-hdw.c: ../drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3293 pvr2_hdw_get_tuner_status() warn: inconsistent indenting ../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2890 em28xx_v4l2_init() parse error: turning off implications after 60 seconds
patches/0006-media-mc-device-remove-unnecessary-__must_check.patch:
allyesconfig: return code #0:
../drivers/staging/media/atomisp/i2c/atomisp-ov2680.c:415 ov2680_s_stream() warn: missing error code 'ret' ../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3357 atomisp_cp_dvs_6axis_config() warn: missing unwind goto? ../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3456 atomisp_cp_morph_table() warn: missing unwind goto?
allyesconfig: return code #0:
../drivers/media/i2c/adp1653.c: ../drivers/media/i2c/adp1653.c:444 adp1653_of_init() warn: missing unwind goto? ../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c: ../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c:2490 mxc_jpeg_probe() warn: missing unwind goto? SMATCH:../drivers/media/usb/siano/smsusb.c ../drivers/media/usb/siano/smsusb.c:53:38: :warning: array of flexible structures ../drivers/media/i2c/ov5645.c: ../drivers/media/i2c/ov5645.c:687 ov5645_set_power_on() warn: 'ov5645->xclk' from clk_prepare_enable() not released on lines: 687. ../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: OOM: 3000016Kb sm_state_count = 1974918 ../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() warn: Function too hairy. No more merges. ../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: __split_smt: function too hairy. Giving up after 54 seconds ../drivers/media/usb/pvrusb2/pvrusb2-hdw.c: ../drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3293 pvr2_hdw_get_tuner_status() warn: inconsistent indenting
checkpatch.pl:
$ cat patches/0006-media-mc-device-remove-unnecessary-__must_check.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
-:30: CHECK: Alignment should match open parenthesis
-:49: CHECK: Alignment should match open parenthesis
-:70: CHECK: Alignment should match open parenthesis
-:78: CHECK: Please use a blank line after function/struct/union/enum declarations
-:78: CHECK: Lines should not end with a '('patches/0008-media-dt-bindings-ov2685-convert-to-dtschema.patch:
checkpatch.pl:
$ cat patches/0008-media-dt-bindings-ov2685-convert-to-dtschema.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict -:31: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst -:74: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst
patches/0012-media-Accept-non-subdev-sinks-in-v4l2_create_fwnode_.patch:
allyesconfig: return code #0: ../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: OOM: 3000016Kb sm_state_count = 1974661 ../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() warn: Function too hairy. No more merges. ../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: __split_smt: function too hairy. Giving up after 54 seconds ../drivers/media/usb/pvrusb2/pvrusb2-hdw.c: ../drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3293 pvr2_hdw_get_tuner_status() warn: inconsistent indenting ../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2864 em28xx_v4l2_init() parse error: turning off implications after 60 seconds
Error #512 when building PDF docs