[git:media_stage/master] media: atomisp: make dbgopt static

2024-02-05 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: atomisp: make dbgopt static Author: Hans Verkuil Date:Fri Feb 2 10:21:20 2024 +0100 This fixes a sparse warning: drivers/staging/media/atomisp/pci/atomisp_drvfs.c:40:14: warning

[git:media_stage/master] media: atomisp: don't use sizeof(NULL)

2024-02-05 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: atomisp: don't use sizeof(NULL) Author: Hans Verkuil Date:Fri Feb 2 11:17:30 2024 +0100 Check the size of another pointer instead of NULL. This fixes this smatch warning: drivers

[git:media_stage/master] documentation: media: vivid: Modify typo in documentation

2024-02-05 Thread Hans Verkuil
. Signed-off-by: Dorcas Anono Litunya Signed-off-by: Hans Verkuil Documentation/admin-guide/media/vivid.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/Documentation/admin-guide/media/vivid.rst b/Documentation/admin-guide/media/vivid.rst index 58ac25b2c385

[git:media_stage/master] media: dt-bindings: techwell,tw9900: Fix port schema ref

2024-02-05 Thread Hans Verkuil
nodes, so the $ref should be to "/properties/port" instead as it restricts extra properties. Fixes: 0f82ffa9a295 ("media: dt-bindings: media: i2c: Add bindings for TW9900") Signed-off-by: Rob Herring Signed-off-by: Hans Verkuil Documentation/devicetree/bindings/media/i2c/tech

[git:media_stage/master] media: v4l2-common.h: kerneldoc: correctly format return values

2024-02-05 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: v4l2-common.h: kerneldoc: correctly format return values Author: Hans Verkuil Date:Fri Feb 2 09:25:44 2024 +0100 Building the kerneldoc resulted in two errors: Documentation/media

[git:media_stage/master] media: cec: make cec_bus_type const

2024-02-05 Thread Hans Verkuil
the cec_bus_type variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Cc: Greg Kroah-Hartman Suggested-by: Greg Kroah-Hartman Signed-off-by: Ricardo B. Marliere Reviewed-by: Greg Kroah-Hartman Reviewed-by: Laurent Pinchart Signed-off-by: Hans

[git:media_stage/master] media: media-devnode: make media_bus_type const

2024-02-05 Thread Hans Verkuil
the media_bus_type variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Cc: Greg Kroah-Hartman Suggested-by: Greg Kroah-Hartman Signed-off-by: Ricardo B. Marliere Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers

Re: [PATCH v5 08/44] drm/connector: hdmi: Add Broadcast RGB property

2024-02-02 Thread Hans Verkuil
On 02/02/2024 12:04, Jani Nikula wrote: > On Mon, 15 Jan 2024, Sebastian Wick wrote: >> On Thu, Dec 07, 2023 at 04:49:31PM +0100, Maxime Ripard wrote: >>> The i915 driver has a property to force the RGB range of an HDMI output. >>> The vc4 driver then implemented the same property with the same

[git:edid-decode/master] edid-decode: let --replace-unique-ids replace dates as well

2024-01-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: let --replace-unique-ids replace dates as well Author: Hans Verkuil Date:Mon Jan 29 14:09:45 2024 +0100 If --replace-unique-ids is given, then replace the 'Made in' date

[git:edid-decode/master] edid-decode: fix extract_string(): check for non-space after newline

2024-01-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: fix extract_string(): check for non-space after newline Author: Hans Verkuil Date:Mon Jan 29 12:51:11 2024 +0100 The newline character is supposed to terminate the string

[git:edid-decode/master] edid-decode: support multiple DTDs with serial numbers

2024-01-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: support multiple DTDs with serial numbers Author: Hans Verkuil Date:Mon Jan 29 12:53:30 2024 +0100 Both the base block and the CTA extension blocks can contain DTDs with serial

[git:edid-decode/master] edid-decode: set has_svrs when adding native DTDs

2024-01-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: set has_svrs when adding native DTDs Author: Hans Verkuil Date:Mon Jan 29 09:57:47 2024 +0100 The native DTDs are added as SVRs, but has_svrs wasn't set, so these 'timings

[git:media_stage/master] media: chips-media: wave5: Remove K3 References

2024-01-29 Thread Hans Verkuil
don Brnich Reviewed-by: Nishanth Menon Signed-off-by: Hans Verkuil drivers/media/platform/chips-media/wave5/wave5-vpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/media/platform/chips-media/wave5/wave5-vpu.c b/drivers/media/platform/chips-media/wave5/wave5-v

[git:media_stage/master] dt-bindings: media: Remove K3 Family Prefix from Compatible

