From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Kieran Bingham <kbingham@kernel.org>
Cc: linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
geert@glider.be, kieran.bingham@ideasonboard.com,
Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Subject: Re: [PATCH] media: fdp1: Support ES2 platforms
Date: Sat, 10 Jun 2017 10:54:20 +0300 [thread overview]
Message-ID: <2460969.iCu4XJLJFm@avalon> (raw)
In-Reply-To: <1497028548-24443-1-git-send-email-kbingham@kernel.org>
Hi Kieran,
Thank you for the patch.
On Friday 09 Jun 2017 18:15:48 Kieran Bingham wrote:
> From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
>
> The new Renesas R-Car H3 ES2.0 platforms have an updated hw version
> register. Update the driver accordingly.
>
> Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
> ---
> drivers/media/platform/rcar_fdp1.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/media/platform/rcar_fdp1.c
> b/drivers/media/platform/rcar_fdp1.c index 42f25d241edd..50b59995b817
> 100644
> --- a/drivers/media/platform/rcar_fdp1.c
> +++ b/drivers/media/platform/rcar_fdp1.c
> @@ -260,6 +260,7 @@ MODULE_PARM_DESC(debug, "activate debug info");
> #define FD1_IP_INTDATA 0x0800
> #define FD1_IP_H3 0x02010101
> #define FD1_IP_M3W 0x02010202
> +#define FD1_IP_H3_ES2 0x02010203
Following our global policy of treating ES2 as the default, how about renaming
FDP1_IP_H3 to FDP1_IP_H3_ES1 and adding a new FD1_IP_H3 for ES2 ? The messages
below should be updated as well.
Apart from that the patch looks good to me, so
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> /* LUTs */
> #define FD1_LUT_DIF_ADJ 0x1000
> @@ -2365,6 +2366,9 @@ static int fdp1_probe(struct platform_device *pdev)
> case FD1_IP_M3W:
> dprintk(fdp1, "FDP1 Version R-Car M3-W\n");
> break;
> + case FD1_IP_H3_ES2:
> + dprintk(fdp1, "FDP1 Version R-Car H3-ES2\n");
> + break;
> default:
> dev_err(fdp1->dev, "FDP1 Unidentifiable (0x%08x)\n",
> hw_version);
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2017-06-10 7:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-09 17:15 [PATCH] media: fdp1: Support ES2 platforms Kieran Bingham
2017-06-10 7:54 ` Laurent Pinchart [this message]
2017-06-10 8:42 ` Kieran Bingham
2017-06-12 10:10 ` Geert Uytterhoeven
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=2460969.iCu4XJLJFm@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=geert@glider.be \
--cc=kbingham@kernel.org \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
/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