[git:media_tree/master] media: arm64: dts: st: add video encoder support to stm32mp255

2024-02-06 Thread Mauro Carvalho Chehab
-by: Hugues Fruchet Signed-off-by: Mauro Carvalho Chehab arch/arm64/boot/dts/st/stm32mp251.dtsi | 6 ++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 7 +++ 2 files changed, 13 insertions(+) --- diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi

[git:media_tree/master] media: i2c: mt9v032: convert to use maple tree register cache

2024-02-06 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Reviewed-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/mt9v032.c | 2

[git:media_tree/master] media: i2c: imx274: convert to use maple tree register cache

2024-02-06 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx274.c | 2 +- 1 file changed, 1 insertion

[git:media_tree/master] media: i2c: tvp5150: convert to use maple tree register cache

2024-02-06 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/tvp5150.c | 2 +- 1 file changed, 1

[git:media_tree/master] media: tc358743: register v4l2 async device only after successful setup

2024-02-06 Thread Mauro Carvalho Chehab
registering the v4l2 async device, thus allowing userspace to access. Signed-off-by: Alexander Stein Reviewed-by: Robert Foss Fixes: 4c5211a10039 ("[media] tc358743: register v4l2 asynchronous subdevice") Cc: sta...@vger.kernel.org Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carva

[git:media_tree/master] media: v4l2: cci: print leading 0 on error

2024-02-06 Thread Mauro Carvalho Chehab
3cbb91e9ce ("media: Add MIPI CCI register access helper functions") Signed-off-by: Julien Massot Reviewed-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/v4l2-core/v4l2-cci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

[git:media_tree/master] media: i2c: st-vgxy61: Convert to CCI register access helpers

2024-02-06 Thread Mauro Carvalho Chehab
: Mauro Carvalho Chehab drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/st-vgxy61.c | 390 +- 2 files changed, 154 insertions(+), 237 deletions(-) --- diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 4c3435921f19

[git:media_tree/master] media: i2c: imx415: Add more clock configurations

2024-02-06 Thread Mauro Carvalho Chehab
ev. E19504, 2019/05/21). For consistency suffix all lane rate values by UL, which is needed for 237600 anyway. Signed-off-by: Alexander Stein Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx415.c | 265 - 1 fi

[git:media_tree/master] media: i2c: imx415: Convert to new CCI register access helpers

2024-02-06 Thread Mauro Carvalho Chehab
private register access helpers in the imx415 driver. Signed-off-by: Alexander Stein Reviewed-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/imx415.c | 407 +++-- 2

[git:media_tree/master] media: v4l: Add a helper for setting up link-frequencies control

2024-02-06 Thread Mauro Carvalho Chehab
drivers need them. The result is a bitmap of supported controls. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/v4l2-core/v4l2-common.c | 47 +++ include/media/v4l2-common.h | 25 +++ 2 files changed, 72

[git:media_tree/master] media: imx319: Use v4l2_link_freq_to_bitmap helper

2024-02-06 Thread Mauro Carvalho Chehab
link freq can be used on a given system. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx319.c | 53 -- 1 file changed, 14 insertions(+), 39 deletions(-) --- diff --git a/drivers/media/i2c/imx319.c b/drivers/media

[git:media_tree/master] media: imx355: Use v4l2_link_freq_to_bitmap helper

2024-02-06 Thread Mauro Carvalho Chehab
link freq can be used on a given system. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx355.c | 53 -- 1 file changed, 14 insertions(+), 39 deletions(-) --- diff --git a/drivers/media/i2c/imx355.c b/drivers/media

[git:media_tree/master] media: imx334: Use v4l2_link_freq_to_bitmap helper

2024-02-06 Thread Mauro Carvalho Chehab
link frequencies can be used on a given system. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx334.c | 41 - 1 file changed, 12 insertions(+), 29 deletions(-) --- diff --git a/drivers/media/i2c/imx334.c b/drivers

[git:media_tree/master] media: ov08x40: Reduce start streaming time