2024-01-29 Thread Hans Verkuil
don Brnich Acked-by: Krzysztof Kozlowski Reviewed-by: Nishanth Menon Signed-off-by: Hans Verkuil Documentation/devicetree/bindings/media/cnm,wave521c.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/Documentation/devicetree/bindings/media/cnm,wave52

[git:media_stage/master] media: vb2: refactor setting flags and caps, fix missing cap

2024-01-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: vb2: refactor setting flags and caps, fix missing cap Author: Hans Verkuil Date:Fri Jan 19 10:03:23 2024 +0100 Several functions implementing VIDIOC_REQBUFS and _CREATE_BUFS all use

[git:media_stage/master] Merge tag 'v6.8-rc2'

2024-01-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: Merge tag 'v6.8-rc2' Author: Hans Verkuil Date:Mon Jan 29 08:59:23 2024 +0100 Linux 6.8-rc2 The vb2 fixes from v6.8-rc2 are needed for the work on the new vb2 delete buffers feature

[git:media_stage/master] media: media videobuf2: Stop direct calls to queue num_buffers field

2024-01-29 Thread Hans Verkuil
field directly. This allows us to change how the number of buffers is computed in the future. Fixes: d055a76c0065 ("media: core: Report the maximum possible number of buffers for the queue") Signed-off-by: Benjamin Gaignard Acked-by: Tomasz Figa Signed-off-by: Hans Verkuil dri

[git:media_stage/fixes] dt-bindings: media: Remove K3 Family Prefix from Compatible

2024-01-24 Thread Hans Verkuil
don Brnich Acked-by: Krzysztof Kozlowski Reviewed-by: Nishanth Menon Signed-off-by: Hans Verkuil Documentation/devicetree/bindings/media/cnm,wave521c.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/Documentation/devicetree/bindings/media/cnm,wave52

[git:media_stage/fixes] media: media videobuf2: Stop direct calls to queue num_buffers field

2024-01-24 Thread Hans Verkuil
field directly. This allows us to change how the number of buffers is computed in the future. Fixes: d055a76c0065 ("media: core: Report the maximum possible number of buffers for the queue") Signed-off-by: Benjamin Gaignard Acked-by: Tomasz Figa Signed-off-by: Hans Verkuil dri

[git:media_stage/fixes] media: chips-media: wave5: Remove K3 References

2024-01-24 Thread Hans Verkuil
don Brnich Reviewed-by: Nishanth Menon Signed-off-by: Hans Verkuil drivers/media/platform/chips-media/wave5/wave5-vpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/media/platform/chips-media/wave5/wave5-vpu.c b/drivers/media/platform/chips-media/wave5/wave5-v

[git:media_stage/fixes] media: vb2: refactor setting flags and caps, fix missing cap

2024-01-24 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: vb2: refactor setting flags and caps, fix missing cap Author: Hans Verkuil Date:Fri Jan 19 10:03:23 2024 +0100 Several functions implementing VIDIOC_REQBUFS and _CREATE_BUFS all use

[git:media_stage/master] media: mediatek: vcodec: drop excess struct members descriptions

2024-01-24 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: mediatek: vcodec: drop excess struct members descriptions Author: Hans Verkuil Date:Mon Jan 22 10:26:42 2024 +0100 Drop obsolete @wait_key_frame and @mv_joint struct member

Re: [PATCH v11 15/15] media: vim2m-audio: add virtual driver for audio memory to memory

2024-01-17 Thread Hans Verkuil
On 18/01/2024 07:13, Shengjiu Wang wrote: > On Wed, Jan 17, 2024 at 6:32 PM Hans Verkuil wrote: >> >> On 22/11/2023 08:23, Shengjiu Wang wrote: >>> Audio memory to memory virtual driver use video memory to memory >>> virtual driver vim2m.c as example. The m

Re: [PATCH v11 15/15] media: vim2m-audio: add virtual driver for audio memory to memory

2024-01-17 Thread Hans Verkuil
On 22/11/2023 08:23, Shengjiu Wang wrote: > Audio memory to memory virtual driver use video memory to memory > virtual driver vim2m.c as example. The main difference is > device type is VFL_TYPE_AUDIO and device cap type is V4L2_CAP_AUDIO_M2M. > > The device_run function is a dummy function,

Re: [PATCH v11 14/15] media: imx-asrc: Add memory to memory driver

2024-01-17 Thread Hans Verkuil
Some small comments: On 22/11/2023 08:23, Shengjiu Wang wrote: > Implement the ASRC memory to memory function using > the v4l2 framework, user can use this function with > v4l2 ioctl interface. > > User send the output and capture buffer to driver and > driver store the converted data to the

