From: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
To: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org
Subject: Re: [PATCH] rcar-csi2: add R8A77980 support
Date: Mon, 6 Aug 2018 20:02:50 +0200 [thread overview]
Message-ID: <20180806180250.GD1635@bigcity.dyn.berto.se> (raw)
In-Reply-To: <f6edfd44-7b08-e467-3486-795251816187@cogentembedded.com>
Hi Sergei,,
Thanks for your patch.
On 2018-08-06 19:56:27 +0300, Sergei Shtylyov wrote:
> Add the R-Car V3H (AKA R8A77980) SoC support to the R-Car CSI2 driver.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
It looks good but before I add my tag I would like to know if you tested
this on a V3H? In the past extending the R-Car CSI-2 receiver to a new
SoC always caught some new corner case :-)
I don't have access to a V3H myself otherwise I would of course test it
myself.
>
> ---
> This patch is against the 'media_tree.git' repo's 'master' branch.
>
> Documentation/devicetree/bindings/media/renesas,rcar-csi2.txt | 1
> drivers/media/platform/rcar-vin/rcar-csi2.c | 11 ++++++++++
> 2 files changed, 12 insertions(+)
>
> Index: media_tree/Documentation/devicetree/bindings/media/renesas,rcar-csi2.txt
> ===================================================================
> --- media_tree.orig/Documentation/devicetree/bindings/media/renesas,rcar-csi2.txt
> +++ media_tree/Documentation/devicetree/bindings/media/renesas,rcar-csi2.txt
> @@ -12,6 +12,7 @@ Mandatory properties
> - "renesas,r8a7796-csi2" for the R8A7796 device.
> - "renesas,r8a77965-csi2" for the R8A77965 device.
> - "renesas,r8a77970-csi2" for the R8A77970 device.
> + - "renesas,r8a77980-csi2" for the R8A77980 device.
>
> - reg: the register base and size for the device registers
> - interrupts: the interrupt for the device
> Index: media_tree/drivers/media/platform/rcar-vin/rcar-csi2.c
> ===================================================================
> --- media_tree.orig/drivers/media/platform/rcar-vin/rcar-csi2.c
> +++ media_tree/drivers/media/platform/rcar-vin/rcar-csi2.c
> @@ -959,6 +959,13 @@ static const struct rcar_csi2_info rcar_
> .confirm_start = rcsi2_confirm_start_v3m_e3,
> };
>
> +static const struct rcar_csi2_info rcar_csi2_info_r8a77980 = {
> + .init_phtw = rcsi2_init_phtw_h3_v3h_m3n,
> + .hsfreqrange = hsfreqrange_h3_v3h_m3n,
> + .csi0clkfreqrange = 0x20,
> + .clear_ulps = true,
> +};
> +
> static const struct of_device_id rcar_csi2_of_table[] = {
> {
> .compatible = "renesas,r8a7795-csi2",
> @@ -976,6 +983,10 @@ static const struct of_device_id rcar_cs
> .compatible = "renesas,r8a77970-csi2",
> .data = &rcar_csi2_info_r8a77970,
> },
> + {
> + .compatible = "renesas,r8a77980-csi2",
> + .data = &rcar_csi2_info_r8a77980,
> + },
> { /* sentinel */ },
> };
> MODULE_DEVICE_TABLE(of, rcar_csi2_of_table);
--
Regards,
Niklas S�derlund
next prev parent reply other threads:[~2018-08-06 20:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-06 16:56 [PATCH] rcar-csi2: add R8A77980 support Sergei Shtylyov
2018-08-06 18:02 ` Niklas Söderlund [this message]
2018-08-06 18:24 ` Sergei Shtylyov
2018-09-17 11:17 ` Niklas Söderlund
2018-09-19 18:44 ` Sergei Shtylyov
2018-09-19 21:43 ` Niklas Söderlund
2018-08-20 22:24 ` Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180806180250.GD1635@bigcity.dyn.berto.se \
--to=niklas.soderlund@ragnatech.se \
--cc=devicetree@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
--cc=sergei.shtylyov@cogentembedded.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).