2024-02-06 Thread Mauro Carvalho Chehab
unneeded dev_dbg().] Signed-off-by: Jason Chen Reviewed-by: Sergey Senozhatsky Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab .../bindings/media/video-interfaces.yaml |2 +- arch/arm/boot/dts/ti/omap/omap3-n9.dts |2 +- drivers/media/i2c/ov08x40

[git:media_tree/master] media: ov08x40: Avoid sensor probing in D0 state

2024-02-06 Thread Mauro Carvalho Chehab
component, such as LED, will also be pulled high due to the hardware design. It's advisable to keep the device being probed in a different D state. Signed-off-by: Jason Chen Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/ov08x40.c

[git:media_tree/master] media: ov08x40: Modify the tline calculation in different modes

2024-02-06 Thread Mauro Carvalho Chehab
* HTS / SCLK Exposure unit : 1 * HTS = 1 Tline Signed-off-by: Jason Chen Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/ov08x40.c | 66 ++--- 1 file changed, 51 insertions(+), 15 deletions(-) --- diff --git a/dr

[git:media_stage/master] media: i2c: mt9v032: convert to use maple tree register cache

2024-02-01 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Reviewed-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/mt9v032.c | 2

[git:media_stage/master] media: imx334: Use v4l2_link_freq_to_bitmap helper

2024-02-01 Thread Mauro Carvalho Chehab
link frequencies can be used on a given system. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx334.c | 41 - 1 file changed, 12 insertions(+), 29 deletions(-) --- diff --git a/drivers/media/i2c/imx334.c b/drivers

[git:media_stage/master] media: ov08x40: Avoid sensor probing in D0 state

2024-02-01 Thread Mauro Carvalho Chehab
component, such as LED, will also be pulled high due to the hardware design. It's advisable to keep the device being probed in a different D state. Signed-off-by: Jason Chen Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/ov08x40.c

[git:media_stage/master] media: ov08x40: Modify the tline calculation in different modes

2024-02-01 Thread Mauro Carvalho Chehab
* HTS / SCLK Exposure unit : 1 * HTS = 1 Tline Signed-off-by: Jason Chen Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/ov08x40.c | 66 ++--- 1 file changed, 51 insertions(+), 15 deletions(-) --- diff --git a/dr

[git:media_stage/master] media: imx355: Use v4l2_link_freq_to_bitmap helper

2024-02-01 Thread Mauro Carvalho Chehab
link freq can be used on a given system. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx355.c | 53 -- 1 file changed, 14 insertions(+), 39 deletions(-) --- diff --git a/drivers/media/i2c/imx355.c b/drivers/media

[git:media_stage/master] media: v4l2: cci: print leading 0 on error

2024-02-01 Thread Mauro Carvalho Chehab
3cbb91e9ce ("media: Add MIPI CCI register access helper functions") Signed-off-by: Julien Massot Reviewed-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/v4l2-core/v4l2-cci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

[git:media_stage/master] media: i2c: imx415: Convert to new CCI register access helpers

2024-02-01 Thread Mauro Carvalho Chehab
private register access helpers in the imx415 driver. Signed-off-by: Alexander Stein Reviewed-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/imx415.c | 407 +++-- 2

[git:media_stage/master] media: i2c: imx274: convert to use maple tree register cache

2024-02-01 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx274.c | 2 +- 1 file changed, 1 insertion

[git:media_stage/master] media: i2c: imx214: convert to use maple tree register cache

2024-02-01 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx214.c | 2 +- 1 file changed, 1 insertion

[git:media_stage/master] media: Documentation: Rework CCS driver documentation

2024-02-01 Thread Mauro Carvalho Chehab
fix a spelling error in UAPI documentation previously fixed in driver documentation. Also add references both ways. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab Documentation/driver-api/media/drivers/ccs/ccs.rst | 53 ++ Documentation/userspace-api/media

[git:media_stage/master] media: i2c: imx415: Add more clock configurations

2024-02-01 Thread Mauro Carvalho Chehab
ev. E19504, 2019/05/21). For consistency suffix all lane rate values by UL, which is needed for 237600 anyway. Signed-off-by: Alexander Stein Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx415.c | 265 - 1 fi