Re: [PATCH v11 13/15] media: vivid: add fixed point test controls

2024-01-17 Thread Hans Verkuil
On 22/11/2023 08:23, Shengjiu Wang wrote: > Add fixed point test controls, one is for Q4.16 format > another one is for Q63 format. > > Signed-off-by: Shengjiu Wang > --- > drivers/media/test-drivers/vivid/vivid-core.h | 2 ++ > .../media/test-drivers/vivid/vivid-ctrls.c| 26

Re: [PATCH v11 12/15] media: uapi: Add an entity type for audio resampler

2024-01-17 Thread Hans Verkuil
Some small comments: On 22/11/2023 08:23, Shengjiu Wang wrote: > Add and document a media entity type for audio resampler. for -> for an > It is MEDIA_ENT_F_PROC_AUDIO_RESAMPLER. > > Signed-off-by: Shengjiu Wang > --- > Documentation/userspace-api/media/mediactl/media-types.rst | 6 ++ >

Re: [PATCH v11 10/15] media: uapi: Add audio rate controls support

2024-01-17 Thread Hans Verkuil
Hi Shengjiu, Some small comments below: On 22/11/2023 08:23, Shengjiu Wang wrote: > Add V4L2_CID_M2M_AUDIO_SOURCE_RATE and V4L2_CID_M2M_AUDIO_DEST_RATE > new IDs for rate control. > > Add V4L2_CID_M2M_AUDIO_SOURCE_RATE_OFFSET and > V4L2_CID_M2M_AUDIO_DEST_RATE_OFFSET for clock drift. > >

[git:v4l-utils/master] cv4l-helpers.h: add missing helper functions

2024-01-17 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: cv4l-helpers.h: add missing helper functions Author: Hans Verkuil Date:Wed Jan 17 10:32:50 2024 +0100 This header was missing

[git:v4l-utils/master] meson: Fix building with -Dv4l-utils=false

2024-01-17 Thread Hans Verkuil
was referenced without being defined. Tested-by: Peter Seiderer Signed-off-by: Hans Verkuil meson.build | 2 ++ 1 file changed, 2 insertions(+) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=fee976dcfe3be03cc72c099f9ed3bac938a34b58 diff --git a/meson.build b/meson.build index 3529f6d2f91a

[git:v4l-utils/master] meson: Allow documentation directory to be specified with -Ddocdir

2024-01-17 Thread Hans Verkuil
This is needed by Gentoo Linux QA. Signed-off-by: James Le Cuirot Signed-off-by: Hans Verkuil doc/meson.build | 2 +- meson.build | 5 + meson_options.txt | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id

[git:v4l-utils/master] meson.build: dep_systemd was not set in one case

2024-01-16 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: meson.build: dep_systemd was not set in one case Author: Hans Verkuil Date:Tue Jan 16 14:26:41 2024 +0100

[git:v4l-utils/master] v4l2-ctl: report max_num_buffers

2024-01-16 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: report max_num_buffers Author: Hans Verkuil Date:Tue Jan 16 11:34:34 2024 +0100 stream_buf_caps() didn't report

[git:v4l-utils/master] qv4l2: support menu controls in updateCtrlRange()

