[git:media_stage/master] media: qcom: camss: Amalgamate struct resource with struct resource_ispif

2023-09-28 Thread Hans Verkuil
one. Signed-off-by: Bryan O'Donoghue Acked-by: Konrad Dybcio Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/platform/qcom/camss/camss-ispif.c | 4 ++-- drivers/media/platform/qcom/camss/camss-ispif.h | 4 ++-- drivers/media/platform/qcom/camss/camss.c | 14

[git:media_stage/master] media: qcom: camss: Pass icc bandwidth table as a platform parameter

2023-09-28 Thread Hans Verkuil
not if/else derived pointer to the static table. Signed-off-by: Bryan O'Donoghue Acked-by: Konrad Dybcio Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/platform/qcom/camss/camss.c | 29 + drivers/media/platform/qcom/camss/camss.h | 3 ++- 2 files

[git:media_stage/master] media: qcom: camss: Pass line_num from compat resources

2023-09-28 Thread Hans Verkuil
ass line_num from a compat string controlled data-structure and do so on a per-VFE basis. Later patches will assign the correct number of RDI blocks per VFE. Signed-off-by: Bryan O'Donoghue Reviewed-by: Konrad Dybcio Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/me

[git:media_stage/master] Added Digiteq Automotive MGB4 driver

2023-09-27 Thread Hans Verkuil
Signed-off-by: Hans Verkuil MAINTAINERS | 7 + drivers/media/pci/Kconfig | 1 + drivers/media/pci/Makefile | 1 + drivers/media/pci/mgb4/Kconfig | 17 + drivers/media/pci/mgb4/Makefile | 6 + drivers/media/pci/mgb4

[git:media_stage/master] Added Digiteq Automotive MGB4 driver documentation

2023-09-27 Thread Hans Verkuil
r. Signed-off-by: Martin Tůma Signed-off-by: Hans Verkuil Documentation/admin-guide/media/mgb4.rst | 374 +++ Documentation/admin-guide/media/pci-cardlist.rst | 1 + Documentation/admin-guide/media/v4l-drivers.rst | 1 + 3 files changed, 376 insertions(+) ---

[git:media_stage/master] media: ipu-bridge: increase sensor_name size

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: ipu-bridge: increase sensor_name size Author: Hans Verkuil Date:Sat Sep 23 17:20:49 2023 +0200 Fixes this compiler warning: In file included from include/linux/property.h:14

[git:media_stage/master] media: zoran: increase name size

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: zoran: increase name size Author: Hans Verkuil Date:Sat Sep 23 17:20:54 2023 +0200 Fixes this compiler warning: drivers/media/pci/zoran/zoran_card.c: In function 'zoran_probe

[git:media_stage/master] media: vivid: avoid integer overflow

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: vivid: avoid integer overflow Author: Hans Verkuil Date:Sat Sep 23 17:20:48 2023 +0200 Fixes these compiler warnings: drivers/media/test-drivers/vivid/vivid-rds-gen.c: In function

[git:media_stage/master] media: use sizeof() instead of V4L2_SUBDEV_NAME_SIZE

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: use sizeof() instead of V4L2_SUBDEV_NAME_SIZE Author: Hans Verkuil Date:Sat Sep 23 17:20:57 2023 +0200 Don't rely on a define, let the compiler use the actual field size. Remove all

[git:media_stage/master] media: v4l2-subdev.h: increase struct v4l2_subdev name size

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: v4l2-subdev.h: increase struct v4l2_subdev name size Author: Hans Verkuil Date:Sat Sep 23 17:20:56 2023 +0200 This resolves a lot of the string truncate compiler warnings. Signed

[git:media_stage/master] media: cadence: increase buffer size in csi2tx_get_resources()

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: cadence: increase buffer size in csi2tx_get_resources() Author: Hans Verkuil Date:Sat Sep 23 17:20:46 2023 +0200 Fixes this compiler warning: drivers/media/platform/cadence/cdns

[git:media_stage/master] media: atomisp: fix 'read beyond size of field'

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: atomisp: fix 'read beyond size of field' Author: Hans Verkuil Date:Tue Sep 26 11:27:09 2023 +0200 If CONFIG_FORTIFY_SOURCE=y, then this warning is produced: In file included from

