[git:media_tree/master] media: ov2740: Ensure proper reset sequence on probe()

2024-05-16 Thread Hans Verkuil
-by: Hans de Goede Tested-by: Stanislaw Gruszka Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2740.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) --- diff --git a/drivers/media/i2c/ov2740.c b/drivers/media/i2c/ov2740.c index 57906df7be4e

[git:media_tree/master] Merge tag 'media-fixes-unicam-20240510' of https://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux into media_stage

2024-05-16 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: Merge tag 'media-fixes-unicam-20240510' of https://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux into media_stage Author: Hans Verkuil Date:Fri May 10 09:53:11 2024 +0200 bcm2835

[git:media_tree/master] Revert "media: v4l2-ctrls: show all owned controls in log_status"

2024-05-16 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: Revert "media: v4l2-ctrls: show all owned controls in log_status" Author: Hans Verkuil Date:Fri May 10 09:11:46 2024 +0200 This reverts commit 9801b5b28c6929139d6fc8d739

[git:media_tree/master] media: bcm2835-unicam: Depend on COMMON_CLK

2024-05-16 Thread Hans Verkuil
COMMON_CLK. Fixes: 392cd78d495f ("media: bcm2835-unicam: Add support for CCP2/CSI2 camera interface") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202405112243.2mlrt7li-...@intel.com/ Signed-off-by: Laurent Pinchart Reviewed-by: Dave Stevenson Signed-of

[git:media_tree/master] media: intel/ipu6: Don't print user-triggerable errors to kernel log

2024-05-16 Thread Hans Verkuil
conditions that have no relation to driver or hardware issues. Fixes: 3c1dfb5a69cf ("media: intel/ipu6: input system video nodes and buffer queues") Signed-off-by: Sakari Ailus Reviewed-by: Bingbu Cao Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys-queue.c | 10 +---

Re: [PATCH v15 00/16] Add audio support in v4l2 framework

2024-05-15 Thread Hans Verkuil
Hi Jaroslav, On 5/13/24 13:56, Jaroslav Kysela wrote: > On 09. 05. 24 13:13, Jaroslav Kysela wrote: >> On 09. 05. 24 12:44, Shengjiu Wang wrote: > mem2mem is just like the decoder in the compress pipeline. which is > one of the components in the pipeline. I was thinking of

[git:media_stage/master] media: bcm2835-unicam: Depend on COMMON_CLK

2024-05-14 Thread Hans Verkuil
COMMON_CLK. Fixes: 392cd78d495f ("media: bcm2835-unicam: Add support for CCP2/CSI2 camera interface") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202405112243.2mlrt7li-...@intel.com/ Signed-off-by: Laurent Pinchart Reviewed-by: Dave Stevenson Signed-of

[git:edid-decode/master] edid-decode: minor modifications to README and emscripten path

2024-05-10 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: minor modifications to README and emscripten path Author: Hans Verkuil Date:Fri May 10 11:40:32 2024 +0200 Use 'build' and 'build-wasm' as the build directories (i.e

[git:edid-decode/master] edid-decode: build: add support for building with meson

2024-05-10 Thread Hans Verkuil
/install with meson * Fix installing for the wasm-build Signed-off-by: Sebastian Wick Signed-off-by: Hans Verkuil Makefile | 50 - README| 28 +++ emscripten/wasm-crossfile.txt | 14

[git:media_stage/master] media: ov2740: Ensure proper reset sequence on probe()

2024-05-10 Thread Hans Verkuil
-by: Hans de Goede Tested-by: Stanislaw Gruszka Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2740.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) --- diff --git a/drivers/media/i2c/ov2740.c b/drivers/media/i2c/ov2740.c index 57906df7be4e

[git:media_stage/master] media: intel/ipu6: Don't print user-triggerable errors to kernel log

2024-05-10 Thread Hans Verkuil
conditions that have no relation to driver or hardware issues. Fixes: 3c1dfb5a69cf ("media: intel/ipu6: input system video nodes and buffer queues") Signed-off-by: Sakari Ailus Reviewed-by: Bingbu Cao Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys-queue.c | 10 +---

[git:media_stage/master] Revert "media: v4l2-ctrls: show all owned controls in log_status"

2024-05-10 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: Revert "media: v4l2-ctrls: show all owned controls in log_status" Author: Hans Verkuil Date:Fri May 10 09:11:46 2024 +0200 This reverts commit 9801b5b28c6929139d6fc8d739

[git:media_stage/master] Merge tag 'media-fixes-unicam-20240510' of https://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux into media_stage

