mbox series

[GIT,PULL,for,5.11] V4L2 cleanups and fixes mostly

Message ID 20201030125658.GD6899@valkosipuli.retiisi.org.uk (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL,for,5.11] V4L2 cleanups and fixes mostly | expand

Pull-request

git://linuxtv.org/sailus/media_tree.git tags/for-5.11-1-signed

Message

Sakari Ailus Oct. 30, 2020, 12:56 p.m. UTC
Hi Mauro,

Here's a big bunch of mostly camera sensor related patches for v5.11.

It's mostly fixes and cleanups (getting subdev pointer with less hassle, 22
of the patches). There are also fwnode fixes (bus-type parsing), improved
documentation and ipu3-cio2 fixes. Also there's a new 160x120 mode for
ov5640, and quite a few bindings are converted to YAML.

Please pull.


The following changes since commit dfe3d19bd092cefb184c6e65b881602c793edd33:

  Merge tag 'v5.10-rc1' into patchwork (2020-10-29 09:03:21 +0100)

are available in the Git repository at:

  git://linuxtv.org/sailus/media_tree.git tags/for-5.11-1-signed

for you to fetch changes up to a3cb874e0eff5bd469c2ec0bd51d19b26ac59a71:

  imx258: Remove Jason Chen's e-mail (2020-10-30 12:22:38 +0200)

----------------------------------------------------------------
V4L2 patches for 5.11

----------------------------------------------------------------
Alain Volmat (1):
      media: stm32-dcmi: add 8-bit Bayer formats support

Bingbu Cao (1):
      media: ov2740: change the minimal exposure value to 4

Etienne Carriere (1):
      media: stm32-dcmi: don't print an error on probe deferral

Eugen Hristev (2):
      media: imx274: remove binning enum
      media: imx274: add support for sensor mode6, 1280x540

Hugues Fruchet (3):
      media: ov5640: add support of 160x120 resolution
      media: stm32-dcmi: remove deprecated dmaengine_terminate_all()
      media: ov5640: fix support of BT656 bus mode

Jacopo Mondi (5):
      dt-bindings: media: mt9v111: Convert to json-schema
      dt-bindings: media: imx214: Convert to json-schema
      dt-bindings: media: ov772x: Convert to json-schema
      dt-bindings: media: ov772x: Make bus-type mandatory
      dt-bindings: media: ov772x: Document endpoint props

Kieran Bingham (1):
      media: v4l2-async: Fix trivial documentation typo

Krzysztof Kozlowski (24):
      media: i2c: imx219: simplify getting state container
      media: i2c: imx290: simplify getting state container
      media: i2c: imx319: simplify getting state container
      media: i2c: imx319: silence unused acpi_device_id warning
      media: i2c: imx355: simplify getting state container
      media: i2c: imx355: silence unused acpi_device_id warning
      media: i2c: ad5820: simplify getting state container
      media: i2c: adp1653: simplify getting state container
      media: i2c: adv7180: simplify getting state container
      media: i2c: ak7375: simplify getting state container
      media: i2c: dw9768: simplify getting state container
      media: i2c: et8ek8: simplify getting state container
      media: i2c: hi556: simplify getting state container
      media: i2c: ov13858: simplify getting state container
      media: i2c: ov2680: simplify getting state container
      media: i2c: ov2685: simplify getting state container
      media: i2c: ov2740: simplify getting state container
      media: i2c: ov5670: simplify getting state container
      media: i2c: ov5675: simplify getting state container
      media: i2c: ov5695: simplify getting state container
      media: i2c: ov7740: simplify getting state container
      media: i2c: ov8856: simplify getting state container
      media: i2c: smiapp: simplify getting state container
      media: i2c: tvp5150: simplify getting state container

Lad Prabhakar (4):
      media: v4l2-fwnode: Return -EINVAL for invalid bus-type
      media: i2c: ov772x: Parse endpoint properties
      media: i2c: ov772x: Add support for BT.656 mode
      media: i2c: ov772x: Add test pattern control

