| 09518df7 | 13-Jan-2025 |
Alain Volmat <[email protected]> |
media: stm32: dcmipp: add has_csi2 & needs_mclk in match data
Introduce two variable has_csi and has_mclk within the match data of the driver in order to know, depending on the compatible if CSI-2 i
media: stm32: dcmipp: add has_csi2 & needs_mclk in match data
Introduce two variable has_csi and has_mclk within the match data of the driver in order to know, depending on the compatible if CSI-2 interface is available and if the mclk clk should be retrieved.
Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| 1ec16c33 | 13-Jan-2025 |
Alain Volmat <[email protected]> |
media: stm32: csi: remove useless fwnode_graph_get_endpoint call
The endpoint is already retrieved at the beginning of the function stm32_csi_parse_dt hence keep the endpoint pointer until the end i
media: stm32: csi: remove useless fwnode_graph_get_endpoint call
The endpoint is already retrieved at the beginning of the function stm32_csi_parse_dt hence keep the endpoint pointer until the end instead of getting a new one.
Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| a3a91b6e | 13-Jan-2025 |
Alain Volmat <[email protected]> |
media: stm32: csi: use ARRAY_SIZE to search D-PHY table
Within stm32_csi_start, use ARRAY_SIZE loop in order to search for the right setting. Avoid useless init of lanes_ie / lanes_en.
Signed-off-b
media: stm32: csi: use ARRAY_SIZE to search D-PHY table
Within stm32_csi_start, use ARRAY_SIZE loop in order to search for the right setting. Avoid useless init of lanes_ie / lanes_en.
Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| c631dc74 | 13-Jan-2025 |
Alain Volmat <[email protected]> |
media: stm32: csi: register subdev only at end of probe
Call v4l2_async_register_subdev only whenever all initialization are completed at the end of the probe function. Remove as well useless err_fr
media: stm32: csi: register subdev only at end of probe
Call v4l2_async_register_subdev only whenever all initialization are completed at the end of the probe function. Remove as well useless err_free_priv label by returning directly upon error.
Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| f7cd9c94 | 13-Jan-2025 |
Alain Volmat <[email protected]> |
media: stm32: csi: add missing pm_runtime_put on error
Within the stm32_csi_start function, pm_runtime_put should be called upon error following pm_runtime_get_sync. Rework the function error handli
media: stm32: csi: add missing pm_runtime_put on error
Within the stm32_csi_start function, pm_runtime_put should be called upon error following pm_runtime_get_sync. Rework the function error handling by putting a label in order to have common error handling for all calls requiring pm_runtime_put.
Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| 686f27f7 | 12-Dec-2024 |
Alain Volmat <[email protected]> |
media: stm32: dcmipp: add core support for the stm32mp25
The stm32mp25 supports both parallel & csi inputs. An additional clock control is necessary. Skeleton of the subdev structures for the stm32m
media: stm32: dcmipp: add core support for the stm32mp25
The stm32mp25 supports both parallel & csi inputs. An additional clock control is necessary. Skeleton of the subdev structures for the stm32mp25 is added, identical for the time being to the stm32mp13 however more subdeves will be added in further commits.
Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| 58d0201e | 12-Dec-2024 |
Alain Volmat <[email protected]> |
media: stm32: dcmipp: avoid duplicated format on enum in bytecap
Avoid duplication of enumerated pixelformat on the bytecap video capture device. Indeed, since the bytecap format list contains both
media: stm32: dcmipp: avoid duplicated format on enum in bytecap
Avoid duplication of enumerated pixelformat on the bytecap video capture device. Indeed, since the bytecap format list contains both CSI & parallel 16bits formats, ensure that same pixelformat are not reported twice when performing enumeration of supported formats.
Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| 03abfb7b | 12-Dec-2024 |
Alain Volmat <[email protected]> |
media: stm32: dcmipp: add support for csi input into dcmipp-input
On stm32mp25, the dcmipp can accept data coming from a CSI bus in addition to the parallel interface. Add this support into dcmipp-
media: stm32: dcmipp: add support for csi input into dcmipp-input
On stm32mp25, the dcmipp can accept data coming from a CSI bus in addition to the parallel interface. Add this support into dcmipp-input subdev.
Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| d64685e1 | 12-Dec-2024 |
Alain Volmat <[email protected]> |
media: stm32: dcmipp: rename dcmipp_parallel into dcmipp_input
In preparation of the introduction of dcmipp csi input support, rename the dcmipp_parallel subdev into a generic dcmipp_input which wil
media: stm32: dcmipp: rename dcmipp_parallel into dcmipp_input
In preparation of the introduction of dcmipp csi input support, rename the dcmipp_parallel subdev into a generic dcmipp_input which will be in charge of handling both parallel input & csi input. Only structures / variables / functions and file naming are changed without any functional modifications.
Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| b0f3cc70 | 12-Dec-2024 |
Alain Volmat <[email protected]> |
media: stm32: dcmipp: replace s_stream with enable/disable_streams
Replace s_stream ops with enable_streams and disable_streams. At the same time, use v4l2_subdev_enable_streams and v4l2_subdev_disa
media: stm32: dcmipp: replace s_stream with enable/disable_streams
Replace s_stream ops with enable_streams and disable_streams. At the same time, use v4l2_subdev_enable_streams and v4l2_subdev_disable_streams functions instead of direct s_stream calls.
Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|