2024-05-10 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: Merge tag 'media-fixes-unicam-20240510' of https://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux into media_stage Author: Hans Verkuil Date:Fri May 10 09:53:11 2024 +0200 bcm2835

[git:v4l-utils/master] v4l-utils: test-media: add dmesg -n info before modprobes

2024-05-10 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l-utils: test-media: add dmesg -n info before modprobes Author: Hans Verkuil Date:Fri May 10 09:42:13 2024 +0200 Sometimes

Re: [PATCH v15 00/16] Add audio support in v4l2 framework

2024-05-08 Thread Hans Verkuil
On 06/05/2024 10:49, Shengjiu Wang wrote: > On Fri, May 3, 2024 at 4:42 PM Mauro Carvalho Chehab > wrote: >> >> Em Fri, 3 May 2024 10:47:19 +0900 >> Mark Brown escreveu: >> >>> On Thu, May 02, 2024 at 10:26:43AM +0100, Mauro Carvalho Chehab wrote: Mauro Carvalho Chehab escreveu: >>> >

[git:v4l-utils/master] v4l2-compliance: do not warn for unexpected vivid_ro_ctrl values

2024-05-08 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l2-compliance: do not warn for unexpected vivid_ro_ctrl values Author: Hans Verkuil Date:Wed May 8 08:59:46 2024 +0200 The vivid

[git:media_stage/master] media: uvcvideo: Refactor iterators

2024-05-04 Thread Hans Verkuil
Senozhatsky Reviewed-by: Laurent Pinchart Signed-off-by: Ricardo Ribalda Signed-off-by: Hans Verkuil drivers/media/usb/uvc/uvc_ctrl.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) --- diff --git a/drivers/media/usb/uvc/uvc_ctrl.c b/drivers/media/usb/uvc/uvc_ctrl.c

[git:media_stage/master] media: cec.h: Fix kerneldoc

2024-05-04 Thread Hans Verkuil
: warning: Function parameter or struct member 'is_claiming_log_addrs' not described in 'cec_adapter' Signed-off-by: Ricardo Ribalda Reviewed-by: Hans Verkuil Signed-off-by: Hans Verkuil include/media/cec.h | 1 + 1 file changed, 1 insertion(+) --- diff --git a/include/media/cec.h b/include

[git:media_stage/master] media: v4l: async: refactor v4l2_async_create_ancillary_links

2024-05-04 Thread Hans Verkuil
if CONFIG_MEDIA_CONTROLLER is not enabled. This makes cocci happier: drivers/media/v4l2-core/v4l2-async.c:331:23-30: ERROR: PTR_ERR applied after initialization to constant on line 319 Signed-off-by: Ricardo Ribalda Signed-off-by: Hans Verkuil drivers/media/v4l2-core/v4l2-async.c | 8 1 file changed, 4

Re: [PATCH v15 00/16] Add audio support in v4l2 framework

2024-04-30 Thread Hans Verkuil
On 30/04/2024 10:21, Sebastian Fricke wrote: > Hey Shengjiu, > > first of all thanks for all of this work and I am very sorry for only > emerging this late into the series, I sadly didn't notice it earlier. > > I would like to voice a few concerns about the general idea of adding > Audio support

[git:v4l-utils/master] sync-with-kernel.sh: add v4l2-dv-timings.h

2024-04-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: sync-with-kernel.sh: add v4l2-dv-timings.h Author: Hans Verkuil Date:Mon Apr 29 15:40:09 2024 +0200 The v4l2-dv-timings.h header

[git:media_stage/master] media: v4l: subdev: Copy argument back to user also for S_ROUTING

2024-04-29 Thread Hans Verkuil
array arguments back to the user. Signed-off-by: Sakari Ailus Reviewed-by: Julien Massot Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/v4l2-core/v4l2-ioctl.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) --- diff --git a/drivers/media/v4l2-core/v4l2

[git:media_stage/master] media: uapi: Add generic serial metadata mbus formats

2024-04-29 Thread Hans Verkuil
is that these formats are parsed by software only, after capturing the data to system memory. Also add a definition for "Data Unit" to cover what is essentially a pixel but is not image data. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil Documentation/use

[git:media_stage/master] media: v4l2-subdev: Clearly document that the crop API won't be extended

2024-04-29 Thread Hans Verkuil
, deprecated by the selection API. Despite this, it has recently been extended with streams support. In hindsight this was a mistake. Make sure it doesn't happen again by clearly documenting that no new extensions will be accepted. Suggested-by: Hans Verkuil Signed-off-by: Laurent Pinchart Acked