Niklas Söderlund (5):
      dt-bindings: adv7604: Fix documentation for hpd-gpios
      dt-bindings: adv7604: Convert bindings to json-schema
      MAINTAINERS: Add ADV7604 bindings documentation
      rcar-csi2: Switch to using fwnode instead of OF
      rcar-csi2: Set bus type when parsing fwnode

Philipp Zabel (1):
      media: dt-bindings: convert CODA VPU bindings to yaml

Sakari Ailus (20):
      adv748x: Zero entire struct v4l2_fwnode_endpoint
      v4l2-fwnode: v4l2_fwnode_endpoint_parse caller must init vep argument
      v4l2-fwnode: Don't zero parts of struct v4l2_fwnode_endpoint anymore
      v4l2-fwnode: Rework v4l2_fwnode_endpoint_parse documentation
      v4l2-fwnode: Say it's fine to use v4l2_fwnode_endpoint_parse
      v4l: subdev: Improve link format validation debug messages
      ipu3-cio2: Return actual subdev format
      ipu3-cio2: Serialise access to pad format
      ipu3-cio2: Validate mbus format in setting subdev format
      ipu3-cio2: Make the field on subdev format V4L2_FIELD_NONE
      ipu3-cio2: Use unsigned values where appropriate
      ipu3-cio2: Remove explicit type from frame size checks
      ipu3-cio2: Rename CIO2_IMAGE_MAX_LENGTH as CIO2_IMAGE_MAX_HEIGHT
      ipu3-cio2: Remove traces of returned buffers
      ipu3-cio2: Check receved the size against payload size, not buffer size
      Documentation: v4l: Fix language
      Documentation: v4l: Document required controls on camera sensors
      v4l: Add a helper for obtaining the link frequency
      ipu3-cio2: Use v4l2_get_link_freq helper
      imx258: Remove Jason Chen's e-mail

Sergey Senozhatsky (1):
      media: ov2740: select regmap

Sowjanya Komatineni (3):
      media: i2c: imx274: Fix Y_OUT_SIZE register setting
      media: i2c: imx274: Remove stop stream i2c writes during remove
      media: i2c: imx274: Add IMX274 power on and off sequence