[git:media_stage/master] media: atomisp: ia_ccs_debug.c: increase enable_info buffer

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: atomisp: ia_ccs_debug.c: increase enable_info buffer Author: Hans Verkuil Date:Sat Sep 23 17:20:47 2023 +0200 Fixes these compiler warnings: drivers/staging/media/atomisp/pci

[git:media_stage/master] media: allegro-dvt: increase buffer size in msg_type_name()

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: allegro-dvt: increase buffer size in msg_type_name() Author: Hans Verkuil Date:Sat Sep 23 17:20:45 2023 +0200 Fixes this compile error drivers/media/platform/allegro-dvt/allegro

[git:media_stage/master] media: cx18: increase in_workq_name size

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: cx18: increase in_workq_name size Author: Hans Verkuil Date:Sat Sep 23 17:20:50 2023 +0200 Fixes this compiler warning: drivers/media/pci/cx18/cx18-driver.c: In function

[git:media_stage/master] media: rc: ati_remote: increase mouse_name buffer size

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: rc: ati_remote: increase mouse_name buffer size Author: Hans Verkuil Date:Sat Sep 23 17:20:51 2023 +0200 Fixes this compiler warning: drivers/media/rc/ati_remote.c: In function

[git:media_stage/master] media: renesas-ceu: keep input name simple

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: renesas-ceu: keep input name simple Author: Hans Verkuil Date:Sat Sep 23 17:20:53 2023 +0200 Just show the Camera index as input name in VIDIOC_ENUM_INPUT, no need to show the subdev

[git:media_stage/master] media: cec.h: increase input_phys buffer

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: cec.h: increase input_phys buffer Author: Hans Verkuil Date:Sat Sep 23 17:20:52 2023 +0200 Fixes this compiler warning: drivers/media/cec/core/cec-core.c: In function

[git:media_stage/master] media: atmel: drop bus_info

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: atmel: drop bus_info Author: Hans Verkuil Date:Sat Sep 23 17:21:03 2023 +0200 Let the V4L2 core fill this in. Fixes this warning: drivers/staging/media/deprecated/atmel/atmel-isc

[git:media_stage/master] media: am437x: don't fill in bus_info

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: am437x: don't fill in bus_info Author: Hans Verkuil Date:Sat Sep 23 17:21:02 2023 +0200 Let the V4L2 core fill this in. This fixes this warning: drivers/media/platform/ti/am437x

[git:media_stage/master] media: radio-isa: use dev_name to fill in bus_info

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: radio-isa: use dev_name to fill in bus_info Author: Hans Verkuil Date:Sat Sep 23 17:21:04 2023 +0200 This fixes this warning: drivers/media/radio/radio-isa.c: In function

[git:media_stage/master] media: radio-si476x: don't fill in bus_info

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: radio-si476x: don't fill in bus_info Author: Hans Verkuil Date:Sat Sep 23 17:21:07 2023 +0200 Let the V4L2 core fill in bus_info. This fixes this warning: drivers/media/radio/radio

[git:media_stage/master] media: verisilicon: replace snprintf with strscpy+strlcat

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: verisilicon: replace snprintf with strscpy+strlcat Author: Hans Verkuil Date:Sat Sep 23 17:21:06 2023 +0200 Fixes this warning: drivers/media/platform/verisilicon/hantro_drv.c

[git:media_stage/master] media: radio-miropcm20: set bus_info to explicit name

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: radio-miropcm20: set bus_info to explicit name Author: Hans Verkuil Date:Sat Sep 23 17:21:05 2023 +0200 Fill in bus_info with fixed name. This fixes this compiler warning: drivers

[git:media_stage/master] media: v4l2-device.h: drop V4L2_DEVICE_NAME_SIZE

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: v4l2-device.h: drop V4L2_DEVICE_NAME_SIZE Author: Hans Verkuil Date:Sat Sep 23 17:20:58 2023 +0200 Don't use defines for the size of a name field, everyone should just use sizeof

[git:media_stage/master] media: vivid: use VIVID_MODULE_NAME to fill bus_info

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: vivid: use VIVID_MODULE_NAME to fill bus_info Author: Hans Verkuil Date:Sat Sep 23 17:20:59 2023 +0200 Fixes this compiler warning: drivers/media/test-drivers/vivid/vivid-core.c