[git:media_stage/master] media: Documentation: Add "stream" into glossary

2024-04-29 Thread Hans Verkuil
ntation. Signed-off-by: Sakari Ailus Reviewed-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil Documentation/userspace-api/media/glossary.rst | 5 + 1 file changed, 5 insertions(+) --- diff --git a/Documentation/userspace-api/media/glossary.rst b/Documen

[git:media_stage/master] media: v4l: subdev: Add a function to lock two sub-device states, use it

2024-04-29 Thread Hans Verkuil
Reviewed-by: Julien Massot Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/v4l2-core/v4l2-subdev.c | 12 --- include/media/v4l2-subdev.h | 40 +++ 2 files changed, 44 insertions(+), 8 deletions(-) --- diff --git

[git:media_stage/master] media: Documentation: Additional streams generally don't harm capture

2024-04-29 Thread Hans Verkuil
Pinchart Signed-off-by: Hans Verkuil Documentation/userspace-api/media/v4l/dev-subdev.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- diff --git a/Documentation/userspace-api/media/v4l/dev-subdev.rst b/Documentation/userspace-api/media/v4l/dev-subdev.rst index f375b820ab68

[git:media_stage/master] media: uapi: v4l: Add generic 8-bit metadata format definitions

2024-04-29 Thread Hans Verkuil
pipeline where the internal pad of the source sub-device defines the specific format of the data (using an mbus code). Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil .../userspace-api/media/v4l/dev-subdev.rst | 2 + .../userspace-api/media/v4l/meta

[git:media_stage/master] media: v4l: Set line based metadata flag in V4L2 core

2024-04-29 Thread Hans Verkuil
based on the format after returning the driver callback for enumerating formats. This way the drivers don't need to care about the flag. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/v4l2-core/v4l2-ioctl.c | 16 include

[git:media_stage/master] media: uapi: Document which mbus format fields are valid for metadata

2024-04-29 Thread Hans Verkuil
to define which fields in struct v4l2_mbus_format are applicable to them (not many). Signed-off-by: Sakari Ailus Reviewed-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil .../userspace-api/media/v4l/subdev-formats.rst | 15 --- include/uapi

[git:media_stage/master] media: v4l: Support line-based metadata capture

2024-04-29 Thread Hans Verkuil
Pinchart Signed-off-by: Hans Verkuil Documentation/userspace-api/media/v4l/dev-meta.rst | 21 + .../userspace-api/media/v4l/vidioc-enum-fmt.rst | 7 +++ .../userspace-api/media/videodev2.h.rst.exceptions | 1 + drivers/media/v4l2-core/v4l2-ioctl.c| 5

[git:media_stage/master] media: Documentation: Document S_ROUTING behaviour

2024-04-29 Thread Hans Verkuil
that produce streams the streams are static and some can be enabled and disabled, whereas in devices that just transport them or write them to memory, more configurability is allowed. Document this. Signed-off-by: Sakari Ailus Reviewed-by: Julien Massot Reviewed-by: Laurent Pinchart Signed-off-by: Hans

[git:v4l-utils/master] utils: media-ctl: Support changed routing API

2024-04-29 Thread Hans Verkuil
v4l2_subdev_routing. ENOSPC error code is no longer used, i.e. having room for fewer routes than exist in the configuration is not considered an error anymore. Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil utils/media-ctl/libv4l2subdev.c | 4 +++- 1 file changed, 3 insertions(+), 1

[git:v4l-utils/master] v4l2-info: support V4L2_FMT_FLAG_META_LINE_BASED

2024-04-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l2-info: support V4L2_FMT_FLAG_META_LINE_BASED Author: Hans Verkuil Date:Mon Apr 29 15:07:28 2024 +0200 Detect if this flag

[git:v4l-utils/master] sync-with-kernel.sh: filter V4L2_META_FMT_GENERIC_ defines

2024-04-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: sync-with-kernel.sh: filter V4L2_META_FMT_GENERIC_ defines Author: Hans Verkuil Date:Mon Apr 29 15:04:37 2024 +0200 These meta

[git:v4l-utils/master] v4l-utils: sync-with-kernel

2024-04-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l-utils: sync-with-kernel Author: Hans Verkuil Date:Mon Apr 29 15:05:39 2024 +0200 Update v4l-utils to the latest kernel headers

[git:v4l-utils/master] v4l2-compliance: Add tests for V4L2_FMT_FLAG_META_LINE_BASED flag