2024-01-15 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: qv4l2: support menu controls in updateCtrlRange() Author: Hans Verkuil Date:Mon Jan 15 14:15:58 2024 +0100 When a menu (or integer

[git:edid-decode/master] edid-decode: check that there really are SVRs to resolve

2024-01-15 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: check that there really are SVRs to resolve Author: Hans Verkuil Date:Mon Jan 15 09:37:58 2024 +0100 Check if there are really SVRs that need resolving, and verify that the SVR

[git:edid-decode/master] edid-decode: warn that CinemaVRR is deprecated

2024-01-15 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: warn that CinemaVRR is deprecated Author: Hans Verkuil Date:Mon Jan 15 09:39:49 2024 +0100 Signed-off-by: Hans Verkuil parse-cta-block.cpp | 6 -- 1 file changed, 4

[git:edid-decode/master] edid-decode: keep track of the max HDMI TMDS rate

2024-01-15 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: keep track of the max HDMI TMDS rate Author: Hans Verkuil Date:Mon Jan 15 09:41:13 2024 +0100 Warn if timings are used that exceed this rate. Signed-off-by: Hans Verkuil

[git:v4l-utils/master] Fixed qv4l2 crash with drivers that implement VIDIOC_ENUM_FRAMESIZES for outputs

2024-01-10 Thread Hans Verkuil
+0100 When a v4l2 driver implements VIDIOC_ENUM_FRAMESIZES for an output, qv4l2 crashes on accessing the "frame size widget" that does not exist. This patch adds a proper check for the widget not being NULL. Signed-off-by: Martin Tůma Signed-off-by: Hans Verkuil utils/qv4l2/gener

Re: [PATCH v3,04/21] v4l: add documentation for secure memory flag

2024-01-08 Thread Hans Verkuil
On 04/01/2024 21:05, Jeffrey Kardatzke wrote: > On Mon, Dec 11, 2023 at 3:05 AM Hans Verkuil wrote: >> >> On 06/12/2023 09:15, Yunfei Dong wrote: >>> From: Jeffrey Kardatzke >>> >>> Adds documentation for V4L2_MEMORY_FLAG_SECURE. >>> &

[git:v4l-utils/master] v4l2-ctl/compliance: read and show the subdev client capabilities

2023-12-15 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/compliance: read and show the subdev client capabilities Author: Hans Verkuil Date:Fri Dec 15 10:58:23 2023 +0100 Report

[git:v4l-utils/master] *v4l-helpers: support V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH

2023-12-15 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-helpers: support V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH Author: Hans Verkuil Date:Thu Dec 14 13:12:21 2023 +0100 Add

[git:v4l-utils/master] v4l2-ctl: add support for V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH

2023-12-15 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: add support for V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH Author: Hans Verkuil Date:Thu Dec 14 14:25:20 2023 +0100

[git:v4l-utils/master] v4l2-compliance: add support for V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH

2023-12-15 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: add support for V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH Author: Hans Verkuil Date:Thu Dec 14 14:26:28 2023

[git:media_stage/master] media: i2c: mt9m114: use fsleep() in place of udelay()

2023-12-14 Thread Hans Verkuil
Ailus Fixes: 24d756e914fc ("media: i2c: Add driver for onsemi MT9M114 camera sensor") Signed-off-by: Arnd Bergmann Reviewed-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/mt9m114.c | 2 +- 1 file changed, 1 i

[git:media_stage/master] media: videobuf2: core: Rename min_buffers_needed field in vb2_queue

2023-12-13 Thread Hans Verkuil
and update the documentation about it. Signed-off-by: Benjamin Gaignard Signed-off-by: Hans Verkuil [hverkuil: Drop the change where min_queued_buffers + 1 buffers would be] [hverkuil: allocated. Now this patch only renames this field instead of making] [hverkuil: a functional change as well.] [hverkuil

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

2023-12-13 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: v4l-utils: sync with latest kernel headers Author: Hans Verkuil Date:Wed Dec 13 16:59:44 2023 +0100 Signed-off-by: Hans

[git:media_stage/master] media: i2c: thp7312: Store frame interval in subdev state

2023-12-13 Thread Hans Verkuil
to simplify the driver. Signed-off-by: Laurent Pinchart Acked-by: Hans Verkuil Signed-off-by: Hans Verkuil drivers/media/i2c/thp7312.c | 158 +++- 1 file changed, 81 insertions(+), 77 deletions(-) --- diff --git a/drivers/media/i2c/thp7312.c b/drivers

[git:media_stage/master] media: v4l: subdev: Move out subdev state lock macros outside CONFIG_MEDIA_CONTROLLER

2023-12-13 Thread Hans Verkuil
g that can be allocated or freed. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Reviewed-by: Hans Verkuil Link: https://lore.kernel.org/r/20231208-v4l2-state-mc-fix-v1-1-a0c816255...@ideasonboard.com Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil include/media/v4l2-subd

[git:media_stage/master] media: v4l2-subdev: Store frame interval in subdev state

2023-12-13 Thread Hans Verkuil
for frame intervals. Fix it by adding interval fields in the v4l2_subdev_pad_config and v4l2_subdev_stream_config structures, with corresponding accessor functions and a helper function to implement the .get_frame_interval() operation. Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil

[git:media_stage/master] media: docs: uAPI: Fix documentation of 'which' field for routing ioctls

2023-12-13 Thread Hans Verkuil
the 'which' field, due to a bad copy & paste. Fix it. Fixes: ea73eda50813 ("media: Documentation: Add GS_ROUTING documentation") Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst | 2 +- 1 file change

[git:media_stage/master] media: v4l2-subdev: Turn .[gs]_frame_interval into pad operations

2023-12-13 Thread Hans Verkuil
would generate more churn for very little gain (if at all). Signed-off-by: Laurent Pinchart Reviewed-by: Hans Verkuil Reviewed-by: Philipp Zabel # for imx-media Reviewed-by: Luca Ceresoli # for tegra-video Signed-off-by: Hans Verkuil drivers/media/i2c/adv7180.c| 7

[git:media_stage/master] media: docs: uAPI: Clarify error documentation for invalid 'which' value

2023-12-13 Thread Hans Verkuil
Verkuil Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil Documentation/userspace-api/media/v4l/vidioc-subdev-g-crop.rst | 7 +++ Documentation/userspace-api/media/v4l/vidioc-subdev-g-fmt.rst | 5 ++--- .../userspace-api/media/v4l/vidioc-subdev-g-frame-interval.rst | 7

[git:media_stage/master] media: v4l2-subdev: Add which field to struct v4l2_subdev_frame_interval

2023-12-13 Thread Hans Verkuil
-by: Laurent Pinchart Reviewed-by: Philipp Zabel # for imx-media Reviewed-by: Hans Verkuil Reviewed-by: Luca Ceresoli # for tegra-video Reviewed-by: Mauro Carvalho Chehab Signed-off-by: Hans Verkuil .../media/v4l/vidioc-subdev-g-client-cap.rst | 5 + .../media/v4l/vidioc-subdev-g

[git:media_stage/master] media: docs: uAPI: Expand error documentation for invalid 'which' value

2023-12-13 Thread Hans Verkuil
not document the error returned when the field has an invalid value. Expand the documentation to fix this. Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil .../media/v4l/vidioc-subdev-enum-frame-interval.rst | 9 - .../userspace-api/media/v4l/vidioc-subdev-enum-frame

[git:media_stage/master] media: s5p-mfc: Add initial support for MFCv12

2023-12-13 Thread Hans Verkuil
, encoder and structural changes. Add luma dbp, chroma dpb and mv sizes for each codec as per the UM for MFCv12, along with appropriate alignment. Cc: linux-...@tesla.com Signed-off-by: Smitha T Murthy Signed-off-by: Aakarsh Jain Signed-off-by: Hans Verkuil .../media/platform/samsung/s5p-mfc/regs

[git:media_stage/master] media: s5p-mfc: Set context for valid case before calling try_run

2023-12-13 Thread Hans Verkuil
-...@tesla.com Signed-off-by: Smitha T Murthy Signed-off-by: Aakarsh Jain Signed-off-by: Hans Verkuil drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c | 2 ++ 1 file changed, 2 insertions(+) --- diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c b/drivers/media/platform/samsung/s5p-mfc

[git:media_stage/master] media: s5p-mfc: Load firmware for each run in MFCv12.

2023-12-13 Thread Hans Verkuil
need to reload original firmware for each run at the start. Cc: linux-...@tesla.com Signed-off-by: Smitha T Murthy Signed-off-by: Aakarsh Jain Signed-off-by: Hans Verkuil drivers/media/platform/samsung/s5p-mfc/s5p_mfc_ctrl.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions

[git:media_stage/master] media: s5p-mfc: DPB Count Independent of VIDIOC_REQBUF

2023-12-13 Thread Hans Verkuil
allocations has been moved after state MFCINST_HEAD_PRODUCED. It is taken care that codec buffer allocation is performed in process context from userspace IOCTL call. Cc: linux-...@tesla.com Signed-off-by: Smitha T Murthy Signed-off-by: Aakarsh Jain Signed-off-by: Hans Verkuil drivers/media

[git:media_stage/master] dt-bindings: media: s5p-mfc: Add mfcv12 variant

2023-12-13 Thread Hans Verkuil
-by: Aakarsh Jain Reviewed-by: Krzysztof Kozlowski Signed-off-by: Hans Verkuil .../devicetree/bindings/media/samsung,s5p-mfc.yaml | 18 ++ 1 file changed, 18 insertions(+) --- diff --git a/Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml b/Documentation/devicetree

[git:media_stage/master] media: s5p-mfc: Add support for DMABUF for encoder

2023-12-13 Thread Hans Verkuil
T Murthy Signed-off-by: Aakarsh Jain Signed-off-by: Hans Verkuil drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c | 4 ++-- drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c | 20 +++- 2 files changed, 13 insertions(+), 11 deletions(-) --- diff --git a/drivers/media

[git:media_stage/master] media: s5p-mfc: Add YV12 and I420 multiplanar format support

2023-12-13 Thread Hans Verkuil
is added to all formats and planes since it is necessary for YV12/I420 which are different from width. Cc: linux-...@tesla.com Signed-off-by: Smitha T Murthy Signed-off-by: Aakarsh Jain Signed-off-by: Hans Verkuil .../media/platform/samsung/s5p-mfc/regs-mfc-v12.h | 2 + .../media/platform

[git:media_stage/master] media: s5p-mfc: Rename IS_MFCV10 macro

2023-12-13 Thread Hans Verkuil
support. Since some part of MFCv10 specific code holds good for MFCv12 also. Cc: linux-...@tesla.com Signed-off-by: Smitha T Murthy Signed-off-by: Aakarsh Jain Reviewed-by: Alim Akhtar Signed-off-by: Hans Verkuil .../platform/samsung/s5p-mfc/s5p_mfc_common.h | 10 .../media

[git:media_stage/master] media: s5p-mfc: Add support for UHD encoding.

2023-12-13 Thread Hans Verkuil
corresponding support to set recommended profile and level for H264 in UHD scenario. Cc: linux-...@tesla.com Signed-off-by: Smitha T Murthy Signed-off-by: Aakarsh Jain Signed-off-by: Hans Verkuil drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c| 9 ++--- drivers/media/platform/samsung

[git:media_stage/master] media: s5p-mfc: Add support for rate controls in MFCv12

2023-12-13 Thread Hans Verkuil
and Variable Bitrate (VBR) added. Cc: linux-...@tesla.com Signed-off-by: Smitha T Murthy Signed-off-by: Aakarsh Jain Signed-off-by: Hans Verkuil .../platform/samsung/s5p-mfc/s5p_mfc_opr_v6.c | 22 ++ .../platform/samsung/s5p-mfc/s5p_mfc_opr_v6.h | 1 + 2 files

[git:media_stage/master] media: atmel-isi: Fix crash due to missing subdev in state

2023-12-13 Thread Hans Verkuil
off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/platform/atmel/atmel-isi.c | 1 + 1 file changed, 1 insertion(+) --- diff --git a/drivers/media/platform/atmel/atmel-isi.c b/drivers/media/platform/atmel/atmel-isi.c index da58f33b6b0a..ed70c030858d 100644 --- a/drivers/media/platfo

[git:media_stage/master] media: i2c: imx290: Properly encode registers as little-endian

2023-12-13 Thread Hans Verkuil
t [Sakari Ailus: Fixed the Fixes: tag.] Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx290.c | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) --- diff --git a/drivers/media/i2c/imx290.c b/drivers/media/i2c/imx2

[git:media_stage/master] media: i2c: Add support for alvium camera

2023-12-13 Thread Hans Verkuil
with libcamera References: - https://www.alliedvision.com/en/products/embedded-vision-solutions Signed-off-by: Tommaso Merciai [Sakari Ailus: Assign ret before using it in probe and squash Tommaso's other fixes.] Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil [hverkuil

[git:media_stage/master] media: ov2740: Add support for external clock

2023-12-13 Thread Hans Verkuil
. Reviewed-by: Bingbu Cao Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2740.c | 13 + 1 file changed, 13 insertions(+) --- diff --git a/drivers/media/i2c/ov2740.c b/drivers/media/i2c/ov2740.c index fef1b6f3f316..653cd96bb156

[git:media_stage/master] media: v4l2-cci: Add support for little-endian encoded registers

2023-12-13 Thread Hans Verkuil
t [Sakari Ailus: Fixed commit message.] Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/v4l2-core/v4l2-cci.c | 44 +++--- include/media/v4l2-cci.h | 5 + 2 files changed, 41 insertions(+), 8 deletions(-) --- diff --git a/dri

[git:media_stage/master] media: dt-bindings: alvium: add document YAML binding

2023-12-13 Thread Hans Verkuil
Allied Vision Inc. References: - https://www.alliedvision.com/en/products/embedded-vision-solutions Signed-off-by: Tommaso Merciai Reviewed-by: Laurent Pinchart Reviewed-by: Conor Dooley Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil .../media/i2c/alliedvision,alvium-csi2.yaml

[git:media_stage/master] media: i2c: imx335: Fix logging line endings

2023-12-13 Thread Hans Verkuil
and not fragments, explicitly define the newline for consistency. Signed-off-by: Kieran Bingham Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx335.c | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) --- diff --git