[git:media_stage/master] media: v4l2-dev.h: increase struct video_device name size

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: v4l2-dev.h: increase struct video_device name size Author: Hans Verkuil Date:Sat Sep 23 17:20:55 2023 +0200 Increase the size of the name field to prevent a lot of string truncate

[git:media_stage/master] media: rcar_drif: use explicit name for bus_info

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: rcar_drif: use explicit name for bus_info Author: Hans Verkuil Date:Sat Sep 23 17:21:01 2023 +0200 Fixes this compiler warning: drivers/media/platform/renesas/rcar_drif.c

[git:media_stage/master] media: microchip: don't set bus_info

2023-09-27 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: microchip: don't set bus_info Author: Hans Verkuil Date:Sat Sep 23 17:21:00 2023 +0200 Let the V4L2 core fill this in. Fixes these compiler warnings: drivers/media/platform

[git:media_stage/master] media: rc: meson-ir: support rc driver type RC_DRIVER_SCANCODE

2023-09-22 Thread Hans Verkuil
SoC. So far, protocol NEC could be decoded by hardware decoder. Signed-off-by: Zelong Dong Reviewed-by: Neil Armstrong Signed-off-by: Sean Young Signed-off-by: Hans Verkuil drivers/media/rc/meson-ir.c | 522 ++-- 1 file changed, 451 insertions(+), 71

[git:media_stage/master] dt-bindings: media: remove nokia, n900-ir as pwm-ir-tx is compatible

2023-09-22 Thread Hans Verkuil
,n900-ir can be removed. Acked-by: Conor Dooley Acked-by: Lee Jones Signed-off-by: Sean Young Signed-off-by: Hans Verkuil .../devicetree/bindings/leds/irled/pwm-ir-tx.yaml| 5 - .../devicetree/bindings/media/nokia,n900-ir | 20 2 files changed, 4 insertions

[git:media_stage/master] media: rc: remove ir-rx51 in favour of generic pwm-ir-tx

2023-09-22 Thread Hans Verkuil
the transmit completes. Acked-by: Uwe Kleine-König Tested-by: Sicelo A. Mhlongo Signed-off-by: Sean Young Signed-off-by: Hans Verkuil arch/arm/configs/omap2plus_defconfig | 1 - drivers/media/rc/Kconfig | 10 -- drivers/media/rc/Makefile| 1 - drivers/media/rc/ir-rx51

[git:media_stage/master] dt-bindings: media: Add compatible for Meson-S4 IR Controller

2023-09-22 Thread Hans Verkuil
Controller supports hardware decoder in Meson-S4 and later SoC. Signed-off-by: Zelong Dong Acked-by: Krzysztof Kozlowski Signed-off-by: Sean Young Signed-off-by: Hans Verkuil Documentation/devicetree/bindings/media/amlogic,meson6-ir.yaml | 1 + 1 file changed, 1 insertion(+) --- diff --git

[git:media_stage/master] media: nuvoton: Add driver for NPCM video capture and encoding engine

2023-09-22 Thread Hans Verkuil
interfaces and provides user controls to support KVM feature, also tested with VNC Viewer ver.6.22.826 and openbmc/obmc-ikvm. Signed-off-by: Marvin Lin Signed-off-by: Hans Verkuil MAINTAINERS | 12 + drivers/media/platform/Kconfig |1 + drivers/media

[git:media_stage/master] media: dt-bindings: nuvoton: Add NPCM VCD and ECE engine

2023-09-22 Thread Hans Verkuil
) and Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs. Signed-off-by: Marvin Lin Reviewed-by: Krzysztof Kozlowski Signed-off-by: Hans Verkuil .../bindings/media/nuvoton,npcm-ece.yaml | 43 + .../bindings/media/nuvoton,npcm-vcd.yaml | 72

[git:media_stage/master] media: uapi: Add controls for NPCM video driver

2023-09-22 Thread Hans Verkuil
Capture/Differentiation (VCD) engine and getting the count of HEXTILE rectangles that is compressed by Encoding Compression Engine (ECE). Signed-off-by: Marvin Lin Signed-off-by: Hans Verkuil .../userspace-api/media/drivers/index.rst | 1 + .../userspace-api/media/drivers/npcm