[git:media_stage/master] media: ov08x40: Reduce start streaming time

2024-02-01 Thread Mauro Carvalho Chehab
unneeded dev_dbg().] Signed-off-by: Jason Chen Reviewed-by: Sergey Senozhatsky Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab .../bindings/media/video-interfaces.yaml |2 +- arch/arm/boot/dts/ti/omap/omap3-n9.dts |2 +- drivers/media/i2c/ov08x40

[git:media_stage/master] media: i2c: isl7998x: convert to use maple tree register cache

2024-02-01 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/isl7998x.c | 2 +- 1 file changed, 1

[git:media_stage/master] media: imx319: Use v4l2_link_freq_to_bitmap helper

2024-02-01 Thread Mauro Carvalho Chehab
link freq can be used on a given system. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx319.c | 53 -- 1 file changed, 14 insertions(+), 39 deletions(-) --- diff --git a/drivers/media/i2c/imx319.c b/drivers/media

[git:media_stage/master] media: i2c: max2175: convert to use maple tree register cache

2024-02-01 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/max2175.c | 2 +- 1 file changed, 1

[git:media_stage/master] media: tc358743: register v4l2 async device only after successful setup

2024-02-01 Thread Mauro Carvalho Chehab
registering the v4l2 async device, thus allowing userspace to access. Signed-off-by: Alexander Stein Reviewed-by: Robert Foss Fixes: 4c5211a10039 ("[media] tc358743: register v4l2 asynchronous subdevice") Cc: sta...@vger.kernel.org Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carva

[git:media_stage/master] media: v4l: Add a helper for setting up link-frequencies control

2024-02-01 Thread Mauro Carvalho Chehab
drivers need them. The result is a bitmap of supported controls. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/v4l2-core/v4l2-common.c | 47 +++ include/media/v4l2-common.h | 25 +++ 2 files changed, 72

[git:media_stage/master] media: i2c: st-vgxy61: Convert to CCI register access helpers

2024-02-01 Thread Mauro Carvalho Chehab
: Mauro Carvalho Chehab drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/st-vgxy61.c | 390 +- 2 files changed, 154 insertions(+), 237 deletions(-) --- diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 4c3435921f19

[git:media_stage/master] media: i2c: tvp5150: convert to use maple tree register cache

2024-02-01 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/tvp5150.c | 2 +- 1 file changed, 1

[git:media_stage/fixes] media: rc: bpf attach/detach requires write permission

2024-02-01 Thread Mauro Carvalho Chehab
...@vger.kernel.org Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab drivers/media/rc/bpf-lirc.c | 6 +++--- drivers/media/rc/lirc_dev.c | 5 - drivers/media/rc/rc-core-priv.h | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) --- diff --git a/drivers/media/rc/bpf-lirc.c b

[git:media_stage/fixes] media: atomisp: Adjust for v4l2_subdev_state handling changes in 6.8

2024-02-01 Thread Mauro Carvalho Chehab
v4l2_subdev's active state, so that sensor drivers which are using the v4l2_subdev's active state to store their state keep working. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_cmd.c| 58 - .../sta

[git:media_stage/fixes] media: ir_toy: fix a memleak in irtoy_tx

2024-02-01 Thread Mauro Carvalho Chehab
a memleak. Fixes: 4114978dcd24 ("media: ir_toy: prevent device from hanging during transmit") Signed-off-by: Zhipeng Lu Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab drivers/media/rc/ir_toy.c | 2 ++ 1 file changed, 2 insertions(+) --- diff --git a/drivers/media/r

[git:media_stage/fixes] media: pwm-ir-tx: Depend on CONFIG_HIGH_RES_TIMERS

2024-02-01 Thread Mauro Carvalho Chehab
rrupt context"), pwm-ir-tx uses high resolution timers for IR signal generation when the pwm can be used from atomic context. Ensure they are available. Fixes: 363d0e56285e ("media: pwm-ir-tx: Trigger edges from hrtimer interrupt context") Signed-off-by: Sean Young Signed-off-by: M