[git:media_stage/master] media: dt-bindings: ak7375: Add ak7345 support

2023-12-13 Thread Hans Verkuil
(instead of 12), 20 ms power-up delay (instead of 10), and no known standby register setting. Acked-by: Conor Dooley Signed-off-by: Vincent Knecht [Sakari Ailus: Rewrap commit message.] Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/devicetree/bindings/media/i2c/asahi

[git:media_stage/master] media: i2c: gc0308: new driver

2023-12-13 Thread Hans Verkuil
sold since 2010. Data is provided via parallel bus. Reviewed-by: Jacopo Mondi Signed-off-by: Sebastian Reichel [Sakari Ailus: Changed MAINTAINERS to match GC2145 entry.] Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil MAINTAINERS|7 + drivers/media/i2c/Kconfig

[git:media_stage/master] media: ov2740: Fix hts value

2023-12-13 Thread Hans Verkuil
math dividing clocks in to_pixels_per_line() which results in the hts getting multiplied by 2, resulting in 2160. Instead just directly set hts to the correct value of 2160 and drop to_pixels_per_line(). Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil

[git:media_stage/master] media: i2c: imx214: Explain some magic numbers

2023-12-13 Thread Hans Verkuil
-by: Kieran Bingham Signed-off-by: André Apitzsch [Sakari Ailus: The control handler remains in the context struct still.] Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx214.c | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) --- diff