2024-04-29 Thread Hans Verkuil
Signed-off-by: Hans Verkuil utils/v4l2-compliance/v4l2-test-formats.cpp | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=de8f9eeab55ff7e6b181f468a40282028aad89dd diff --git a/utils/v4l2-compliance/v4l2-test

[git:v4l-utils/master] v4l2-compliance: Support the changed routing API

2024-04-29 Thread Hans Verkuil
of struct v4l2_subdev_routing. ENOSPC error code is no longer used, i.e. having room for fewer routes than exist in the configuration is not considered an error anymore. Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil utils/v4l2-compliance/v4l2-compliance.cpp | 12 +++- utils

[git:media_stage/master] media: v4l: subdev: Add trivial set_routing support

2024-04-29 Thread Hans Verkuil
. Essentially this means returning the same information G_ROUTING call would have done. Signed-off-by: Sakari Ailus Co-developed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Reviewed-by: Julien Massot Signed-off-by: Hans Verkuil drivers/media/v4l2-core/v4l2-subdev.c | 14 ++ 1

[git:media_stage/master] media: v4l: Add V4L2-PIX-FMT-Y12P format

2024-04-29 Thread Hans Verkuil
-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst | 11 +++ drivers/media/v4l2-core/v4l2-ioctl.c | 1 + include/uapi/linux/videodev2.h

[git:media_stage/master] media: v4l: subdev: Add len_routes field to struct v4l2_subdev_routing

2024-04-29 Thread Hans Verkuil
manually patched the code to enable this uAPI must update their code. The patch also increases the number of reserved fields in struct v4l2_subdev_routing. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil .../media/v4l/vidioc-subdev-g-routing.rst

[git:media_stage/master] media: v4l: Add V4L2-PIX-FMT-Y14P format

2024-04-29 Thread Hans Verkuil
bytes in the documentation array. Signed-off-by: Jean-Michel Hautbois Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil .../userspace-api/media/v4l/pixfmt-yuv-luma.rst| 37 ++ drivers/media/v4l2-core

[git:media_stage/master] media: v4l: subdev: Return routes set using S_ROUTING

2024-04-29 Thread Hans Verkuil
this in documentation. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil .../userspace-api/media/v4l/vidioc-subdev-g-routing.rst | 7 ++- drivers/media/v4l2-core/v4l2-subdev.c| 12 +++- 2 files changed, 13 insertions(+), 6

[git:media_stage/master] dt-bindings: media: Add bindings for bcm2835-unicam

2024-04-29 Thread Hans Verkuil
Signed-off-by: Hans Verkuil .../bindings/media/brcm,bcm2835-unicam.yaml| 127 + MAINTAINERS| 6 + 2 files changed, 133 insertions(+) --- diff --git a/Documentation/devicetree/bindings/media/brcm,bcm2835-unicam.yaml b

[git:media_stage/master] media: bcm2835-unicam: Add support for CCP2/CSI2 camera interface

2024-04-29 Thread Hans Verkuil
-by: Jean-Michel Hautbois Signed-off-by: Jean-Michel Hautbois Co-developed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart [Sakari Ailus: Squash fixes by Laurent.] Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil MAINTAINERS|1 + drivers

[git:media_stage/master] media: ivsc: csi: Use IPU bridge

2024-04-29 Thread Hans Verkuil
-by: Hans Verkuil drivers/media/pci/intel/ivsc/mei_csi.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) --- diff --git a/drivers/media/pci/intel/ivsc/mei_csi.c b/drivers/media/pci/intel/ivsc/mei_csi.c index 55e0c60c420c..89b582a221ab 100644 --- a/drivers/media/pci

[git:media_stage/master] media: ipu6: Add PCI device table header

2024-04-29 Thread Hans Verkuil
bridge as well so place the table in a header. Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil include/media/ipu6-pci-table.h | 28 1 file changed, 28 insertions(+) --- diff --git a/include/media/ipu6-pci-table.h b/include/media/ipu6-pci-table.h new file mode

[git:media_stage/master] media: intel/ipu6: add Intel IPU6 PCI device driver

2024-04-29 Thread Hans Verkuil
Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-platform-regs.h | 179 + drivers/media/pci/intel/ipu6/ipu6.c | 922 ++ drivers/media/pci/intel/ipu6/ipu6.h | 342 3 files changed, 1443

[git:media_stage/master] media: intel/ipu6: add IPU auxiliary devices

2024-04-29 Thread Hans Verkuil
to implement the power sequence dependency. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-bus.c | 165 drivers/media/pci/intel/ipu6/ipu6-bus.h | 58 +++ 2 files changed, 223 insertions