[git:media_stage/master] dt-bindings: soc: nuvoton: Add NPCM GFXI

2023-09-22 Thread Hans Verkuil
driver to retrieve Graphics core information. Signed-off-by: Marvin Lin Reviewed-by: Krzysztof Kozlowski Signed-off-by: Hans Verkuil .../bindings/soc/nuvoton/nuvoton,gfxi.yaml | 39 ++ 1 file changed, 39 insertions(+) --- diff --git a/Documentation/devicetree

[git:media_stage/master] media: v4l2-ctrls: Add user control base for Nuvoton NPCM controls

2023-09-22 Thread Hans Verkuil
controls. Signed-off-by: Marvin Lin Signed-off-by: Hans Verkuil include/uapi/linux/v4l2-controls.h | 6 ++ 1 file changed, 6 insertions(+) --- diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h index c3604a0a3e30..68db66d4aae8 100644 --- a/include/uapi

[git:media_stage/master] media: v4l: Add HEXTILE compressed format

2023-09-22 Thread Hans Verkuil
, chapter 7.7.4 Hextile Encoding) and is used by Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs. Signed-off-by: Marvin Lin Reviewed-by: Nicolas Dufresne Signed-off-by: Hans Verkuil Documentation/userspace-api/media/v4l/pixfmt-reserved.rst | 7 +++ drivers/media/v4l2-core/v4l2

[git:media_stage/master] media: remove the old videobuf framework

2023-09-21 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: remove the old videobuf framework Author: Hans Verkuil Date:Sun Aug 13 10:22:54 2023 +0200 The last driver that still used this old framework has been converted to the videobuf2

[git:media_stage/master] media: atomisp: remove left-over videobuf include

2023-09-21 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: atomisp: remove left-over videobuf include Author: Hans Verkuil Date:Sun Aug 13 10:20:49 2023 +0200 This source still included the media/videobuf-vmalloc.h header, even though

[git:media_stage/master] media: i2c: video-i2c: Convert enum->pointer for data in the match tables

2023-09-21 Thread Hans Verkuil
. Signed-off-by: Biju Das Reviewed-by: Andy Shevchenko Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/video-i2c.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) --- diff --git a/drivers/media/i2c/video-i2c.c b/drivers/media/i2c/video-i2

[git:media_stage/master] media: i2c: imx319: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx319.c | 4 1 file changed, 4 deletions(-) --- diff

[git:media_stage/master] media: i2c: ov7670: Extend match support for OF tables

2023-09-21 Thread Hans Verkuil
-by: Kieran Bingham Reviewed-by: Jacopo Mondi Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov7670.c | 47 -- 1 file changed, 20 insertions(+), 27 deletions(-) --- diff --git a/drivers/media/i2c/ov7670.c b/drivers/media/i2c

[git:media_stage/master] media: i2c: imx412: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. The streaming field of the driver's private structure is now unused, drop it as well. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil

[git:media_stage/master] media: i2c: Use pm_runtime_resume_and_get()

2023-09-21 Thread Hans Verkuil
of pm_runtime_get_sync() with a put call in the error path. Signed-off-by: Laurent Pinchart Acked-by: Benjamin Mugnier (st-vgxy61) Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ccs/ccs-core.c | 6 +++--- drivers/media/i2c/hi846.c| 6 ++ drivers/media/i2c/hi847.c

[git:media_stage/master] MAINTAINERS: fix file path for Omnvision OV4689

2023-09-21 Thread Hans Verkuil
was mistakenly set due to an oversight during the driver's initial addition. Signed-off-by: Mikhail Rudenko Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/MAINTAINERS b/MAINTAINERS index 90f13281d297

[git:media_stage/master] media: ov5640: Fix a memory leak when ov5640_probe fails

2023-09-21 Thread Hans Verkuil
0 55 75 c6 80 54 75 c6 00 55 75 c6 80 52 75 c6 .Uu..Tu..Uu..Ru. 00 53 75 c6 00 00 00 00 00 00 00 00 00 00 00 00 .Su.. Fixes: 85644a9b37ec ("media: ov5640: Use runtime PM") Signed-off-by: Xiaolei Wang Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media

[git:media_stage/master] media: i2c: Drop ifdeffery from sensor drivers