[git:media_stage/master] media: i2c: ak7375: Prepare for supporting another chip

2023-12-13 Thread Hans Verkuil
to move chip-specific properties and values in a common structure. No functional changes. Signed-off-by: Vincent Knecht Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ak7375.c | 110 +++-- 1 file changed, 66 insertions(+), 44

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

2023-12-13 Thread Hans Verkuil
. Reviewed-by: Bingbu Cao Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2740.c | 48 -- 1 file changed, 46 insertions(+), 2 deletions(-) --- diff --git a/drivers/media/i2c/ov2740.c b/drivers/media

[git:media_stage/master] media: ov2740: Check hwcfg after allocating the ov2740 struct

2023-12-13 Thread Hans Verkuil
ov2740_check_hwcfg(). This is a preparation patch to allow ov2740_check_hwcfg() to store some of the parsed data in the ov2740 struct. Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2740.c | 13 +++-- 1 file changed, 7 insertions

[git:media_stage/master] media: ov2740: Improve ov2740_check_hwcfg() error reporting

2023-12-13 Thread Hans Verkuil
, so that it is always clear why the probe() failed. Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2740.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- diff --git a/drivers/media/i2c/ov2740.c b/drivers/media/i2c

[git:media_stage/master] media: ov2740: Add support for 180 MHz link frequency

