linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] media: rcar-csi2: Add support for RZ/G2E
@ 2018-12-13 20:24 Fabrizio Castro
  2018-12-17 11:55 ` Simon Horman
  2018-12-17 14:48 ` Niklas Söderlund
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrizio Castro @ 2018-12-13 20:24 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: Fabrizio Castro, Niklas Söderlund, linux-media,
	linux-renesas-soc, linux-kernel, Simon Horman,
	Geert Uytterhoeven, Chris Paterson, Biju Das

According to the RZ/G2 User's manual, RZ/G2E and R-Car E3 CSI-2
blocks are identical, therefore use R-Car E3 definitions to add
RZ/G2E support.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
 drivers/media/platform/rcar-vin/rcar-csi2.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/media/platform/rcar-vin/rcar-csi2.c b/drivers/media/platform/rcar-vin/rcar-csi2.c
index 80ad906..be7508b 100644
--- a/drivers/media/platform/rcar-vin/rcar-csi2.c
+++ b/drivers/media/platform/rcar-vin/rcar-csi2.c
@@ -979,6 +979,10 @@ static const struct rcar_csi2_info rcar_csi2_info_r8a77990 = {
 
 static const struct of_device_id rcar_csi2_of_table[] = {
 	{
+		.compatible = "renesas,r8a774c0-csi2",
+		.data = &rcar_csi2_info_r8a77990,
+	},
+	{
 		.compatible = "renesas,r8a7795-csi2",
 		.data = &rcar_csi2_info_r8a7795,
 	},
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] media: rcar-csi2: Add support for RZ/G2E
  2018-12-13 20:24 [PATCH] media: rcar-csi2: Add support for RZ/G2E Fabrizio Castro
@ 2018-12-17 11:55 ` Simon Horman
  2018-12-17 14:48 ` Niklas Söderlund
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2018-12-17 11:55 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Mauro Carvalho Chehab, Niklas Söderlund, linux-media,
	linux-renesas-soc, linux-kernel, Geert Uytterhoeven,
	Chris Paterson, Biju Das

On Thu, Dec 13, 2018 at 08:24:12PM +0000, Fabrizio Castro wrote:
> According to the RZ/G2 User's manual, RZ/G2E and R-Car E3 CSI-2
> blocks are identical, therefore use R-Car E3 definitions to add
> RZ/G2E support.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] media: rcar-csi2: Add support for RZ/G2E
  2018-12-13 20:24 [PATCH] media: rcar-csi2: Add support for RZ/G2E Fabrizio Castro
  2018-12-17 11:55 ` Simon Horman
@ 2018-12-17 14:48 ` Niklas Söderlund
  1 sibling, 0 replies; 3+ messages in thread
From: Niklas Söderlund @ 2018-12-17 14:48 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Mauro Carvalho Chehab, linux-media, linux-renesas-soc,
	linux-kernel, Simon Horman, Geert Uytterhoeven, Chris Paterson,
	Biju Das

Hi Fabrizio,

Thanks.

On 2018-12-13 20:24:12 +0000, Fabrizio Castro wrote:
> According to the RZ/G2 User's manual, RZ/G2E and R-Car E3 CSI-2
> blocks are identical, therefore use R-Car E3 definitions to add
> RZ/G2E support.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

> ---
>  drivers/media/platform/rcar-vin/rcar-csi2.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/media/platform/rcar-vin/rcar-csi2.c b/drivers/media/platform/rcar-vin/rcar-csi2.c
> index 80ad906..be7508b 100644
> --- a/drivers/media/platform/rcar-vin/rcar-csi2.c
> +++ b/drivers/media/platform/rcar-vin/rcar-csi2.c
> @@ -979,6 +979,10 @@ static const struct rcar_csi2_info rcar_csi2_info_r8a77990 = {
>  
>  static const struct of_device_id rcar_csi2_of_table[] = {
>  	{
> +		.compatible = "renesas,r8a774c0-csi2",
> +		.data = &rcar_csi2_info_r8a77990,
> +	},
> +	{
>  		.compatible = "renesas,r8a7795-csi2",
>  		.data = &rcar_csi2_info_r8a7795,
>  	},
> -- 
> 2.7.4
> 

-- 
Regards,
Niklas Söderlund

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-17 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-13 20:24 [PATCH] media: rcar-csi2: Add support for RZ/G2E Fabrizio Castro
2018-12-17 11:55 ` Simon Horman
2018-12-17 14:48 ` Niklas Söderlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).