2023-09-21 Thread Hans Verkuil
us Signed-off-by: Hans Verkuil drivers/media/i2c/mt9m111.c | 13 + drivers/media/i2c/mt9v011.c | 6 -- drivers/media/i2c/mt9v111.c | 14 -- drivers/media/i2c/ov2640.c | 11 +-- drivers/media/i2c/ov2659.c | 16 +--- drivers/media/i2c/ov26

[git:media_stage/master] media: i2c: mt9v032: Extend match support for OF tables

2023-09-21 Thread Hans Verkuil
mt9v032_model_info as match data for both these tables and replace the ID lookup table for the match data by i2c_get_match_data() and simplifly probe(). Signed-off-by: Biju Das Reviewed-by: Jacopo Mondi Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/mt9v032.c | 21

[git:media_stage/master] media: ivsc: csi: remove name identifier

2023-09-21 Thread Hans Verkuil
. Signed-off-by: Wentong Wu Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ivsc/mei_csi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- diff --git a/drivers/media/pci/intel/ivsc/mei_csi.c b/drivers/media/pci/intel/ivsc/mei_csi.c index

[git:media_stage/master] media: v4l2-subdev: Document that routing support depends on streams

2023-09-21 Thread Hans Verkuil
Signed-off-by: Hans Verkuil include/media/v4l2-subdev.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index d9fca929c10b..820e38ec3dc9 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2

[git:media_stage/master] media: bttv: Add MODULE_FIRMWARE macro

2023-09-21 Thread Hans Verkuil
modinfo. Signed-off-by: Juerg Haefliger Signed-off-by: Hans Verkuil drivers/media/pci/bt8xx/bttv-cards.c | 1 + 1 file changed, 1 insertion(+) --- diff --git a/drivers/media/pci/bt8xx/bttv-cards.c b/drivers/media/pci/bt8xx/bttv-cards.c index ec78f7fc5e1b..867c1308de23 100644 --- a/drivers

[git:media_stage/master] media: use struct_size() helper

2023-09-21 Thread Hans Verkuil
-flex-array-elements) * count where count is the max number of items the flexible array is supposed to contain. Signed-off-by: Yu Liao Reviewed-by: Tomasz Figa Signed-off-by: Hans Verkuil drivers/media/common/videobuf2/frame_vector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[git:media_stage/master] media: bttv: fix use after free error due to btv->timeout timer

2023-09-21 Thread Hans Verkuil
->USE btv Fixes: 162e6376ac58 ("media: pci: Convert timers to use timer_setup()") Signed-off-by: Zheng Wang Signed-off-by: Hans Verkuil drivers/media/pci/bt8xx/bttv-driver.c | 1 + 1 file changed, 1 insertion(+) --- diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/driver

[git:media_stage/master] media: platform: Use dev_err_probe instead of dev_err

2023-09-21 Thread Hans Verkuil
that dma->xdev->dev is not ready yet. In this case, dev_err(dma->xdev->dev), there will be no output. This patch fixes the bug. Signed-off-by: Wang Ming Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/platform/xilinx/xilinx-dma.c | 5 ++--- 1 file changed, 2 inse

[git:media_stage/master] media: nxp: Use devm_kmemdup to replace devm_kmalloc + memcpy

2023-09-21 Thread Hans Verkuil
implementation, which helps to enhance code readability. Signed-off-by: Li Zetao Signed-off-by: Hans Verkuil drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c b/drivers

[git:media_stage/master] media: dt-bindings: samsung, exynos4212-fimc-is: replace duplicate pmu node with phandle

2023-09-21 Thread Hans Verkuil
g "pmu" Devicetree node inside the FIMC IS. Reviewed-by: Rob Herring Signed-off-by: Krzysztof Kozlowski Signed-off-by: Hans Verkuil .../bindings/media/samsung,exynos4212-fimc-is.yaml| 15 ++- Documentation/devicetree/bindings/media/samsung,fimc.yaml | 5 + 2 f

[git:media_stage/master] media: mediatek: vcodec: fix spelling mistake "resonable" -> "reasonable"

2023-09-21 Thread Hans Verkuil
istakes in pr_err error messages. Fix them. Signed-off-by: Colin Ian King Signed-off-by: Hans Verkuil drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c | 2 +- drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c | 2 +- 2 files changed, 2 insertions(+), 2 deleti