[git:media_stage/master] media: hantro: add support for STM32MP25 VENC

2024-02-01 Thread Mauro Carvalho Chehab
. VENC has its own reset/clock/irq. Reviewed-by: Nicolas Dufresne Signed-off-by: Hugues Fruchet Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/verisilicon/hantro_drv.c| 1 + drivers/media/platform/verisilicon/hantro_hw.h | 1 + .../media/platform/verisilicon

[git:media_stage/master] media: arm64: dts: st: add video decoder support to stm32mp255

2024-02-01 Thread Mauro Carvalho Chehab
-by: Hugues Fruchet Signed-off-by: Mauro Carvalho Chehab arch/arm64/boot/dts/st/stm32mp251.dtsi | 6 ++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 10 ++ 2 files changed, 16 insertions(+) --- diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251

[git:media_stage/master] media: dt-bindings: media: Document STM32MP25 VDEC & VENC video codecs

2024-02-01 Thread Mauro Carvalho Chehab
encoder bindings. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Hugues Fruchet Signed-off-by: Mauro Carvalho Chehab .../bindings/media/st,stm32mp25-video-codec.yaml | 49 ++ 1 file changed, 49 insertions(+) --- diff --git a/Documentation/devicetree/bindings/media/st,s

[git:media_stage/master] media: hantro: add support for STM32MP25 VDEC

2024-02-01 Thread Mauro Carvalho Chehab
. No post-processor support. VDEC has its own reset/clock/irq. Successfully tested up to full HD. Reviewed-by: Nicolas Dufresne Signed-off-by: Hugues Fruchet Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/verisilicon/Kconfig | 14 +++- drivers/media/platform/verisilicon

[git:media_stage/master] media: arm64: dts: st: add video encoder support to stm32mp255

2024-02-01 Thread Mauro Carvalho Chehab
-by: Hugues Fruchet Signed-off-by: Mauro Carvalho Chehab arch/arm64/boot/dts/st/stm32mp251.dtsi | 6 ++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 7 +++ 2 files changed, 13 insertions(+) --- diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi

[git:media_stage/master] media: atomisp: Fix repeated "of" in isp2400_input_system_public.h

2024-01-31 Thread Mauro Carvalho Chehab
1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/isp2400_input_system_public.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/staging/media/atomisp/

[git:media_stage/master] media: atomisp: Fix spelling mistakes in sh_css_mipi.c

2024-01-31 Thread Mauro Carvalho Chehab
//lore.kernel.org/r/20231223064152.79712-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/sh_css_mipi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/drivers/

[git:media_stage/master] media: atomisp: Refactor sensor crop + fmt setting

2024-01-31 Thread Mauro Carvalho Chehab
ion. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_cmd.c | 141 ++-- 1 file changed, 58 insertions(+), 83 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atom

[git:media_stage/master] media: atomisp: Fix spelling mistake in isp2400_input_system_global.h

2024-01-31 Thread Mauro Carvalho Chehab
/lore.kernel.org/r/2023101503.2337-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/isp2400_input_system_global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --gi

[git:media_stage/master] media: platform: mtk-mdp3: add support second sets of MMSYS

2024-01-31 Thread Mauro Carvalho Chehab
subsets coordinate and control the clock, power, and register settings required for the components of MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mdp_cfg_data.c

[git:media_stage/master] media: atomisp: Adjust for v4l2_subdev_state handling changes in 6.8

2024-01-31 Thread Mauro Carvalho Chehab
v4l2_subdev's active state, so that sensor drivers which are using the v4l2_subdev's active state to store their state keep working. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_cmd.c| 58 - .../sta

[git:media_stage/master] media: platform: mtk-mdp3: add checks for dummy components

2024-01-31 Thread Mauro Carvalho Chehab
. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mdp_cfg_data.c| 8 +++ .../media/platform/mediatek/mdp3/mtk-mdp3-cfg.h| 1 + .../media/platform/mediatek/mdp3/mtk-mdp3