[git:media_stage/master] media: intel/ipu6: add IPU6 buttress interface driver

2024-04-29 Thread Hans Verkuil
Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-buttress.c | 912 + drivers/media/pci/intel/ipu6/ipu6-buttress.h | 92 +++ .../pci/intel/ipu6/ipu6-platform-buttress-regs.h | 226 + 3 files changed, 1230 insertions(+) --- diff --git a/drivers

[git:media_stage/master] media: intel/ipu6: add syscom interfaces between firmware and driver

2024-04-29 Thread Hans Verkuil
to reside the read and write indices which are updated by consumer and producer. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-fw-com.c | 413 + drivers/media/pci/intel/ipu6/ipu6-fw-com.h | 47

[git:media_stage/master] media: intel/ipu6: input system ABI between firmware and driver

2024-04-29 Thread Hans Verkuil
stream configuration, control command, capture request and response. Signed-off-by: Bingbu Cao Co-developed-by: Sakari Ailus Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-fw-isys.c | 487 +++ drivers/media/pci/intel/ipu6/ipu6-fw

[git:media_stage/master] media: intel/ipu6: CPD parsing for get firmware components

2024-04-29 Thread Hans Verkuil
-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-cpd.c | 362 drivers/media/pci/intel/ipu6/ipu6-cpd.h | 105 + 2 files changed, 467 insertions(+) --- diff --git a/drivers/media/pci/intel/ipu6/ipu6-cpd.c b/drivers/media/pci/intel/ipu6/ipu6-cpd.c

[git:media_stage/master] media: intel/ipu6: add the main input system driver

2024-04-29 Thread Hans Verkuil
up device nodes. Signed-off-by: Bingbu Cao Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys.c | 1368 ++ drivers/media/pci/intel/ipu6/ipu6-isys.h | 206 + drivers/media/pci/intel/ipu6

[git:media_stage/master] media: intel/ipu6: add IPU6 DMA mapping API and MMU table

2024-04-29 Thread Hans Verkuil
-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-dma.c | 502 +++ drivers/media/pci/intel/ipu6/ipu6-dma.h | 19 + drivers/media/pci/intel/ipu6/ipu6-mmu.c | 845 drivers/media/pci/intel

[git:media_stage/master] media: intel/ipu6: add the CSI2 DPHY implementation

2024-04-29 Thread Hans Verkuil
for the hardware set in isys_probe(). Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys-dwc-phy.c | 536 + drivers/media/pci/intel/ipu6/ipu6-isys-jsl-phy.c | 242 drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c

[git:media_stage/master] media: intel/ipu6: add IPU6 CSI2 receiver v4l2 sub-device

2024-04-29 Thread Hans Verkuil
-device represent one single CSI2 hardware port which be linked with external sub-device such camera sensor by linked with ISYS CSI2's sink pad. The CSI2 source pad is linked to the sink pad of video capture device. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil

[git:media_stage/master] media: intel/ipu6: input system video nodes and buffer queues

2024-04-29 Thread Hans Verkuil
Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys-queue.c | 809 +++ drivers/media/pci/intel/ipu6/ipu6-isys-queue.h | 78 ++ drivers/media/pci/intel/ipu6/ipu6-isys-video.c | 1249 drivers/media/pci/intel/ipu6/ipu6-isys-video.h | 132

[git:media_stage/master] media: MAINTAINERS: add maintainers for Intel IPU6 input system driver

2024-04-29 Thread Hans Verkuil
. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) --- diff --git a/MAINTAINERS b/MAINTAINERS index 037d065fb8bb..5a178aaf21b3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11005,6 +11005,16 @@ F

[git:media_stage/master] media: intel/ipu6: support line-based metadata capture support

2024-04-29 Thread Hans Verkuil
. This patch adds the support for metadata capture in IPU6 ISYS driver. Signed-off-by: Hongju Wang Signed-off-by: Bingbu Cao Co-developed-by: Sakari Ailus Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c | 5 + drivers/media/pci/intel

[git:media_stage/master] media: intel/ipu6: add Kconfig and Makefile

2024-04-29 Thread Hans Verkuil
-by: Andreas Helbech Kleist Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/Kconfig | 1 + drivers/media/pci/intel/Makefile | 1 + drivers/media/pci/intel/ipu6/Kconfig | 18 ++ drivers/media/pci/intel/ipu6/Makefile | 23

[git:media_stage/master] media: Documentation: add Intel IPU6 ISYS driver admin-guide doc

