All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Jacopo Mondi <jacopo@jmondi.org>
Cc: magnus.damm@gmail.com, linux-renesas-soc@vger.kernel.org
Subject: Re: [RFC v4 1/8] include: media: Move and update CEU driver interface
Date: Sat, 20 May 2017 14:59:18 +0300	[thread overview]
Message-ID: <4250769.ZVgmE1TOyq@avalon> (raw)
In-Reply-To: <1495209780-27342-2-git-send-email-jacopo@jmondi.org>

Hi Jacopo,

Thank you for the patch.

On Friday 19 May 2017 18:02:53 Jacopo Mondi wrote:
> Update Renesas CEU driver interface to use driver interface

I'm not sure this matches the content of the patch.

> SQUASH

? :-)

> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
> ---
>  include/media/drv-intf/renesas_ceu.h   | 28 ++++++++++++++++++++++++++++
>  include/media/drv-intf/sh_mobile_ceu.h | 28 ----------------------------
>  2 files changed, 28 insertions(+), 28 deletions(-)
>  create mode 100644 include/media/drv-intf/renesas_ceu.h
>  delete mode 100644 include/media/drv-intf/sh_mobile_ceu.h
> 
> diff --git a/include/media/drv-intf/renesas_ceu.h
> b/include/media/drv-intf/renesas_ceu.h new file mode 100644
> index 0000000..291661d
> --- /dev/null
> +++ b/include/media/drv-intf/renesas_ceu.h
> @@ -0,0 +1,28 @@
> +#ifndef __ASM_RENESAS_CEU_H__
> +#define __ASM_RENESAS_CEU_H__
> +
> +#define CEU_FLAG_USE_8BIT_BUS   (1 << 0) /* use  8bit bus width */
> +#define CEU_FLAG_USE_16BIT_BUS  (1 << 1) /* use 16bit bus width */
> +#define CEU_FLAG_HSYNC_LOW      (1 << 2) /* default High if possible */
> +#define CEU_FLAG_VSYNC_LOW      (1 << 3)
> +#define CEU_FLAG_LOWER_8BIT     (1 << 4) /* default upper 8bit */
> +#define CEU_FLAG_PRIMARY_SENS	(1 << 5) /* sensor is primary */
> +
> +#define CEU_MAX_SENS		2
> +
> +struct device;
> +struct resource;
> +
> +struct ceu_async_subdev {
> +	unsigned long flags;
> +	unsigned int i2c_adapter_id;
> +	unsigned int i2c_address;
> +
> +};
> +
> +struct ceu_info {
> +	unsigned int num_subdevs;
> +	struct ceu_async_subdev subdevs[CEU_MAX_SENS];
> +};

You're renaming structures and macros that are in use, this will break 
compilation when bisecting.

> +#endif /* __ASM_RENESAS_CEU_H__ */
> diff --git a/include/media/drv-intf/sh_mobile_ceu.h
> b/include/media/drv-intf/sh_mobile_ceu.h deleted file mode 100644
> index 2f43f7d..0000000
> --- a/include/media/drv-intf/sh_mobile_ceu.h
> +++ /dev/null
> @@ -1,28 +0,0 @@
> -#ifndef __ASM_SH_MOBILE_CEU_H__
> -#define __ASM_SH_MOBILE_CEU_H__
> -
> -#define SH_CEU_FLAG_USE_8BIT_BUS	(1 << 0) /* use  8bit bus width */
> -#define SH_CEU_FLAG_USE_16BIT_BUS	(1 << 1) /* use 16bit bus width */
> -#define SH_CEU_FLAG_HSYNC_LOW		(1 << 2) /* default High if 
possible */
> -#define SH_CEU_FLAG_VSYNC_LOW		(1 << 3) /* default High if 
possible */
> -#define SH_CEU_FLAG_LOWER_8BIT		(1 << 4) /* default upper 8bit 
*/
> -
> -struct device;
> -struct resource;
> -
> -struct sh_mobile_ceu_companion {
> -	u32		num_resources;
> -	struct resource	*resource;
> -	int		id;
> -	void		*platform_data;
> -};
> -
> -struct sh_mobile_ceu_info {
> -	unsigned long flags;
> -	int max_width;
> -	int max_height;
> -	struct v4l2_async_subdev **asd;	/* Flat array, arranged in groups */
> -	unsigned int *asd_sizes;	/* 0-terminated array pf asd group 
sizes */
> -};
> -
> -#endif /* __ASM_SH_MOBILE_CEU_H__ */

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2017-05-20 11:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-19 16:02 [RFC v4 0/8] Renesas CEU driver Jacopo Mondi
2017-05-19 16:02 ` [RFC v4 1/8] include: media: Move and update CEU driver interface Jacopo Mondi
2017-05-20 11:59   ` Laurent Pinchart [this message]
2017-05-19 16:02 ` [RFC v4 2/8] media: platform: soc-camera: Remove SH CEU driver Jacopo Mondi
2017-05-19 16:02 ` [RFC v4 3/8] media: platform: Add Renesas " Jacopo Mondi
2017-05-19 16:02 ` [RFC v4 4/8] media: platform: ceu: Support for multiple subdevs Jacopo Mondi
2017-05-19 16:02 ` [RFC v4 5/8] media: i2c: ov772x: Force use of SCCB protocol Jacopo Mondi
2017-05-19 16:02 ` [RFC v4 6/8] media: i2c: ov772x: Remove soc_camera dependencies Jacopo Mondi
2017-05-19 16:02 ` [RFC v4 7/8] media: i2c: tw9910: " Jacopo Mondi
2017-05-19 16:03 ` [RFC v4 8/8] arch: sh: migor: Use new CEU camera driver Jacopo Mondi

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=4250769.ZVgmE1TOyq@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=jacopo@jmondi.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.