[git:media_stage/master] media: exynos4-is: fimc-is: replace duplicate pmu node with phandle

2023-09-21 Thread Hans Verkuil
ff-by: Krzysztof Kozlowski Signed-off-by: Hans Verkuil .../media/platform/samsung/exynos4-is/fimc-is.c| 33 -- 1 file changed, 24 insertions(+), 9 deletions(-) --- diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-is.c b/drivers/media/platform/samsung/exynos4-is

[git:media_stage/master] media: staging: media: sunxi: cedrus: Remove redundant of_match_ptr()

2023-09-21 Thread Hans Verkuil
of_match_ptr() here. Signed-off-by: Ruan Jinjie Acked-by: Jernej Skrabec Acked-by: Paul Kocialkowski Signed-off-by: Hans Verkuil drivers/staging/media/sunxi/cedrus/cedrus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c b

[git:media_stage/master] media: cx25840: simplify cx23885_dif_setup()

2023-09-21 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: cx25840: simplify cx23885_dif_setup() Author: Hans Verkuil Date:Thu Aug 3 09:42:10 2023 +0200 Instead of creating a huge switch statement (that thoroughly confuses smatch), create

[git:media_stage/master] media: bt8xx: make read-only arrays static

2023-09-21 Thread Hans Verkuil
between values to clean up checkpatch style warnings. Signed-off-by: Colin Ian King Signed-off-by: Hans Verkuil drivers/media/pci/bt8xx/dvb-bt8xx.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) --- diff --git a/drivers/media/pci/bt8xx/dvb-bt8xx.c b/drivers/media/pci

[git:media_stage/master] media: imx-jpeg: Remove unused declarations

2023-09-21 Thread Hans Verkuil
-by: Hans Verkuil drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h | 11 --- 1 file changed, 11 deletions(-) --- diff --git a/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h b/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h index a2b4fb9e29e7..d579c804b047 100644 --- a/drivers/media

[git:media_stage/master] media: ov2640: Use the devm_clk_get_enabled() helper function

2023-09-21 Thread Hans Verkuil
be dropped from the error path and the remove callback. Signed-off-by: Ruan Jinjie Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2640.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) --- diff --git a/drivers/media/i2c/ov2640.c b/drivers/media/i2c

[git:media_stage/master] media: i2c: ov01a10: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
streaming on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov01a10.c | 2 -- 1 file changed, 2 deletions(-) --- diff

[git:media_stage/master] media: ivsc: ace: remove name identifier

2023-09-21 Thread Hans Verkuil
. Signed-off-by: Wentong Wu Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ivsc/mei_ace.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) --- diff --git a/drivers/media/pci/intel/ivsc/mei_ace.c b/drivers/media/pci/intel/ivsc/mei_ace.c index

[git:media_stage/master] media: i2c: ov7670: Drop CONFIG_OF ifdeffery

2023-09-21 Thread Hans Verkuil
-by: Hans Verkuil drivers/media/i2c/ov7670.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- diff --git a/drivers/media/i2c/ov7670.c b/drivers/media/i2c/ov7670.c index b70d65f5c18a..172483597c54 100644 --- a/drivers/media/i2c/ov7670.c +++ b/drivers/media/i2c/ov7670.c @@ -10,6 +10,7

[git:media_stage/master] media: dt-bindings: Add OV5642

2023-09-21 Thread Hans Verkuil
t. Remove the OV5642 entry from trivial-devices.yaml and add its own ovti,ov5642.yaml. Signed-off-by: Fabio Estevam Reviewed-by: Rob Herring Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil .../devicetree/bindings/media/i2c/ovti,ov5642.yaml | 141 + .../devicetree/bindin

[git:media_stage/master] media: i2c: imx214: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. Signed-off-by: Laurent Pinchart Reviewed-by: Ricardo Ribalda Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx214.c | 3 --- 1 file changed, 3

[git:media_stage/master] media: i2c: ov5693: Drop the unused streaming flag

2023-09-21 Thread Hans Verkuil
. Drop it. Signed-off-by: Laurent Pinchart Reviewed-by: Daniel Scally Reviewed-by: Tommaso Merciai Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov5693.c | 3 --- 1 file changed, 3 deletions(-) --- diff --git a/drivers/media/i2c/ov5693.c b/drivers/media/i2c/ov5693