Tom Rix (1):
      media: ov7670: do not aggregate returns

 Documentation/devicetree/bindings/media/coda.txt   |  31 ---
 Documentation/devicetree/bindings/media/coda.yaml  | 108 ++++++++
 .../devicetree/bindings/media/i2c/adv7604.txt      |  88 -------
 .../devicetree/bindings/media/i2c/adv7604.yaml     | 178 +++++++++++++
 .../bindings/media/i2c/aptina,mt9v111.txt          |  46 ----
 .../bindings/media/i2c/aptina,mt9v111.yaml         |  75 ++++++
 .../devicetree/bindings/media/i2c/ov772x.txt       |  40 ---
 .../devicetree/bindings/media/i2c/ovti,ov772x.yaml | 134 ++++++++++
 .../devicetree/bindings/media/i2c/sony,imx214.txt  |  53 ----
 .../devicetree/bindings/media/i2c/sony,imx214.yaml | 133 ++++++++++
 Documentation/driver-api/media/camera-sensor.rst   |  13 +
 Documentation/driver-api/media/csi2.rst            |   7 +-
 MAINTAINERS                                        |   9 +-
 drivers/media/i2c/Kconfig                          |   1 +
 drivers/media/i2c/ad5820.c                         |   6 +-
 drivers/media/i2c/adp1653.c                        |   6 +-
 drivers/media/i2c/adv7180.c                        |   6 +-
 drivers/media/i2c/adv748x/adv748x-core.c           |   3 +-
 drivers/media/i2c/ak7375.c                         |   7 +-
 drivers/media/i2c/dw9768.c                         |   6 +-
 drivers/media/i2c/et8ek8/et8ek8_driver.c           |   8 +-
 drivers/media/i2c/hi556.c                          |   6 +-
 drivers/media/i2c/imx219.c                         |  16 +-
 drivers/media/i2c/imx258.c                         |   2 +-
 drivers/media/i2c/imx274.c                         | 280 +++++++++++++++------
 drivers/media/i2c/imx290.c                         |  10 +-
 drivers/media/i2c/imx319.c                         |   8 +-
 drivers/media/i2c/imx355.c                         |   8 +-
 drivers/media/i2c/ov13858.c                        |   6 +-
 drivers/media/i2c/ov2680.c                         |   6 +-
 drivers/media/i2c/ov2685.c                         |   6 +-
 drivers/media/i2c/ov2740.c                         |   8 +-
 drivers/media/i2c/ov5640.c                         | 108 +++++---
 drivers/media/i2c/ov5670.c                         |   6 +-
 drivers/media/i2c/ov5675.c                         |   6 +-
 drivers/media/i2c/ov5695.c                         |   6 +-
 drivers/media/i2c/ov7670.c                         |  96 ++++---
 drivers/media/i2c/ov772x.c                         |  71 +++++-
 drivers/media/i2c/ov7740.c                         |   6 +-
 drivers/media/i2c/ov8856.c                         |   6 +-
 drivers/media/i2c/smiapp/smiapp-core.c             |  28 +--
 drivers/media/i2c/tvp5150.c                        |   6 +-
 drivers/media/pci/intel/ipu3/ipu3-cio2.c           | 111 ++++----
 drivers/media/pci/intel/ipu3/ipu3-cio2.h           | 157 ++++++------
 drivers/media/platform/rcar-vin/rcar-csi2.c        |  18 +-
 drivers/media/platform/stm32/stm32-dcmi.c          |  26 +-
 drivers/media/v4l2-core/v4l2-common.c              |  33 +++
 drivers/media/v4l2-core/v4l2-fwnode.c              |  18 +-
 drivers/media/v4l2-core/v4l2-subdev.c              |  48 +++-
 include/media/v4l2-async.h                         |   2 +-
 include/media/v4l2-common.h                        |  21 ++
 include/media/v4l2-fwnode.h                        |  74 ++++--
 include/media/v4l2-mediabus.h                      |   2 +
 53 files changed, 1435 insertions(+), 728 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/media/coda.txt
 create mode 100644 Documentation/devicetree/bindings/media/coda.yaml
 delete mode 100644 Documentation/devicetree/bindings/media/i2c/adv7604.txt
 create mode 100644 Documentation/devicetree/bindings/media/i2c/adv7604.yaml
 delete mode 100644 Documentation/devicetree/bindings/media/i2c/aptina,mt9v111.txt
 create mode 100644 Documentation/devicetree/bindings/media/i2c/aptina,mt9v111.yaml
 delete mode 100644 Documentation/devicetree/bindings/media/i2c/ov772x.txt
 create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov772x.yaml
 delete mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx214.txt
 create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml

Comments

Jenkins Oct. 30, 2020, 1:46 p.m. UTC | #1
From: builder@linuxtv.org

Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/20201030125658.GD6899@valkosipuli.retiisi.org.uk/
Build log: https://builder.linuxtv.org/job/patchwork/74835/
Build time: 00:34:38
Link: https://lore.kernel.org/linux-media/20201030125658.GD6899@valkosipuli.retiisi.org.uk

gpg: Signature made Fri 30 Oct 2020 12:47:54 PM UTC
gpg:                using DSA key 53AC58A5F5948636C04A1BF8141DFA54A1EC8DEA
gpg:                issuer "sakari.ailus@linux.intel.com"
gpg: Can't check signature: No public key

Summary: got 14/73 patches with issues, being 0 at build time, plus one error when buinding PDF document

Error/warnings:

patches/0027-media-ov2740-select-regmap.patch:

   checkpatch.pl:
	$ cat patches/0027-media-ov2740-select-regmap.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:8: WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)