2024-04-29 Thread Hans Verkuil
driver, and gives an example that how user can do imaging capture with tools. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/admin-guide/media/ipu6-isys.rst | 161 ++ .../admin-guide/media/ipu6_isys_graph.svg | 548

[git:media_stage/master] media: Documentation: add documentation of Intel IPU6 driver and hardware overview

2024-04-29 Thread Hans Verkuil
hardware and describe the main the components of IPU6 driver. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/driver-api/media/drivers/index.rst | 1 + Documentation/driver-api/media/drivers/ipu6.rst | 205 +++ 2 files changed

[git:media_stage/master] media: uapi: v4l: Don't expose generic metadata formats to userspace

2024-04-29 Thread Hans Verkuil
private to the kernel for now. Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil include/uapi/linux/videodev2.h | 2 ++ 1 file changed, 2 insertions(+) --- diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 2f9762842313..fe6b67e83751 100644

[git:v4l-utils/master] cec-ctl: exit after reporting all cec devices with --list-devices

2024-04-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: cec-ctl: exit after reporting all cec devices with --list-devices Author: Hans Verkuil Date:Mon Apr 29 08:55:23 2024 +0200

[git:v4l-utils/master] v4l2-ctl: --list-devices --verbose will list current input/output

2024-04-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l2-ctl: --list-devices --verbose will list current input/output Author: Hans Verkuil Date:Mon Apr 29 08:57:22 2024 +0200 It can

[git:media_stage/master] media: mediatek: vcodec: fix possible unbalanced PM counter

2024-04-27 Thread Hans Verkuil
river") Signed-off-by: Eugen Hristev Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Sebastian Fricke Signed-off-by: Hans Verkuil drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_pm.c | 4 +++- drivers/media/platform/mediatek/vcod