[git:media_stage/master] media: platform: mtk-mdp3: avoid multiple driver registrations

2024-01-31 Thread Mauro Carvalho Chehab
of MMSYS. Since MT8195 MDP3 utilizes VPPSYS0 and VPPSYS1, it's necessary to prevent multiple driver registrations. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/mediatek

[git:media_stage/master] media: platform: mtk-mdp3: add mt8195 MDP3 component settings

2024-01-31 Thread Mauro Carvalho Chehab
crucial to read all component settings in a specific manner to ensure that shared memory data structure lengths are aligned across different platforms. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media

[git:media_stage/master] media: platform: mtk-mdp3: add support second sets of MUTEX

2024-01-31 Thread Mauro Carvalho Chehab
a corresponding second set of MUTEX (MUTEX2) to assist in handling SOF/EOF. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 57

[git:media_stage/master] media: platform: mtk-mdp3: extend GCE event waiting in RDMA and WROT

2024-01-31 Thread Mauro Carvalho Chehab
: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mdp_cfg_data.c| 2 ++ .../media/platform/mediatek/mdp3/mtk-mdp3-comp.c | 27 +++--- .../media/platform/mediatek/mdp3

[git:media_stage/master] media: platform: mtk-mdp3: introduce more pipelines from MT8195

2024-01-31 Thread Mauro Carvalho Chehab
enable the creation of more pipelines in MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 80 ++ .../media/platform/mediatek/mdp3

[git:media_stage/master] media: platform: mtk-mdp3: add support for blending multiple components

2024-01-31 Thread Mauro Carvalho Chehab
virtual units with advanced functions. These components require simultaneous configuration of their MODs and clocks. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mtk-mdp3

[git:media_stage/master] media: platform: mtk-mdp3: introduce more MDP3 components

2024-01-31 Thread Mauro Carvalho Chehab
Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/mediatek/mdp3/mdp_reg_aal.h | 25 +++ .../media/platform/mediatek/mdp3/mdp_reg_color.h | 31 drivers/media/platform/mediatek/mdp3/mdp_reg_fg.h

[git:media_stage/master] media: platform: mtk-mdp3: add support for parallel pipe to improve FPS

2024-01-31 Thread Mauro Carvalho Chehab
parallelly process a single frame. To enable this feature, multiple CMDQ clients and packets need to be configured at the same time. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform

[git:media_stage/master] media: platform: mtk-mdp3: add mt8195 platform configuration

2024-01-31 Thread Mauro Carvalho Chehab
" and corresponding driver data. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mdp_cfg_data.c| 666 + drivers/media/platform/mediatek/mdp3/mtk-img-i

[git:media_stage/master] media: platform: mtk-mdp3: add mt8195 shared memory configurations

2024-01-31 Thread Mauro Carvalho Chehab
defined in the header file "mdp_sm_mt8195.h". Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mdp_sm_mt8195.h | 283 + drivers/media/platfor

[git:media_stage/master] media: atomisp: Remove redundant assignments to variables

2024-01-31 Thread Mauro Carvalho Chehab
are never read, the assignment are redundant and can be removed. Cleans up cppcheck unreadVariable warnings. Link: https://lore.kernel.org/r/20231219143929.367929-1-colin.i.k...@gmail.com Signed-off-by: Colin Ian King Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab .../media

[git:media_stage/master] media: atomisp: Fix probe error-exit path

2024-01-31 Thread Mauro Carvalho Chehab
to the same place in the error-exit path Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 39 1 file changed, 19 insertions(+), 20 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci

[git:media_stage/master] media: atomisp: Remove remaining deferred firmware loading code

2024-01-31 Thread Mauro Carvalho Chehab
m sh_css.c (this was always true now) - Adjust some function kernel-doc comments to match Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab .../media/atomisp/pci/atomisp_compat_css20.c | 2 +- drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 9 -- drivers/sta

[git:media_stage/master] media: atomisp: Fix spelling mistake in ia_css_acc_types.h

