diff mbox series

[v6,3/3] media: ipu3-cio2: Add link freq for INT33BE entry

Message ID 20211122235613.41682-4-djrscally@gmail.com (mailing list archive)
State New, archived
Headers show
Series Add support for OV5693 sensor | expand

Commit Message

Daniel Scally Nov. 22, 2021, 11:56 p.m. UTC
Add a link frequency to the cio2-bridge table of supported sensors.
This means that the driver can parse supported link frequencies from
firmware in the usual way and validate that it can accommodate them.

Signed-off-by: Daniel Scally <djrscally@gmail.com>
---
Changes since v5:

	- None

 drivers/media/pci/intel/ipu3/cio2-bridge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jean-Michel Hautbois Nov. 23, 2021, 6:28 a.m. UTC | #1
Hi Daniel,

On 23/11/2021 00:56, Daniel Scally wrote:
> Add a link frequency to the cio2-bridge table of supported sensors.
> This means that the driver can parse supported link frequencies from
> firmware in the usual way and validate that it can accommodate them.
> 
> Signed-off-by: Daniel Scally <djrscally@gmail.com>
Tested-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>

> ---
> Changes since v5:
> 
> 	- None
> 
>   drivers/media/pci/intel/ipu3/cio2-bridge.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/pci/intel/ipu3/cio2-bridge.c b/drivers/media/pci/intel/ipu3/cio2-bridge.c
> index 0b586b4e537e..b4b8930d795c 100644
> --- a/drivers/media/pci/intel/ipu3/cio2-bridge.c
> +++ b/drivers/media/pci/intel/ipu3/cio2-bridge.c
> @@ -21,7 +21,7 @@
>    */
>   static const struct cio2_sensor_config cio2_supported_sensors[] = {
>   	/* Omnivision OV5693 */
> -	CIO2_SENSOR_CONFIG("INT33BE", 0),
> +	CIO2_SENSOR_CONFIG("INT33BE", 1, 419200000),
>   	/* Omnivision OV2680 */
>   	CIO2_SENSOR_CONFIG("OVTI2680", 0),
>   };
>
diff mbox series

Patch

diff --git a/drivers/media/pci/intel/ipu3/cio2-bridge.c b/drivers/media/pci/intel/ipu3/cio2-bridge.c
index 0b586b4e537e..b4b8930d795c 100644
--- a/drivers/media/pci/intel/ipu3/cio2-bridge.c
+++ b/drivers/media/pci/intel/ipu3/cio2-bridge.c
@@ -21,7 +21,7 @@ 
  */
 static const struct cio2_sensor_config cio2_supported_sensors[] = {
 	/* Omnivision OV5693 */
-	CIO2_SENSOR_CONFIG("INT33BE", 0),
+	CIO2_SENSOR_CONFIG("INT33BE", 1, 419200000),
 	/* Omnivision OV2680 */
 	CIO2_SENSOR_CONFIG("OVTI2680", 0),
 };