[git:media_stage/master] media: ov5640: fix vblank unchange issue when work at dvp mode

2023-09-21 Thread Hans Verkuil
media: ov5640: Add VBLANK control") Signed-off-by: Guoniu.zhou Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov5640.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) --- diff --git a/drivers/media/i2c/ov5640.c b/drivers/media/i2c/ov56

[git:media_stage/master] media: platform: use capital "OR" for multiple licenses in SPDX

2023-09-21 Thread Hans Verkuil
tch expect the SPDX identifier syntax for multiple licenses to use capital "OR". Correct it to keep consistent format and avoid copy-paste issues. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/platform/verisilicon/rockchip

[git:media_stage/master] media: i2c: imx415: Replace streaming flag with runtime PM check

2023-09-21 Thread Hans Verkuil
-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx415.c | 34 -- 1 file changed, 16 insertions(+), 18 deletions(-) --- diff --git a/drivers/media/i2c/imx415.c b/drivers/media/i2c/imx415.c index 9a7ac81edc28..b3fa71a16839 100644 --- a/drivers/media

[git:media_stage/master] media: dt-bindings: ov5693: fix maintainer email address

2023-09-21 Thread Hans Verkuil
-off-by: Tommaso Merciai Acked-by: Conor Dooley Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/devicetree/bindings/media/i2c/ovti,ov5693.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov5693

[git:media_stage/master] media: ov13b10: Fix some error checking in probe

2023-09-21 Thread Hans Verkuil
ot checked for errors. Add the assignment. Fixes: 6e28afd15228 ("media: ov13b10: add PM control support based on power resources") Signed-off-by: Dan Carpenter Reviewed-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov13b10.c | 2 +- 1 file change

[git:media_stage/master] media: v4l: Fix documentation for 12-bit packed Bayer

2023-09-21 Thread Hans Verkuil
Subramaniam Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/userspace-api/media/v4l/pixfmt-srggb12p.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/Documentation/userspace-api/media/v4l/pixfmt-srggb12p.rst b/Documentation/userspace-api/media

[git:media_stage/master] media: i2c: mt9m001: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
streaming on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. The streaming field of the driver's private structure is now unused, drop it as well. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans

[git:media_stage/master] media: i2c: imx208: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx208.c | 4 1 file changed, 4 deletions(-) --- diff

[git:media_stage/master] media: i2c: imx258: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx258.c | 4 1 file changed, 4 deletions(-) --- diff

[git:media_stage/master] media: i2c: imx296: Replace streaming flag with runtime PM check

2023-09-21 Thread Hans Verkuil
-by: Hans Verkuil drivers/media/i2c/imx296.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) --- diff --git a/drivers/media/i2c/imx296.c b/drivers/media/i2c/imx296.c index 3b4539b622b4..94aac9d2732f 100644 --- a/drivers/media/i2c/imx296.c +++ b/drivers/media/i2c/imx296.c

[git:media_stage/master] media: i2c: imx415: Use v4l2_subdev_get_fmt()

2023-09-21 Thread Hans Verkuil
the .get_fmt() operation manually. Use the v4l2_subdev_get_fmt() helper instead. Signed-off-by: Umang Jain Reviewed-by: Michael Riesch Reviewed-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx415.c | 11 +-- 1 file changed, 1 insertion(+), 10

[git:media_stage/master] media: i2c: imx355: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx355.c | 4 1 file changed, 4 deletions(-) --- diff

[git:media_stage/master] media: i2c: max9286: Fix some redundant of_node_put() calls

2023-09-21 Thread Hans Verkuil
an Bingham Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/max9286.c | 2 -- 1 file changed, 2 deletions(-) --- diff --git a/drivers/media/i2c/max9286.c b/drivers/media/i2c/max9286.c index 20e7c7cf5eeb..f27a69b1b727 100644 --- a/drivers/media/i2c/max9286.c +++ b/dri

[git:media_stage/master] media: i2c: og01a1b: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
streaming on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/og01a1b.c | 3 --- 1 file changed, 3 deletions(-) --- diff

[git:media_stage/master] media: i2c: hi846: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/hi846.c | 3 --- 1 file changed, 3 deletions(-) --- diff --git

