From: Jacopo Mondi <jacopo+renesas@jmondi.org> To: laurent.pinchart@ideasonboard.com, magnus.damm@gmail.com, geert@glider.be, mchehab@kernel.org, hverkuil@xs4all.nl, festevam@gmail.com, sakari.ailus@iki.fi, robh+dt@kernel.org, mark.rutland@arm.com Cc: Jacopo Mondi <jacopo+renesas@jmondi.org>, linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, linux-sh@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/9] include: media: Add Renesas CEU driver interface Date: Thu, 04 Jan 2018 16:03:10 +0000 [thread overview] Message-ID: <1515081797-17174-3-git-send-email-jacopo+renesas@jmondi.org> (raw) In-Reply-To: <1515081797-17174-1-git-send-email-jacopo+renesas@jmondi.org> Add renesas-ceu header file. Do not remove the existing sh_mobile_ceu.h one as long as the original driver does not go away. Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- include/media/drv-intf/renesas-ceu.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/media/drv-intf/renesas-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..52841d1 --- /dev/null +++ b/include/media/drv-intf/renesas-ceu.h @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * renesas-ceu.h - Renesas CEU driver interface + * + * Copyright 2017-2018 Jacopo Mondi <jacopo+renesas@jmondi.org> + */ + +#ifndef __MEDIA_DRV_INTF_RENESAS_CEU_H__ +#define __MEDIA_DRV_INTF_RENESAS_CEU_H__ + +#define CEU_MAX_SUBDEVS 2 + +struct ceu_async_subdev { + unsigned long flags; + unsigned char bus_width; + unsigned char bus_shift; + unsigned int i2c_adapter_id; + unsigned int i2c_address; +}; + +struct ceu_platform_data { + unsigned int num_subdevs; + struct ceu_async_subdev subdevs[CEU_MAX_SUBDEVS]; +}; + +#endif /* ___MEDIA_DRV_INTF_RENESAS_CEU_H__ */ -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Jacopo Mondi <jacopo+renesas@jmondi.org> To: laurent.pinchart@ideasonboard.com, magnus.damm@gmail.com, geert@glider.be, mchehab@kernel.org, hverkuil@xs4all.nl, festevam@gmail.com, sakari.ailus@iki.fi, robh+dt@kernel.org, mark.rutland@arm.com Cc: Jacopo Mondi <jacopo+renesas@jmondi.org>, linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, linux-sh@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/9] include: media: Add Renesas CEU driver interface Date: Thu, 4 Jan 2018 17:03:10 +0100 [thread overview] Message-ID: <1515081797-17174-3-git-send-email-jacopo+renesas@jmondi.org> (raw) In-Reply-To: <1515081797-17174-1-git-send-email-jacopo+renesas@jmondi.org> Add renesas-ceu header file. Do not remove the existing sh_mobile_ceu.h one as long as the original driver does not go away. Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- include/media/drv-intf/renesas-ceu.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/media/drv-intf/renesas-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..52841d1 --- /dev/null +++ b/include/media/drv-intf/renesas-ceu.h @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * renesas-ceu.h - Renesas CEU driver interface + * + * Copyright 2017-2018 Jacopo Mondi <jacopo+renesas@jmondi.org> + */ + +#ifndef __MEDIA_DRV_INTF_RENESAS_CEU_H__ +#define __MEDIA_DRV_INTF_RENESAS_CEU_H__ + +#define CEU_MAX_SUBDEVS 2 + +struct ceu_async_subdev { + unsigned long flags; + unsigned char bus_width; + unsigned char bus_shift; + unsigned int i2c_adapter_id; + unsigned int i2c_address; +}; + +struct ceu_platform_data { + unsigned int num_subdevs; + struct ceu_async_subdev subdevs[CEU_MAX_SUBDEVS]; +}; + +#endif /* ___MEDIA_DRV_INTF_RENESAS_CEU_H__ */ -- 2.7.4
next prev parent reply other threads:[~2018-01-04 16:03 UTC|newest] Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-01-04 16:03 [PATCH v3 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver Jacopo Mondi 2018-01-04 16:03 ` Jacopo Mondi 2018-01-04 16:03 ` [PATCH v3 1/9] dt-bindings: media: Add Renesas CEU bindings Jacopo Mondi 2018-01-04 16:03 ` Jacopo Mondi 2018-01-04 16:03 ` Jacopo Mondi [not found] ` <1515081797-17174-2-git-send-email-jacopo+renesas-AW8dsiIh9cEdnm+yROfE0A@public.gmane.org> 2018-01-04 22:28 ` Laurent Pinchart 2018-01-04 22:28 ` Laurent Pinchart 2018-01-04 22:28 ` Laurent Pinchart 2018-01-05 8:56 ` Geert Uytterhoeven 2018-01-05 8:56 ` Geert Uytterhoeven 2018-01-05 8:56 ` Geert Uytterhoeven 2018-01-05 17:55 ` jacopo mondi 2018-01-05 17:55 ` jacopo mondi 2018-01-04 16:03 ` Jacopo Mondi [this message] 2018-01-04 16:03 ` [PATCH v3 2/9] include: media: Add Renesas CEU driver interface Jacopo Mondi 2018-01-04 16:03 ` [PATCH v3 3/9] v4l: platform: Add Renesas CEU driver Jacopo Mondi 2018-01-04 16:03 ` Jacopo Mondi 2018-01-04 20:41 ` Laurent Pinchart 2018-01-04 20:41 ` Laurent Pinchart 2018-01-04 16:03 ` [PATCH v3 4/9] ARM: dts: r7s72100: Add Capture Engine Unit (CEU) Jacopo Mondi 2018-01-04 16:03 ` Jacopo Mondi [not found] ` <1515081797-17174-5-git-send-email-jacopo+renesas-AW8dsiIh9cEdnm+yROfE0A@public.gmane.org> 2018-01-04 16:43 ` Simon Horman 2018-01-04 16:43 ` Simon Horman 2018-01-04 16:43 ` Simon Horman [not found] ` <1515081797-17174-1-git-send-email-jacopo+renesas-AW8dsiIh9cEdnm+yROfE0A@public.gmane.org> 2018-01-04 16:03 ` [PATCH v3 5/9] v4l: i2c: Copy ov772x soc_camera sensor driver Jacopo Mondi 2018-01-04 16:03 ` Jacopo Mondi 2018-01-04 16:03 ` Jacopo Mondi 2018-01-04 16:03 ` [PATCH v3 6/9] media: i2c: ov772x: Remove soc_camera dependencies Jacopo Mondi 2018-01-04 16:03 ` Jacopo Mondi 2018-01-04 22:20 ` Laurent Pinchart 2018-01-04 22:20 ` Laurent Pinchart 2018-01-04 16:03 ` [PATCH v3 7/9] v4l: i2c: Copy tw9910 soc_camera sensor driver Jacopo Mondi 2018-01-04 16:03 ` Jacopo Mondi 2018-01-04 16:03 ` [PATCH v3 8/9] media: i2c: tw9910: Remove soc_camera dependencies Jacopo Mondi 2018-01-04 16:03 ` Jacopo Mondi 2018-01-04 16:03 ` [PATCH v3 9/9] arch: sh: migor: Use new renesas-ceu camera driver Jacopo Mondi 2018-01-04 16:03 ` Jacopo Mondi 2018-01-04 20:10 ` Laurent Pinchart 2018-01-04 20:10 ` Laurent Pinchart
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=1515081797-17174-3-git-send-email-jacopo+renesas@jmondi.org \ --to=jacopo+renesas@jmondi.org \ --cc=devicetree@vger.kernel.org \ --cc=festevam@gmail.com \ --cc=geert@glider.be \ --cc=hverkuil@xs4all.nl \ --cc=laurent.pinchart@ideasonboard.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-media@vger.kernel.org \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=linux-sh@vger.kernel.org \ --cc=magnus.damm@gmail.com \ --cc=mark.rutland@arm.com \ --cc=mchehab@kernel.org \ --cc=robh+dt@kernel.org \ --cc=sakari.ailus@iki.fi \ /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: linkBe 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.