Re: [Openipmi-developer] [PATCH 8/9] drivers/media/*: Convert from tasklet to BH workqueue

2024-04-26 Thread Hans Verkuil
On 27/03/2024 17:03, Allen Pais wrote: > The only generic interface to execute asynchronously in the BH context is > tasklet; however, it's marked deprecated and has some design flaws. To > replace tasklets, BH workqueue support was recently added. A BH workqueue > behaves similarly to regular

[git:media_stage/master] media: cec: return -ENODEV instead of -ENXIO if unregistered

2024-04-25 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: cec: return -ENODEV instead of -ENXIO if unregistered Author: Hans Verkuil Date:Fri Feb 23 10:08:47 2024 +0100 If the CEC device is unregistered, then an attempt to open the device

[git:media_stage/master] media: v4l2-core: hold videodev_lock until dev reg, finishes

2024-04-25 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: v4l2-core: hold videodev_lock until dev reg, finishes Author: Hans Verkuil Date:Fri Feb 23 09:45:36 2024 +0100 After the new V4L2 device node was registered, some additional

[git:media_stage/master] media: dt-bindings: nxp,imx8-jpeg: Add clocks entries

2024-04-25 Thread Hans Verkuil
://devicetree.org/schemas/media/nxp,imx8-jpeg.yaml# Signed-off-by: Fabio Estevam Signed-off-by: Mirela Rabulea Reviewed-by: Krzysztof Kozlowski Signed-off-by: Hans Verkuil Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml | 11 +++ 1 file changed, 11 insertions(+) --- diff --git

[git:media_stage/master] media: stk1160: fix bounds checking in stk1160_copy_video()

2024-04-25 Thread Hans Verkuil
Fixes: 9cb2173e6ea8 ("[media] media: Add stk1160 new driver (easycap replacement)") Signed-off-by: Dan Carpenter Reviewed-by: Ricardo Ribalda Signed-off-by: Hans Verkuil drivers/media/usb/stk1160/stk1160-video.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletio

[git:media_stage/master] doc: media: v4l/func-open.rst: ENXIO should be ENODEV

2024-04-25 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: doc: media: v4l/func-open.rst: ENXIO should be ENODEV Author: Hans Verkuil Date:Fri Feb 23 10:15:20 2024 +0100 The error that V4L2 returns when an attempt is made to open an unregisted

[git:media_stage/master] media: videobuf2: improve max_num_buffers sanity checks

2024-04-25 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: videobuf2: improve max_num_buffers sanity checks Author: Hans Verkuil Date:Mon Mar 18 15:29:33 2024 +0100 Ensure that drivers set max_num_buffers to a value >= 32. For

Re: [PATCH 8/9] drivers/media/*: Convert from tasklet to BH workqueue

2024-04-24 Thread Hans Verkuil
On 27/03/2024 17:03, Allen Pais wrote: > The only generic interface to execute asynchronously in the BH context is > tasklet; however, it's marked deprecated and has some design flaws. To > replace tasklets, BH workqueue support was recently added. A BH workqueue > behaves similarly to regular

Re: [PATCH 8/9] drivers/media/*: Convert from tasklet to BH workqueue

2024-04-24 Thread Hans Verkuil
On 27/03/2024 17:03, Allen Pais wrote: > The only generic interface to execute asynchronously in the BH context is > tasklet; however, it's marked deprecated and has some design flaws. To > replace tasklets, BH workqueue support was recently added. A BH workqueue > behaves similarly to regular

[git:media_stage/master] Merge tag 'tags/media-next-uvc-20240419' of git://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux.git into media_stage

2024-04-22 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: Merge tag 'tags/media-next-uvc-20240419' of git://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux.git into media_stage Author: Hans Verkuil Date:Mon Apr 22 13:32:03 2024 +0200

[git:media_stage/master] media: imx335: Describe CCI struct member

2024-04-22 Thread Hans Verkuil
the following compile-time warning: warning: Function parameter or struct member 'cci' not described in 'imx335' Signed-off-by: Umang Jain Reviewed-by: Kieran Bingham Signed-off-by: Hans Verkuil drivers/media/i2c/imx335.c | 1 + 1 file changed, 1 insertion(+) --- diff --git a/drivers/media/i2c/imx335.c

[git:media_stage/master] media: mc: mark the media devnode as registered from the, start

2024-04-22 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: mc: mark the media devnode as registered from the, start Author: Hans Verkuil Date:Fri Feb 23 09:46:19 2024 +0100 First the media device node was created, and if successful

[git:media_stage/master] media: v4l: Don't turn on privacy LED if streamon fails

2024-04-22 Thread Hans Verkuil
enabling streaming on the sensor. Fixes: b6e10ff6c23d ("media: v4l2-core: Make the v4l2-core code enable/disable the privacy LED if present") Signed-off-by: Sakari Ailus Reviewed-by: Hans de Goede Reviewed-by: Tomi Valkeinen Reviewed-by: Umang Jain Signed-off-by: Hans Verkuil dri

[git:media_stage/master] media: cadence: csi2rx: configure DPHY before starting source stream

2024-04-22 Thread Hans Verkuil
Jai Luthra Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/platform/cadence/cdns-csi2rx.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) --- diff --git a/drivers/media/platform/cadence/cdns-csi2rx.c b/drivers/media/platform/cadence/cdn

[git:media_stage/master] media: ti: j721e-csi2rx: Fix races while restarting DMA

2024-04-22 Thread Hans Verkuil
kari Ailus Signed-off-by: Hans Verkuil drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- diff --git a/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c b/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c index 6d

[git:media_stage/master] media: dt-bindings: sony,imx290: Allow props from video-interface-devices

2024-04-22 Thread Hans Verkuil
by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) --- diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml b/Documentation/devicetree/bindings/media/i2c/s

[git:media_stage/master] media: dt-bindings: i2c: use absolute path to other schema

2024-04-22 Thread Hans Verkuil
. Signed-off-by: Alexander Stein Acked-by: Krzysztof Kozlowski Reviewed-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml | 2 +- Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml | 2

[git:media_stage/master] media: staging: ipu3-imgu: Update firmware path

2024-04-22 Thread Hans Verkuil
still in order to avoid causing issues to the users. Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/staging/media/ipu3/ipu3-css-fw.c | 4 +++- drivers/staging/media/ipu3/ipu3-css-fw.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) --- diff --git a/drivers/staging/media

[git:media_stage/master] media: imx335: Parse fwnode properties

2024-04-22 Thread Hans Verkuil
by the framework. Signed-off-by: Kieran Bingham Signed-off-by: Umang Jain Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx335.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) --- diff --git a/drivers/media/i2c/imx335.c b/drivers/media/i2c/imx335.c index

[git:media_stage/master] media: imx335: Use V4L2 CCI for accessing sensor registers

2024-04-22 Thread Hans Verkuil
register access helpers in the imx335 driver. Select V4L2_CCI_I2C Kconfig option which the imx335 driver now depends on. Signed-off-by: Umang Jain Reviewed-by: Kieran Bingham Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/imx335.c

[git:media_stage/master] media: imx335: Use integer values for size registers

2024-04-22 Thread Hans Verkuil
in the register map. This helps in improving the overall readability. No functional changes intended in this patch. Signed-off-by: Umang Jain Reviewed-by: Tommaso Merciai Reviewed-by: Kieran Bingham Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx335.c | 12

[git:media_stage/master] media: imx335: Limit analogue gain value

2024-04-22 Thread Hans Verkuil
-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx335.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) --- diff --git a/drivers/media/i2c/imx335.c b/drivers/media/i2c/imx335.c index b206d17a57bc..c43e57455704 100644 --- a/drivers/media/i2c/imx335.c +++ b

[git:media_stage/master] media: v4l2-ctrls: Return handler error in creating new fwnode properties

2024-04-22 Thread Hans Verkuil
that error immediately in v4l2_ctrl_new_fwnode_properties(). Effectively the change here is that the same error code (handler's error) is returned in all cases instead of possibly returning -EINVAL. Signed-off-by: Sakari Ailus Reviewed-by: Umang Jain Signed-off-by: Hans Verkuil drivers/media/v4l2

[git:media_stage/master] media: ov2680: Do not fail if data-lanes property is absent

2024-04-22 Thread Hans Verkuil
8e ("media: ov2680: Add bus-cfg / endpoint property verification") Signed-off-by: Fabio Estevam Reviewed-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2680.c | 7 --- 1 file changed, 7 deletions(-) --- diff --git a/drivers/

[git:media_stage/master] media: ov2680: Stop sending more data then requested

2024-04-22 Thread Hans Verkuil
Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2680.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) --- diff --git a/drivers/media/i2c/ov2680.c b/drivers/media/i2c/ov2680.c index 4577a8977c85..ad140d9d4c2e 100644 --- a/drivers/media/i2c

[git:media_stage/master] media: imx335: Support 2 or 4 lane operation modes

2024-04-22 Thread Hans Verkuil
to configure the lane mode accordingly. Update the pixel rate depending on the number of lanes in use. Signed-off-by: Kieran Bingham Signed-off-by: Umang Jain Reviewed-by: Tommaso Merciai Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil [hverkuil: fixup missing : in @lane_mode kerneldoc

[git:media_stage/master] media: ov2680: Add vblank control

2024-04-22 Thread Hans Verkuil
Bingham Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2680.c | 56 -- 1 file changed, 49 insertions(+), 7 deletions(-) --- diff --git a/drivers/media/i2c/ov2680.c b/drivers/media/i2c

[git:media_stage/master] media: ov2680: Add camera orientation and sensor rotation controls

2024-04-22 Thread Hans Verkuil
the v4l2_fwnode_device_parse() and v4l2_ctrl_new_fwnode_properties() helpers. Reviewed-by: Kieran Bingham Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2680.c | 7 +++ 1 file changed, 7 insertions(+) --- diff --git a/drivers/media/i2c

[git:media_stage/master] media: ov2680: Add hblank control

2024-04-22 Thread Hans Verkuil
-by: Kieran Bingham Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2680.c | 12 1 file changed, 12 insertions(+) --- diff --git a/drivers/media/i2c/ov2680.c b/drivers/media/i2c/ov2680.c index 5847122dc01b..03df910f7564 100644

[git:media_stage/master] media: ov2680: Drop hts, vts ov2680_mode struct members

2024-04-22 Thread Hans Verkuil
OV2680_PIXELS_PER_LINE resp. OV2680_LINES_PER_FRAME, drop them and simply use these values directly. Reviewed-by: Kieran Bingham Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2680.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) --- diff

[git:media_stage/master] media: imx335: Fix active area height discrepency

2024-04-22 Thread Hans Verkuil
Reviewed-by: Kieran Bingham Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx335.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) --- diff --git a/drivers/media/i2c/imx335.c b/drivers/media/i2c/imx335.c index d07c7de5d22d..b206d17a57bc 100644

[git:media_stage/master] media: hi556: Add support for reset GPIO

2024-04-22 Thread Hans Verkuil
Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/hi556.c | 45 - 1 file changed, 44 insertions(+), 1 deletion(-) --- diff --git a/drivers/media/i2c/hi556.c b/drivers/media/i2c/hi556.c index c54cd49e56a1..e084f7888e29 100644

[git:media_stage/master] media: hi556: Add support for avdd regulator

2024-04-22 Thread Hans Verkuil
on the regulator-core providing a dummy regulator (which it does by default) on platforms where Linux is not aware of the avdd regulator. Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/hi556.c | 24 1 file changed, 24

  1   2   3   4   5   6   7   8   9   10   >