[git:media_stage/master] media: ivsc: ace: probe ace device after IPU bridge is initialized.

2023-09-21 Thread Hans Verkuil
bridge is initialized before this consumer and supplier relationship between camera sensor device and IVSC device is cleared. Signed-off-by: Wentong Wu Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ivsc/mei_ace.c | 3 +++ 1 file changed, 3 insertions(+) --- diff

[git:media_stage/master] media: i2c: imx334: add support for test pattern generator

2023-09-21 Thread Hans Verkuil
pattern generator is disabled, so add support for enabling and disabling horizontal and vertical colour bars. Signed-off-by: Shravan Chippa Acked-by: Daniele Alessandrelli Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx334.c | 57

[git:media_stage/master] media: v4l2-mc: Make v4l2_pipeline_pm_{get, put} deprecated

2023-09-21 Thread Hans Verkuil
needed to control sub-devices' power states before runtime PM. These functions should no longer be used, and instead sub-device drivers should use runtime PM. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil include/media/v4l2-mc.h | 6 ++ 1 file changed, 6

[git:media_stage/master] media: i2c: imx334: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. The streaming field of the driver's private structure is now unused, drop it as well. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil

[git:media_stage/master] media: ivsc: Improve Kconfig help text

2023-09-21 Thread Hans Verkuil
and CSI for configuring the CSI-2 rx and tx. Suggested-by: Laurent Pinchart Reviewed-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ivsc/Kconfig | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) --- diff --git a/drivers/media

[git:media_stage/master] media: Documentation: Mention CCS tools

2023-09-21 Thread Hans Verkuil
mention that in context of the CCS driver. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil Documentation/driver-api/media/drivers/ccs/ccs.rst | 8 1 file changed, 8 insertions(+) --- diff --git a/Documentation/driver-api/media/drivers/ccs/ccs.rst

[git:media_stage/master] media: i2c: imx219: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. Signed-off-by: Laurent Pinchart Reviewed-by: Dave Stevenson Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx219.c | 3 --- 1 file changed, 3

[git:media_stage/master] media: i2c: imx335: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. The streaming field of the driver's private structure is now unused, drop it as well. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil

[git:media_stage/master] media: ov13b10: Add 1364x768 register settings

2023-09-21 Thread Hans Verkuil
-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov13b10.c | 58 - 1 file changed, 57 insertions(+), 1 deletion(-) --- diff --git a/drivers/media/i2c/ov13b10.c b/drivers/media/i2c/ov13b10.c index 8ebdb32dd3db..c8e0818476ab 100644

[git:media_stage/master] media: v4l2-subdev: Document and enforce .s_stream() requirements

2023-09-21 Thread Hans Verkuil
an already started subdev, or stop an already stopped one. This requirement has never been formally documented. Fix it, and catch possible offenders with a WARN_ON() in the call_s_stream() wrapper. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers

[git:media_stage/master] media: i2c: hi556: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/hi556.c | 3 --- 1 file changed, 3 deletions(-) --- diff --git

[git:media_stage/master] media: staging: ipu3-imgu: Initialise height_per_slice in the stripes

2023-09-21 Thread Hans Verkuil
in loading the statistics, it could be done also when only one stripe is used. Fix it by getting this initialisation code outside of the else() test case. Signed-off-by: Jean-Michel Hautbois Reviewed-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/staging/media

[git:media_stage/master] media: i2c: mt9v032: Drop CONFIG_OF ifdeffery

2023-09-21 Thread Hans Verkuil
-by: Hans Verkuil drivers/media/i2c/mt9v032.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- diff --git a/drivers/media/i2c/mt9v032.c b/drivers/media/i2c/mt9v032.c index 0f448aa27e53..1c6f6cea1204 100644 --- a/drivers/media/i2c/mt9v032.c +++ b/drivers/media/i2c/mt9v032.c @@ -14,6

[git:media_stage/master] media: i2c: ov08d10: Drop check for reentrant .s_stream()

2023-09-21 Thread Hans Verkuil
streaming on an already started subdev, or stop streaming on a stopped subdev. Remove the check that guards against that condition. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov08d10.c | 3 --- 1 file changed, 3 deletions(-) --- diff

<    5   6   7   8   9   10   11   12   13   14   >