2023-12-13 Thread Hans Verkuil
. The register settings for this were taken from the ov2740 sensor driver in the out of tree IPU6 driver: https://github.com/intel/ipu6-drivers/ Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2740.c | 263

[git:media_stage/master] media: Documentation: BT.601 is not a bus

2023-12-13 Thread Hans Verkuil
to refer to. Fix this. Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/driver-api/media/camera-sensor.rst | 4 ++-- Documentation/driver-api/media/tx-rx.rst | 13 +++-- 2 files changed, 9 insertions(+), 8 deletions(-) --- diff --git a/Documentation/driver

[git:media_stage/master] media: v4l: Safely to call v4l2_subdev_cleanup on an uninitialised subdev

2023-12-13 Thread Hans Verkuil
-device in v4l2_subdev_cleanup(). The list_empty() check there is unnecessary, too, so replace that by cheking whether the lists's next field is NULL. Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/v4l2-core/v4l2-subdev.c | 3 ++- 1 file changed, 2 insertions(+), 1

[git:media_stage/master] media: ipu-bridge: Change ov2740 link-frequency to 180 MHz

2023-12-13 Thread Hans Verkuil
using 360 MHz link-frequency there as before. Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu-bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/media/pci/intel/ipu-bridge.c b/drivers/media

[git:media_stage/master] media: dt-bindings: gc0308: add binding

2023-12-13 Thread Hans Verkuil
Signed-off-by: Sebastian Reichel Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil .../bindings/media/i2c/galaxycore,gc0308.yaml | 108 + 1 file changed, 108 insertions(+) --- diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml b

[git:media_stage/master] media: i2c: imx214: Move controls init to separate function

2023-12-13 Thread Hans Verkuil
yet if the controls are initialized incorrectly. Reviewed-by: Jacopo Mondi Reviewed-by: Ricardo Ribalda Signed-off-by: André Apitzsch Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx214.c | 115 ++--- 1 file changed, 67

[git:media_stage/master] media: dt-bindings: ov8856: decouple lanes and link frequency from driver

2023-12-13 Thread Hans Verkuil
: [36000] is too short Fixes: 066a94e28a23 ("media: dt-bindings: media: Use graph and video-interfaces schemas") Acked-by: Conor Dooley Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil .../devicetree/bindings

[git:media_stage/master] media: i2c: imx335: Support 2592x1940 10-bit mode

2023-12-13 Thread Hans Verkuil
10-bit mode. Following are the register set which control the 10/12 bit mode setting: MDBIT 0x319d ADBIT 0x3050 ADBIT1 0x341c 0x341d Signed-off-by: Umang Jain Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx335.c | 78