2024-01-31 Thread Mauro Carvalho Chehab
ibes". Link: https://lore.kernel.org/r/20231223141157.95501-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Reviewed-by: Randy Dunlap Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/ia_css_acc_types.h | 4 ++-- 1 file changed, 2 insert

[git:media_stage/master] media: atomisp: Fix spelling mistake in ia_css_circbuf.h

2024-01-31 Thread Mauro Carvalho Chehab
-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab .../staging/media/atomisp/pci/base/circbuf/interface/ia_css_circbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/staging/media/atomisp/pci/base/circbuf/interface/ia_css_circbuf.h b/drivers/stagi

[git:media_stage/master] media: atomisp: Removed duplicate comment and fixed comment format

2024-01-31 Thread Mauro Carvalho Chehab
* Fixed up minor comment format issue Link: https://lore.kernel.org/r/20231014083545.173238-1-bergh.jonat...@gmail.com Signed-off-by: Jonathan Bergh Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/i2c/gc2235.h | 5 + 1 file changed, 1 insertion

[git:media_stage/master] media: atomisp: Fix a spelling mistake in sh_css_defs.h

2024-01-31 Thread Mauro Carvalho Chehab
quot;upto" to "up to". Link: https://lore.kernel.org/r/20231218153200.450148-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/sh_css_defs.h | 2 +- 1 file changed, 1 insertion(

[git:media_stage/master] media: atomisp: Group cpu_latency_qos_add_request() call together with other PM calls

2024-01-31 Thread Mauro Carvalho Chehab
in probe() together with the other PM calls in probe(). This is a preparation patch for futher PM fixes / work. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions

[git:media_stage/master] media: atomisp: Fix spelling mistakes in rmgr_vbuf.c

2024-01-31 Thread Mauro Carvalho Chehab
meaning and spelling error free. Link: https://lore.kernel.org/r/20231223072245.81630-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c | 6 +++--- 1 fil

[git:media_stage/master] media: atomisp: Drop is_valid_device() function

2024-01-31 Thread Mauro Carvalho Chehab
is no longer necessary. The main probe() already contains a similar switch (id->device & ATOMISP_PCI_DEVICE_SOC_MASK) checking for a known device_id. Move the revision check into the main probe() and drop the is_valid_device() function. Signed-off-by: Hans de Goede Signed-off-by: Mauro C

[git:media_stage/master] media: atomisp: Fix spelling mistakes in ia_css_macc_table.host.c

2024-01-31 Thread Mauro Carvalho Chehab
081354.83318-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab .../atomisp/pci/isp/kernels/macc/macc_1.0/ia_css_macc_table.host.c| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/drivers/stagin

[git:media_stage/master] media: atomisp: Remove s_routing subdev call

2024-01-31 Thread Mauro Carvalho Chehab
calling it. Also the 3 0 arguments are not the arguments which a successful s_routing call is supposed to take. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 8 1 file changed, 8 deletions(-) --- diff --git a/drivers

[git:media_stage/master] media: atomisp: Fix atomisp_pci_remove()

2024-01-31 Thread Mauro Carvalho Chehab
ssage -Add missing devm_free_irq(), atomisp_uninitialize_modules() and pci_free_irq_vectors() calls -Move atomisp_msi_irq_uninit() down so that the remove() order is an exact mirror of the probe() order Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/a

[git:media_stage/master] media: atomisp: Fix probe()/remove() power-management

2024-01-31 Thread Mauro Carvalho Chehab
: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 96 +--- 1 file changed, 36 insertions(+), 60 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c index 7d99b53107b0

[git:media_stage/master] media: atomisp: Call pcim_enable_device() and pcim_iomap_regions() later

2024-01-31 Thread Mauro Carvalho Chehab
de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 45 +++- 1 file changed, 20 insertions(+), 25 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c

[git:media_stage/master] media: atomisp: Replace atomisp_drvfs attr with using driver.dev_groups attr

2024-01-31 Thread Mauro Carvalho Chehab
, this commit fixes this. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_drvfs.c | 144 -- drivers/staging/media/atomisp/pci/atomisp_drvfs.h | 5 +- drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 9 +- 3 files