patches/0034-dt-bindings-media-mt9v111-Convert-to-json-schema.patch:

   checkpatch.pl:
	$ cat patches/0034-dt-bindings-media-mt9v111-Convert-to-json-schema.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:25: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst
	-:73: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst

patches/0035-dt-bindings-media-imx214-Convert-to-json-schema.patch:

   checkpatch.pl:
	$ cat patches/0035-dt-bindings-media-imx214-Convert-to-json-schema.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:25: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst
	-:80: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst

patches/0036-dt-bindings-media-ov772x-Convert-to-json-schema.patch:

   checkpatch.pl:
	$ cat patches/0036-dt-bindings-media-ov772x-Convert-to-json-schema.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:26: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst
	-:68: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst

patches/0039-media-dt-bindings-convert-CODA-VPU-bindings-to-yaml.patch:

   checkpatch.pl:
	$ cat patches/0039-media-dt-bindings-convert-CODA-VPU-bindings-to-yaml.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:50: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst
	-:83: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst

patches/0045-dt-bindings-adv7604-Fix-documentation-for-hpd-gpios.patch:

   checkpatch.pl:
	$ cat patches/0045-dt-bindings-adv7604-Fix-documentation-for-hpd-gpios.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:11: WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)

patches/0046-dt-bindings-adv7604-Convert-bindings-to-json-schema.patch:

   checkpatch.pl:
	$ cat patches/0046-dt-bindings-adv7604-Convert-bindings-to-json-schema.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:22: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
	-:25: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst
	-:114: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst

patches/0047-MAINTAINERS-Add-ADV7604-bindings-documentation.patch:

   checkpatch.pl:
	$ cat patches/0047-MAINTAINERS-Add-ADV7604-bindings-documentation.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:25: WARNING: Misordered MAINTAINERS entry - list file patterns in alphabetic order

patches/0054-ipu3-cio2-Return-actual-subdev-format.patch:

   checkpatch.pl:
	$ cat patches/0054-ipu3-cio2-Return-actual-subdev-format.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:16: WARNING: email address 'stable@vger.kernel.org # v4.16 and up' might be better as 'stable@vger.kernel.org# v4.16 and up'

patches/0055-ipu3-cio2-Serialise-access-to-pad-format.patch:

   checkpatch.pl:
	$ cat patches/0055-ipu3-cio2-Serialise-access-to-pad-format.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:13: WARNING: email address 'stable@vger.kernel.org # v4.16 and up' might be better as 'stable@vger.kernel.org# v4.16 and up'

patches/0056-ipu3-cio2-Validate-mbus-format-in-setting-subdev-for.patch:

   checkpatch.pl:
	$ cat patches/0056-ipu3-cio2-Validate-mbus-format-in-setting-subdev-for.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:15: WARNING: email address 'stable@vger.kernel.org # v4.16 and up' might be better as 'stable@vger.kernel.org# v4.16 and up'

patches/0057-ipu3-cio2-Make-the-field-on-subdev-format-V4L2_FIELD.patch:

   checkpatch.pl:
	$ cat patches/0057-ipu3-cio2-Make-the-field-on-subdev-format-V4L2_FIELD.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:14: WARNING: email address 'stable@vger.kernel.org # v4.16 and up' might be better as 'stable@vger.kernel.org# v4.16 and up'

patches/0058-ipu3-cio2-Use-unsigned-values-where-appropriate.patch:

   checkpatch.pl:
	$ cat patches/0058-ipu3-cio2-Use-unsigned-values-where-appropriate.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:110: CHECK: Macro argument reuse 'dma' - possible side-effects?

patches/0061-ipu3-cio2-Remove-traces-of-returned-buffers.patch:

   checkpatch.pl:
	$ cat patches/0061-ipu3-cio2-Remove-traces-of-returned-buffers.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:12: WARNING: email address 'stable@vger.kernel.org # v4.16 and up' might be better as 'stable@vger.kernel.org# v4.16 and up'


Error #512 when building PDF docs