[git:media_stage/master] media: i2c: imx214: Read orientation and rotation from system firmware

2023-12-13 Thread Hans Verkuil
firmware and register the appropriate controls. While at it, update number of pre-allocated control slots. Reviewed-by: Jacopo Mondi Reviewed-by: Ricardo Ribalda Signed-off-by: André Apitzsch Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx214.c | 9 - 1 file

[git:media_stage/master] media: i2c: imx335: Fix hblank min/max values

2023-12-13 Thread Hans Verkuil
. Set the minimum and maximum value to match the mode value. Reviewed-by: Umang Jain Signed-off-by: Kieran Bingham Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx335.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/drivers/media/i2c

[git:media_stage/master] media: i2c: ak7375: Add support for ak7345

2023-12-13 Thread Hans Verkuil
, and no known standby register setting. Might be compatible as-is with ak7348. Tested on msm8916-alcatel-idol347 phone. Signed-off-by: Vincent Knecht Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ak7375.c | 26 ++ 1 file changed, 22 insertions

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

2023-12-13 Thread Hans Verkuil
Jackson Signed-off-by: Jacopo Mondi Acked-by: Conor Dooley Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil .../bindings/media/i2c/ovti,ov64a40.yaml | 103 + 1 file changed, 103 insertions(+) --- diff --git a/Documentation/devicetree/bindings/media/i2c

[git:media_stage/master] media: ov2740: Move fwnode_graph_get_next_endpoint() call up

2023-12-13 Thread Hans Verkuil
then the fwnode_property_read_u32("clock-frequency") call will fail. Move the fwnode_graph_get_next_endpoint() call to above reading the clock-frequency. Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2740.c | 20 ++-- 1 file c

[git:media_stage/master] media: ov2740: Add a sleep after resetting the sensor

2023-12-13 Thread Hans Verkuil
a delay after this. This hopefully fixes the stream sometimes not starting, this was taken from the ov2740 sensor driver in the out of tree IPU6 driver: https://github.com/intel/ipu6-drivers/ Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media

[git:media_stage/master] media: i2c: Add driver for OmniVision OV64A40

2023-12-13 Thread Hans Verkuil
Signed-off-by: Lee Jackson Signed-off-by: Jacopo Mondi Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil MAINTAINERS |8 + drivers/media/i2c/Kconfig | 10 + drivers/media/i2c/Makefile |1 + drivers/media/i2c/ov64a40.c | 3690

[git:media_stage/master] media: i2c: imx214: Add sensor's pixel matrix size

2023-12-13 Thread Hans Verkuil
]: https://www.mouser.com/datasheet/2/897/ProductBrief_IMX214_20150428-1289331.pdf Reviewed-by: Jacopo Mondi Signed-off-by: André Apitzsch Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx214.c | 39 --- 1 file changed, 32

[git:media_stage/master] media: Documentation: LP-11 and LP-111 are states, not modes

2023-12-13 Thread Hans Verkuil
-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil Documentation/driver-api/media/tx-rx.rst | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) --- diff --git a/Documentation/driver-api/media/tx-rx.rst b/Documentation/driver-api/media/tx-rx.rst index

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

2023-12-13 Thread Hans Verkuil
-by: Umang Jain Reviewed-by: Marco Felsch Signed-off-by: Kieran Bingham Acked-by: Conor Dooley Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil .../devicetree/bindings/media/i2c/sony,imx335.yaml | 13 + 1 file changed, 13 insertions(+) --- diff --git

[git:media_stage/master] media: MAINTAINERS: Add GalaxyCore in camera sensor section

2023-12-13 Thread Hans Verkuil
ore camera sensor drivers, so add it to the list. Signed-off-by: Sebastian Reichel Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil MAINTAINERS | 1 + 1 file changed, 1 insertion(+) --- diff --git a/MAINTAINERS b/MAINTAINERS index ea877c00c408..e0d54067d31c 100644 --- a/MAINTAI

[git:media_stage/master] media: i2c: imx335: Improve configuration error reporting

2023-12-13 Thread Hans Verkuil
be taken without reporting to the user the reason for failing to accept the hardware configuration. Extend the error reporting paths to identify failures when probing the device. Reviewed-by: Umang Jain Signed-off-by: Kieran Bingham Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers

[git:media_stage/master] media: i2c: imx335: Enable regulator supplies

2023-12-13 Thread Hans Verkuil
to the camera sensor. While updating the power on function, document that a sleep is represented as 'T4' in the datasheet power on sequence. Signed-off-by: Kieran Bingham Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/imx335.c | 36 ++-- 1

<    1   2   3   4   5   6   7   8   9   10   >