diff mbox

[v1,07/12] media: rcar: vin: Add ID for parallel input on Gen3

Message ID 1497891889-8038-8-git-send-email-jacopo+renesas@jmondi.org (mailing list archive)
State Changes Requested
Delegated to: Geert Uytterhoeven
Headers show

Commit Message

Jacopo Mondi June 19, 2017, 5:04 p.m. UTC
Add an identifier for parallel input on Gen3.
Also define the maximum number of available inputs on Gen3 boards.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
---
 drivers/media/platform/rcar-vin/rcar-vin.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Niklas Söderlund June 19, 2017, 7:46 p.m. UTC | #1
Hi Jacopo,

Thanks for your patch.

On 2017-06-19 19:04:44 +0200, Jacopo Mondi wrote:
> Add an identifier for parallel input on Gen3.
> Also define the maximum number of available inputs on Gen3 boards.
> 
> Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
> ---
>  drivers/media/platform/rcar-vin/rcar-vin.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/media/platform/rcar-vin/rcar-vin.h b/drivers/media/platform/rcar-vin/rcar-vin.h
> index e7e600f..4361de9 100644
> --- a/drivers/media/platform/rcar-vin/rcar-vin.h
> +++ b/drivers/media/platform/rcar-vin/rcar-vin.h
> @@ -51,6 +51,8 @@ enum rvin_csi_id {
>  	RVIN_CSI40,
>  	RVIN_CSI41,
>  	RVIN_CSI_MAX,
> +	RVIN_PARALLEL_IN,
> +	RVIN_INPUT_MAX,

It feels a bit odd to add the parallel enum to the CSI-2 enums. If this 
is needed maybe the whole enum needs to be renamed?

>  	RVIN_NC, /* Not Connected */
>  };
>  
> -- 
> 2.7.4
>
diff mbox

Patch

diff --git a/drivers/media/platform/rcar-vin/rcar-vin.h b/drivers/media/platform/rcar-vin/rcar-vin.h
index e7e600f..4361de9 100644
--- a/drivers/media/platform/rcar-vin/rcar-vin.h
+++ b/drivers/media/platform/rcar-vin/rcar-vin.h
@@ -51,6 +51,8 @@  enum rvin_csi_id {
 	RVIN_CSI40,
 	RVIN_CSI41,
 	RVIN_CSI_MAX,
+	RVIN_PARALLEL_IN,
+	RVIN_INPUT_MAX,
 	RVIN_NC, /* Not Connected */
 };