[git:media_stage/master] media: atomisp: Fix spelling mistake in binary.c

2024-01-31 Thread Mauro Carvalho Chehab
: ''' ./runtime/binary/src/binary.c:537: spcification ==> specification ''' This patch fixes thisspelling mistake. Link: https://lore.kernel.org/r/20231223091521.85467-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by:

[git:media_stage/master] media: atomisp: Fix spelling mistakes in ia_css_irq.h

2024-01-31 Thread Mauro Carvalho Chehab
;'' This patch corrects spelling errors, changing "in" to "is" in all three comments. Link: https://lore.kernel.org/r/20231218151704.449883-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab

[git:media_stage/master] media: atomisp: Fix spelling mistakes in queue.c

2024-01-31 Thread Mauro Carvalho Chehab
Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c b/drivers/staging/media/a

[git:media_stage/master] media: atomisp: Fix spelling mistakes in ia_css_hdr_types.h

2024-01-31 Thread Mauro Carvalho Chehab
.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/isp/kernels/hdr/ia_css_hdr_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/isp/kerne

[git:media_stage/master] media: atomisp: Fix spelling mistakes in circbuf.c

2024-01-31 Thread Mauro Carvalho Chehab
Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/base/circbuf/src/circbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/base/circbuf/src/circbuf.c b/drivers/staging/media/atomisp/pci/base/circ

[git:media_stage/master] media: atomisp: Move power-management [un]init into atomisp_pm_[un]init()

2024-01-31 Thread Mauro Carvalho Chehab
atomisp_pm_[un]init() helper functions. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 69 +--- 1 file changed, 38 insertions(+), 31 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci

[git:media_stage/master] media: atomisp: Update TODO

2024-01-31 Thread Mauro Carvalho Chehab
atomisp specific ones, this has been done. Remove the TODO item for gracefully handling missing firmware the "media: atomisp: Bind and do power-management without firmware" changes have fixed this. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/med

[git:media_stage/master] media: atomisp: Bind and do power-management without firmware

2024-01-31 Thread Mauro Carvalho Chehab
the same as the non-staging, pm-only drivers/platform/x86/intel/atomisp2/pm.c driver. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab .../staging/media/atomisp/pci/atomisp_internal.h | 1 + drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 32 -- 2

[git:media_stage/master] media: atomisp: Remove unnecessary msleep(10) from atomisp_mrfld_power() error path

2024-01-31 Thread Mauro Carvalho Chehab
. Sleeping an extra 10 ms in the timeout path makes little sense. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 3 --- 1 file changed, 3 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c b/drivers

[git:media_stage/fixes] media: Revert "media: rkisp1: Drop IRQF_SHARED"

2024-01-31 Thread Mauro Carvalho Chehab
-173007628...@ideasonboard.com Reported-by: Mikhail Rudenko Signed-off-by: Tomi Valkeinen Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/medi

[git:media_stage/fixes] media: rkisp1: Fix IRQ handling due to shared interrupts

2024-01-31 Thread Mauro Carvalho Chehab
rt Signed-off-by: Mauro Carvalho Chehab .../platform/rockchip/rkisp1/rkisp1-capture.c | 3 +++ .../media/platform/rockchip/rkisp1/rkisp1-common.h | 2 ++ .../media/platform/rockchip/rkisp1/rkisp1-csi.c| 3 +++ .../media/platform/rockchip/rkisp1/rkisp1-dev

[git:dtv-scan-tables/master] dvb-s: drop transponders that aren't there at Lyngsat anymore

2024-01-30 Thread Mauro Carvalho Chehab
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: dvb-s: drop transponders that aren't there at Lyngsat anymore Author: Mauro Carvalho Chehab Date:Tue Jan 30 17:34:57 2024

[git:dtv-scan-tables/master] dvb-s: update from today's Lyngsat report

2024-01-30 Thread Mauro Carvalho Chehab
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: dvb-s: update from today's Lyngsat report Author: Mauro Carvalho Chehab Date:Tue Jan 30 17:31:26 2024 +0100 Signed-off-by:

[git:dtv-scan-tables/master] dtv-scan-tables: full uk transmitter update

2024-01-30 Thread Mauro Carvalho Chehab
files, removes discontinued muxes Link: https://lore.kernel.org/linux-media/20230216010528.5921-1-si...@liddicott.com Signed-off-by: Simon Liddicott Signed-off-by: Mauro Carvalho Chehab dvb-t/uk-Aberdare | 4 ++-- dvb-t/uk-Angus| 17 ++--- dvb-t

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

2024-01-26 Thread Mauro Carvalho Chehab
TEST to check if mailman domain template will provide a valid URL. ___ linuxtv-commits mailing list -- linuxtv-commits@linuxtv.org To unsubscribe send an email to linuxtv-commits-le...@linuxtv.org %(web_page_url)slistinfo/%(_internal_name)s

[git:media_tree/master] media: i2c: thp7312: select CONFIG_FW_LOADER

2024-01-12 Thread Mauro Carvalho Chehab
i2c: Add driver for THine THP7312") Signed-off-by: Arnd Bergmann Reviewed-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) --- diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 78a87331686e.

[git:media_stage/master] media: i2c: thp7312: select CONFIG_FW_LOADER

2024-01-11 Thread Mauro Carvalho Chehab
i2c: Add driver for THine THP7312") Signed-off-by: Arnd Bergmann Reviewed-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) --- diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 78a87331686e.

[git:media_tree/master] media: bttv: start_streaming should return a proper error code

2023-12-20 Thread Mauro Carvalho Chehab
error code. Fix that. Signed-off-by: Hans Verkuil Fixes: b7ec3212a73a ("media: bttv: convert to vb2") Signed-off-by: Mauro Carvalho Chehab drivers/media/pci/bt8xx/bttv-driver.c | 6 ++ drivers/media/pci/bt8xx/bttv-vbi.c| 8 +++- 2 files changed, 5 insertions(+), 9

[git:media_tree/master] media: imx: imx7-media-csi: Include headers explicitly

2023-12-20 Thread Mauro Carvalho Chehab
relying on indirect inclusion. While at it, drop a few unneeded headers. Signed-off-by: Laurent Pinchart Acked-by: Alexander Stein Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/nxp/imx7-media-csi.c | 27 +-- 1 file changed, 21 insertions(+), 6 deletions

[git:media_tree/master] media: rkisp1: Fix IRQ disable race issue

2023-12-20 Thread Mauro Carvalho Chehab
d-off-by: Mauro Carvalho Chehab drivers/media/platform/rockchip/rkisp1/rkisp1-csi.c | 14 +- drivers/media/platform/rockchip/rkisp1/rkisp1-isp.c | 20 +--- 2 files changed, 30 insertions(+), 4 deletions(-) --- diff --git a/drivers/media/platform/rockchip/rkisp1/rkisp1-

[git:media_tree/master] media: uvcvideo: Pick first best alternate setting insteed of last

2023-12-20 Thread Mauro Carvalho Chehab
-media/nh6d0wi--...@tutanota.com/ Reported-by: Karel Janda Suggested-by: Karel Janda Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab drivers/media/usb/uvc/uvc_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/media/usb/uvc/uvc_video.c

[git:media_tree/master] media: nxp: imx8-isi-debug: Add missing 36-Bit DMA registers to debugfs output

2023-12-20 Thread Mauro Carvalho Chehab
Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab .../media/platform/nxp/imx8-isi/imx8-isi-debug.c | 27 +++--- 1 file changed, 24 insertions(+), 3 deletions(-) --- diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-debug.c b/drivers/media

[git:media_tree/master] media: rkisp1: Drop IRQF_SHARED

2023-12-20 Thread Mauro Carvalho Chehab
lag. Link: https://lore.kernel.org/r/20231207-rkisp-irq-fix-v3-1-358a2c871...@ideasonboard.com Tested-by: Adam Ford #imx8mp-beacon Signed-off-by: Tomi Valkeinen Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c | 2 +- 1 fi

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